| [ |
| { |
| "cmd": [], |
| "name": "install fuchsia/tools/gndoc" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/tools/gndoc/latest" |
| ], |
| "infra_step": true, |
| "name": "install fuchsia/tools/gndoc.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/tools/gndoc/latest", |
| "-ensure-file", |
| "fuchsia/tools/gndoc/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install fuchsia/tools/gndoc.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/gndoc/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.install fuchsia/tools/jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version" |
| ], |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/jiri.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} pinned-jiri-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/jiri.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-pinned-jiri-vers\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "init", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-analytics-opt=false", |
| "-rewrite-sso-to-https=true", |
| "-cache", |
| "[CACHE]/git", |
| "[START_DIR]" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-name", |
| "integration", |
| "-revision", |
| "HEAD", |
| "fuchsia", |
| "https://fuchsia.googlesource.com/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri import", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "override", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-revision", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789", |
| "fuchsia", |
| "https://fuchsia.googlesource.com/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri override", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "name": "checkout.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "update", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-autoupdate=false", |
| "-attempts=1", |
| "-run-hooks=false" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri update", |
| "timeout": 1800, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "name": "checkout.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "run-hooks", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-attempts=3" |
| ], |
| "env": { |
| "HOME": "[START_DIR]", |
| "INFRA_RECIPES": "1" |
| }, |
| "infra_step": true, |
| "name": "checkout.jiri run-hooks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.source-info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "snapshot", |
| "-vv", |
| "-time", |
| "-j=16", |
| "[CLEANUP]/jiri_snapshot.xml" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/jiri_snapshot.xml", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "checkout.read snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@jiri_snapshot.xml@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "arm64" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/tools/integration/bootstrap.sh", |
| "-o", |
| "[CLEANUP]/fint_tmp_1/fint" |
| ], |
| "name": "arm64.bootstrap fint", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/fint_tmp_1/fint", |
| "set", |
| "-static", |
| "[START_DIR]/specs/docs-roller-arm64.fint.textproto", |
| "-context", |
| "checkout_dir: \"[START_DIR]\"\nbuild_dir: \"[START_DIR]/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\ncache_dir: \"[CACHE]\"\n" |
| ], |
| "name": "arm64.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint set`@@@", |
| "@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/out/not-default\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@", |
| "@@@STEP_LOG_END@context.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/fint_artifacts_tmp_1/set_artifacts.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "arm64.read fint set artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@gn_trace_path: \"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json\"@@@", |
| "@@@STEP_LOG_END@set_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/tool_paths.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "arm64.read tool_paths manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@[@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ {@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"cpu\": \"x64\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"name\": \"foo\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"os\": \"linux\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"path\": \"linux_x64/foo\"@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ }@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@]@@@", |
| "@@@STEP_LOG_END@tool_paths.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/not-default/linux_x64/gn", |
| "args", |
| "[START_DIR]/out/not-default", |
| "--list", |
| "--json" |
| ], |
| "name": "arm64.gn args --list", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "x64" |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/fint_tmp_1/fint", |
| "set", |
| "-static", |
| "[START_DIR]/specs/docs-roller-x64.fint.textproto", |
| "-context", |
| "checkout_dir: \"[START_DIR]\"\nbuild_dir: \"[START_DIR]/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\ncache_dir: \"[CACHE]\"\n" |
| ], |
| "name": "x64.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint set`@@@", |
| "@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/out/not-default\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@", |
| "@@@STEP_LOG_END@context.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/fint_artifacts_tmp_1/set_artifacts.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "x64.read fint set artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@gn_trace_path: \"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json\"@@@", |
| "@@@STEP_LOG_END@set_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/out/not-default/tool_paths.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "x64.read tool_paths manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@[@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ {@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"cpu\": \"x64\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"name\": \"foo\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"os\": \"linux\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"path\": \"linux_x64/foo\"@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ }@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@]@@@", |
| "@@@STEP_LOG_END@tool_paths.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/out/not-default/linux_x64/gn", |
| "args", |
| "[START_DIR]/out/not-default", |
| "--list", |
| "--json" |
| ], |
| "name": "x64.gn args --list", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "gndoc" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "gndoc.jiri project", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/gndoc/latest/gndoc", |
| "-key", |
| "target_cpu", |
| "-out", |
| "[START_DIR]/docs/gen/build_arguments.md", |
| "-s", |
| "[]", |
| "-in", |
| "[CLEANUP]/gn-args-json_tmp_1", |
| "-in", |
| "[CLEANUP]/gn-args-json_tmp_2" |
| ], |
| "name": "gndoc.gndoc", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-files", |
| "--modified", |
| "--deleted", |
| "--exclude-standard" |
| ], |
| "name": "check for no-op commit", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@hello@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "--update" |
| ], |
| "infra_step": true, |
| "name": "git add" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "infra_step": true, |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [], |
| "name": "calculate Change-Id", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "--unified=0", |
| "--cached" |
| ], |
| "infra_step": true, |
| "name": "calculate Change-Id.git diff", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@diff --git a/foo.txt b/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@--- a/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+++ b/foo.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@ -16 +16 @@@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@- foo = 5@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+ foo = 6@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@diff --git a/bar.txt b/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@--- a/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+++ b/bar.txt@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@ -5 +5 @@@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@- bar = 0@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@+ bar = 1@@@", |
| "@@@STEP_LOG_LINE@diff (without hashes)@@@@", |
| "@@@STEP_LOG_END@diff (without hashes)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "hash-object", |
| "diff --git a/foo.txt b/foo.txt\n--- a/foo.txt\n+++ b/foo.txt\n@@ -16 +16 @@\n- foo = 5\n+ foo = 6\ndiff --git a/bar.txt b/bar.txt\n--- a/bar.txt\n+++ b/bar.txt\n@@ -5 +5 @@\n- bar = 0\n+ bar = 1\n####builder########" |
| ], |
| "infra_step": true, |
| "name": "calculate Change-Id.git hash-object", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install infra/tools/luci/gerrit" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version", |
| "-ensure-file", |
| "infra/tools/luci/gerrit/${platform} pinned-gerrit-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gerrit.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-pinned-gerrit-ve\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gerrit/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version/gerrit", |
| "change-query", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"o\": [\"CURRENT_COMMIT\", \"CURRENT_REVISION\", \"MESSAGES\"], \"q\": \"change:I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c repo:fuchsia branch:master\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check for identical roll", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@null@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"params\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"o\": [@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_COMMIT\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_REVISION\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"MESSAGES\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ ], @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"q\": \"change:I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c repo:fuchsia branch:master\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "[gndoc] Update GN build arguments documentation\n\n\nRoller-URL: https://ci.chromium.org/b/8945511751514863184\nCq-Cl-Tag: roller-builder:builder\nCq-Cl-Tag: roller-bid:8945511751514863184\nCQ-Do-Not-Cancel-Tryjobs: true\nChange-Id: I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c", |
| "-a" |
| ], |
| "infra_step": true, |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "push", |
| "--push-option", |
| "nokeycheck", |
| "origin", |
| "HEAD:refs/for/master%l=Commit-Queue+2,l=Code-Review+2" |
| ], |
| "infra_step": true, |
| "name": "git push", |
| "timeout": 180, |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check for completion" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/infra/tools/luci/gerrit/pinned-gerrit-version/gerrit", |
| "change-detail", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"fuchsia~master~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c\", \"params\": {\"o\": [\"CURRENT_REVISION\"]}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check for completion.check if done (0)", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"current_revision\": \"abc123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"labels\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"Commit-Queue\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"approved\": {}@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"MERGED\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"fuchsia~master~I28135185e8ac8c69d0b894c4be54ddbb0ea69d5c\", @@@", |
| "@@@STEP_LOG_LINE@json.input@ \"params\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"o\": [@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"CURRENT_REVISION\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ ]@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |