blob: fbc8ec0a64fbcb3335ea46184190345ebfb3da22 [file] [log] [blame]
[
{
"cmd": [],
"name": "owners",
"~followup_annotations": [
"@@@STEP_SUMMARY_TEXT@nobody@google.com, noreply@google.com@@@"
]
},
{
"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=8",
"-analytics-opt=false",
"-rewrite-sso-to-https=true",
"-cache",
"[CACHE]/git"
],
"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=8",
"-name",
"integration",
"minimal",
"https://fuchsia.googlesource.com/integration"
],
"infra_step": true,
"name": "checkout.jiri import",
"~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=8",
"-autoupdate=false",
"-attempts=1",
"-run-hooks=false",
"-fetch-packages=false"
],
"infra_step": true,
"name": "checkout.jiri update",
"~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",
"project",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json",
"integration",
"fuchsia"
],
"infra_step": true,
"name": "jiri project",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"integration\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/integration\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/integration\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"[START_DIR]/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"https://fuchsia.googlesource.com/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"123abc\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "edit manifest"
},
{
"cmd": [],
"name": "edit manifest.resolve new revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@greatest semantic version@v2.10.1@@@",
"@@@STEP_LOG_END@greatest semantic version@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"https://fuchsia.googlesource.com/fuchsia",
"--tags",
"refs/tags/v*"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "edit manifest.resolve new revision.ls-remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "edit manifest.install infra/tools/luci/gitiles",
"~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/infra/tools/luci/gitiles/latest"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "edit manifest.install infra/tools/luci/gitiles.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/cipd/infra/tools/luci/gitiles/latest",
"-ensure-file",
"infra/tools/luci/gitiles/${platform} latest",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "edit manifest.install infra/tools/luci/gitiles.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-latest----------\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/gitiles/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/gitiles/latest/gitiles",
"log",
"-json-output",
"/path/to/tmp/json",
"https://fuchsia.googlesource.com/fuchsia",
"123abc..123abd"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "edit manifest.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_0.email.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_0.email.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"3e30158f2a7caccb7a9f6632a60011e7a44e1e5c\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 0\\nChange-Id: IfakeAhash0\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"83a7614b3b60951511be50db1b9561daff4bb447\"@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"tree\": \"1b6412b24ec3add84836c8fdd1af5ac8e35b61d9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"new_id\": \"8bea05ad53680fce6937543f0d98cd48e295b8ff\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
"@@@STEP_LOG_LINE@json.output@ \"new_path\": \"a.py\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
"@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"author\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_1.email.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_A@fake_1.email.com\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake A\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@",
"@@@STEP_LOG_LINE@json.output@ }, @@@",
"@@@STEP_LOG_LINE@json.output@ \"id\": \"3380b83c11e029b7291c83c44e7b1ce09d465fd1\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"message\": \"fake A msg 1\\nChange-Id: IfakeAhash1\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"8675a52c73c701cb0b2c48f5ed4a9058c624e6cd\"@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"tree\": \"a1b1e6aa501915989b45a95e1224ec2a88655eb3\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"new_id\": \"06bc4c79002f278528aaddae4e056a11f58c19ad\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@",
"@@@STEP_LOG_LINE@json.output@ \"new_path\": \"b.py\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@",
"@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@",
"@@@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",
"edit",
"-vv",
"-time",
"-j=8",
"-json-output",
"/path/to/tmp/json",
"-project",
"fuchsia=123abd",
"stem"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "edit manifest.jiri edit",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"imports\": [], @@@",
"@@@STEP_LOG_LINE@json.output@ \"packages\": [], @@@",
"@@@STEP_LOG_LINE@json.output@ \"projects\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"new_revision\": \"123abd\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"old_revision\": \"[OLD_REVISION]\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"path\": \"/path/to/fuchsia\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"remote\": \"http://example.com\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"git",
"ls-files",
"--modified",
"--deleted",
"--exclude-standard"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "check for no-op commit",
"~followup_annotations": [
"@@@STEP_LOG_LINE@stdout@hello@@@",
"@@@STEP_LOG_END@stdout@@@"
]
},
{
"cmd": [
"git",
"add",
"--update"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "git add"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "git rev-parse"
},
{
"cmd": [],
"name": "calculate Change-Id",
"~followup_annotations": [
"@@@STEP_TEXT@Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad@@@"
]
},
{
"cmd": [
"git",
"diff",
"--unified=0",
"--cached"
],
"cwd": "[START_DIR]/integration",
"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############"
],
"cwd": "[START_DIR]/integration",
"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"
],
"cwd": "[START_DIR]/integration",
"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"
],
"cwd": "[START_DIR]/integration",
"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:integration~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\"}}",
"-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/integration",
"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:integration~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\"@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@"
]
},
{
"cmd": [
"git",
"commit",
"-m",
"[roll] Roll fuchsia 123abc..123abd (2 commits)\n\n3e30158 fake A msg 0\n3380b83 fake A msg 1\n\nRoller-URL: https://ci.chromium.org/b/0\nCq-Cl-Tag: roller-builder:\nCq-Cl-Tag: roller-bid:0\nCQ-Do-Not-Cancel-Tryjobs: true\nChange-Id: Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad",
"-a"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "git commit"
},
{
"cmd": [
"git",
"push",
"--push-option",
"nokeycheck",
"origin",
"HEAD:refs/for/main%l=Commit-Queue+2,l=Code-Review+2"
],
"cwd": "[START_DIR]/integration",
"infra_step": true,
"name": "git push",
"timeout": 180,
"~followup_annotations": [
"@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/integration~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad@@@"
]
},
{
"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\": \"integration~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\", \"params\": {\"o\": [\"CURRENT_REVISION\"]}}",
"-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "check for completion.check if done (0)",
"timeout": 30,
"~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\": \"integration~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad\", @@@",
"@@@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@@@",
"@@@STEP_LINK@gerrit link@https://fuchsia-review.googlesource.com/q/integration~main~Ib92a62842ab6b0cc6777dcd33fb1c8532c7396ad@@@"
]
},
{
"cmd": [
"git",
"push",
"origin",
"123abd:main"
],
"cwd": "[START_DIR]/fuchsia",
"infra_step": true,
"name": "fast forward main"
},
{
"name": "$result"
}
]