blob: 3d603a65ed7ac173c5f476c7a44935649dd183bc [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout pigweed",
"~followup_annotations": [
"@@@STEP_LINK@applied pigweed:1234 (.)@https://pigweed-review.googlesource.com/c/1234@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.options",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@remote: \"https://pigweed.googlesource.com/pigweed/pigweed\"\nbranch: \"main\"\nuse_trigger: true\n@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.options with defaults",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@remote: \"https://pigweed.googlesource.com/pigweed/pigweed\"\nbranch: \"main\"\nmanifest_file: \"default.xml\"\nrepo_init_timeout_sec: 20\nrepo_sync_timeout_sec: 120\nnumber_of_attempts: 3\nsubmodule_timeout_sec: 600\nuse_trigger: true\n@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://pigweed.googlesource.com/pigweed/pigweed",
"main"
],
"name": "checkout pigweed.change data.git ls-remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@",
"@@@STEP_LOG_END@stdout@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.ensure infra/tools/luci/gerrit/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.ensure infra/tools/luci/gerrit/${platform}.get packages",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[fuchsia::gerrit]/resources/cipd.ensure",
"/path/to/tmp/"
],
"infra_step": true,
"name": "checkout pigweed.change data.ensure infra/tools/luci/gerrit/${platform}.get packages.read ensure file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci/gerrit/${platform} version:pinned-version@@@",
"@@@STEP_LOG_END@cipd.ensure@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
],
"infra_step": true,
"name": "checkout pigweed.change data.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
"-ensure-file",
"infra/tools/luci/gerrit/${platform} version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "checkout pigweed.change data.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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-version:pinned-v\",@@@",
"@@@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": [
"[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit",
"change-query",
"-host",
"https://pigweed-review.googlesource.com",
"-input",
"{\"params\": {\"q\": \"commit:h3ll0\"}}",
"-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "checkout pigweed.change data.number",
"timeout": 30,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": \"1234\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"project\": \"pigweed\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"params\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"q\": \"commit:h3ll0\"@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.changes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.change data.changes.pigweed:1234",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_SUMMARY_TEXT@Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/pigweed', ref='h3ll0', rebase=False, project=None, branch='main', gerrit_name='pigweed', submitted=True, patchset=None, path=None, base=None, base_type=None, is_merge=False, commit_message='', topic=None, current_revision=None)@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.not matching branch names",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@miss@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git"
],
"infra_step": true,
"name": "checkout pigweed.cache.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-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 pigweed.cache.write git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed"
],
"infra_step": true,
"name": "checkout pigweed.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"name": "checkout pigweed.cache.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://pigweed.googlesource.com/pigweed/pigweed"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"name": "checkout pigweed.cache.remote set-url",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"name": "checkout pigweed.cache.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.cache.timeout 10s",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"--jobs",
"4",
"origin",
"--no-recurse-submodules"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"name": "checkout pigweed.cache.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"merge",
"FETCH_HEAD"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"name": "checkout pigweed.cache.git merge",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.cache.timeout 10s (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--recursive",
"--force",
"--jobs",
"4"
],
"cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"infra_step": true,
"name": "checkout pigweed.cache.git submodule update",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-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 pigweed.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copytree",
"--symlinks",
"[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed",
"[START_DIR]/project"
],
"infra_step": true,
"name": "checkout pigweed.copy from cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.git checkout.timeout 10s",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/project"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000019.0
}
},
"name": "checkout pigweed.git checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.git init",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://pigweed.googlesource.com/pigweed/pigweed"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"core.longpaths",
"true"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.set core.longpaths",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.set fetch.uriprotocols",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"--jobs",
"4",
"origin",
"main"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.git checkout.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.apply pigweed:1234",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gerrit@https://pigweed-review.googlesource.com/c/1234@@@",
"@@@STEP_LINK@gitiles@https://pigweed.googlesource.com/pigweed/pigweed/+/h3ll0@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.apply pigweed:1234.timeout 10s",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--jobs",
"4",
"https://pigweed.googlesource.com/pigweed/pigweed",
"h3ll0",
"--no-recurse-submodules"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.apply pigweed:1234.git fetch patch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"--force",
"-b",
"working",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.apply pigweed:1234.git checkout patch",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"https___pigweed_googlesource_com_pigweed_pigweed",
"https://pigweed.googlesource.com/pigweed/pigweed"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.apply pigweed:1234.git remote add",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.apply pigweed:1234.timeout 10s (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--jobs",
"4",
"https___pigweed_googlesource_com_pigweed_pigweed",
"refs/heads/main"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.apply pigweed:1234.git fetch branch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"branch",
"--set-upstream-to=https___pigweed_googlesource_com_pigweed_pigweed/main"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.apply pigweed:1234.git set upstream",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.apply pigweed:1234.git rev-parse",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"log",
"--oneline",
"-n",
"10"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.apply pigweed:1234.post-rebase log",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.apply pigweed:1234.timeout 10s (3)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"--detach"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.apply pigweed:1234.detach",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive",
"--jobs",
"4"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.apply pigweed:1234.git submodule update",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.apply pigweed:1234.reattach",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"python3",
"RECIPE_MODULE[pigweed::checkout]/resources/submodule_status.py",
"[START_DIR]/project",
"/path/to/tmp/json",
"--recursive"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.submodule status",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.matching pigweed:1234",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@no matching submodules@@@",
"@@@STEP_LINK@gerrit@https://pigweed-review.googlesource.com/c/1234@@@",
"@@@STEP_LINK@gitiles@https://pigweed.googlesource.com/pigweed/pigweed/+/h3ll0@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[{\"applied\": true, \"base\": \"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\", \"base_type\": \"submitted_commit_hash\", \"branch\": \"main\", \"commit_message\": \"\", \"current_revision\": null, \"gerrit_name\": \"pigweed\", \"is_merge\": false, \"number\": 1234, \"patchset\": null, \"path\": \".\", \"project\": null, \"rebase\": false, \"ref\": \"h3ll0\", \"remote\": \"https://pigweed.googlesource.com/pigweed/pigweed\", \"submitted\": true, \"topic\": null}]",
"[CLEANUP]/tmp_tmp_1"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "checkout pigweed.write changes.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@tmp_tmp_1@[{\"applied\": true, \"base\": \"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\", \"base_type\": \"submitted_commit_hash\", \"branch\": \"main\", \"commit_message\": \"\", \"current_revision\": null, \"gerrit_name\": \"pigweed\", \"is_merge\": false, \"number\": 1234, \"patchset\": null, \"path\": \".\", \"project\": null, \"rebase\": false, \"ref\": \"h3ll0\", \"remote\": \"https://pigweed.googlesource.com/pigweed/pigweed\", \"submitted\": true, \"topic\": null}]@@@",
"@@@STEP_LOG_END@tmp_tmp_1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"log",
"--oneline",
"-n",
"10"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.git log.[START_DIR]/project",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.base",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision_type@\"submitted_commit_hash\"@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-f",
"-d"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"status"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.git status",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout pigweed.status",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@applied [Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/pigweed', ref='h3ll0', rebase=False, project=None, branch='main', gerrit_name='pigweed', submitted=True, patchset=None, path='.', base='HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_', base_type='submitted_commit_hash', is_merge=False, commit_message='', topic=None, current_revision=None)]\nnot applied []@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/snapshot"
],
"infra_step": true,
"name": "checkout pigweed.mkdir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"status",
"--recursive"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.submodule-status",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"submodule status filler text",
"[START_DIR]/snapshot/submodules.log"
],
"infra_step": true,
"name": "checkout pigweed.write submodule snapshot",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@submodules.log@submodule status filler text@@@",
"@@@STEP_LOG_END@submodules.log@@@"
]
},
{
"cmd": [
"git",
"log",
"--oneline",
"-n",
"10"
],
"cwd": "[START_DIR]/project",
"name": "checkout pigweed.log",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[START_DIR]/snapshot/git.log"
],
"infra_step": true,
"name": "checkout pigweed.write git log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@git.log@@@"
]
},
{
"cmd": [
"git",
"log",
"--max-count=1",
"--pretty=format:%H"
],
"cwd": "[START_DIR]/project",
"name": "get new revision",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_SUMMARY_TEXT@2222222222222222222222222222222222222222@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/checkout/WORKSPACE",
"/path/to/tmp/"
],
"infra_step": true,
"name": "read old WORKSPACE",
"~followup_annotations": [
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: roll@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: comment@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_END@WORKSPACE@@@"
]
},
{
"cmd": [],
"name": "found other remote 'https://pigweed.googlesource.com/other/repo.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@2 @@@",
"@@@STEP_LOG_LINE@lines@3 @@@",
"@@@STEP_LOG_LINE@lines@4 @@@",
"@@@STEP_LOG_LINE@lines@5 @@@",
"@@@STEP_LOG_LINE@lines@6 @@@",
"@@@STEP_LOG_LINE@lines@7 @@@",
"@@@STEP_LOG_LINE@lines@8 @@@",
"@@@STEP_LOG_LINE@lines@9 @@@",
"@@@STEP_LOG_LINE@lines@10 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@11 name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@lines@12 remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@lines@14 )@@@",
"@@@STEP_LOG_LINE@lines@15 @@@",
"@@@STEP_LOG_LINE@lines@16 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "found equivalent remote 'https://pigweed.googlesource.com/pigweed/pigweed.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@lines@14 )@@@",
"@@@STEP_LOG_LINE@lines@15 @@@",
"@@@STEP_LOG_LINE@lines@16 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@lines@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@lines@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@lines@26 )@@@",
"@@@STEP_LOG_LINE@lines@27 @@@",
"@@@STEP_LOG_LINE@lines@28 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@lines@32 )@@@",
"@@@STEP_LOG_LINE@lines@33 @@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "found other remote 'https://pigweed.googlesource.com/third/repo.git'",
"~followup_annotations": [
"@@@STEP_LOG_LINE@lines@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@lines@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@lines@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@lines@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@lines@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@lines@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@lines@26 )@@@",
"@@@STEP_LOG_LINE@lines@27 @@@",
"@@@STEP_LOG_LINE@lines@28 git_repository(@@@",
"@@@STEP_LOG_LINE@lines@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@lines@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@lines@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@lines@32 )@@@",
"@@@STEP_LOG_LINE@lines@33 @@@",
"@@@STEP_LOG_LINE@lines@34 @@@",
"@@@STEP_LOG_LINE@lines@35 @@@",
"@@@STEP_LOG_LINE@lines@36 @@@",
"@@@STEP_LOG_LINE@lines@37 @@@",
"@@@STEP_LOG_LINE@lines@38 @@@",
"@@@STEP_LOG_LINE@lines@39 @@@",
"@@@STEP_LOG_LINE@lines@40 @@@",
"@@@STEP_LOG_END@lines@@@"
]
},
{
"cmd": [],
"name": "lines",
"~followup_annotations": [
"@@@STEP_LOG_LINE@0_center@23@@@",
"@@@STEP_LOG_END@0_center@@@",
"@@@STEP_LOG_LINE@1_orig@13 commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@1_orig@14 )@@@",
"@@@STEP_LOG_LINE@1_orig@15 @@@",
"@@@STEP_LOG_LINE@1_orig@16 git_repository(@@@",
"@@@STEP_LOG_LINE@1_orig@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@1_orig@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@1_orig@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@1_orig@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@1_orig@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@1_orig@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@1_orig@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@1_orig@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@1_orig@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@1_orig@26 )@@@",
"@@@STEP_LOG_LINE@1_orig@27 @@@",
"@@@STEP_LOG_LINE@1_orig@28 git_repository(@@@",
"@@@STEP_LOG_LINE@1_orig@29 name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@1_orig@30 remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@1_orig@31 commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@1_orig@32 )@@@",
"@@@STEP_LOG_LINE@1_orig@33 @@@",
"@@@STEP_LOG_END@1_orig@@@",
"@@@STEP_LOG_LINE@2_trimmed@15 @@@",
"@@@STEP_LOG_LINE@2_trimmed@16 git_repository(@@@",
"@@@STEP_LOG_LINE@2_trimmed@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@2_trimmed@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@2_trimmed@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@2_trimmed@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@2_trimmed@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@2_trimmed@26 )@@@",
"@@@STEP_LOG_END@2_trimmed@@@",
"@@@STEP_LOG_LINE@3_sorted@23 remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@3_sorted@22 commit = \"1111111111111111111111111111111111111111\",@@@",
"@@@STEP_LOG_LINE@3_sorted@24 git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@3_sorted@21 # ROLL: lines!@@@",
"@@@STEP_LOG_LINE@3_sorted@25 strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@3_sorted@20 # ROLL: comment@@@",
"@@@STEP_LOG_LINE@3_sorted@26 )@@@",
"@@@STEP_LOG_LINE@3_sorted@19 # ROLL: roll@@@",
"@@@STEP_LOG_LINE@3_sorted@18 # ROLL: Multiple@@@",
"@@@STEP_LOG_LINE@3_sorted@17 module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@3_sorted@16 git_repository(@@@",
"@@@STEP_LOG_LINE@3_sorted@15 @@@",
"@@@STEP_LOG_END@3_sorted@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"git_repository(\n name = \"other-repo\"\n remote = \"https://pigweed.googlesource.com/other/repo.git\",\n commit = \"invalid commit line won't be found\",\n)\n\ngit_repository(\n module_name = \"pigweed\",\n # ROLL: Warning: this entry is automatically updated.\n # ROLL: Last updated 2012-05-14.\n # ROLL: By https://cr-buildbucket.appspot.com/build/0.\n commit = \"2222222222222222222222222222222222222222\",\n remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",\n git_repository_attribute_test = \"ignored\",\n strip_prefix = \"pw_toolchain_bazel\",\n)\n\ngit_repository(\n name = \"missing final quote/comma so will miss this line\n remote = \"https://pigweed.googlesource.com/third/repo.git\",\n commit = \"2222222222222222222222222222222222222222\",\n)\n",
"[START_DIR]/checkout/WORKSPACE"
],
"infra_step": true,
"name": "write new WORKSPACE",
"~followup_annotations": [
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"other-repo\"@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/other/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"invalid commit line won't be found\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ module_name = \"pigweed\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Warning: this entry is automatically updated.@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: Last updated 2012-05-14.@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ # ROLL: By https://cr-buildbucket.appspot.com/build/0.@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/pigweed/pigweed.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ git_repository_attribute_test = \"ignored\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ strip_prefix = \"pw_toolchain_bazel\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_LINE@WORKSPACE@@@@",
"@@@STEP_LOG_LINE@WORKSPACE@git_repository(@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ name = \"missing final quote/comma so will miss this line@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ remote = \"https://pigweed.googlesource.com/third/repo.git\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@ commit = \"2222222222222222222222222222222222222222\",@@@",
"@@@STEP_LOG_LINE@WORKSPACE@)@@@",
"@@@STEP_LOG_END@WORKSPACE@@@"
]
},
{
"cmd": [],
"name": "get roll direction",
"~followup_annotations": [
"@@@STEP_SUMMARY_TEXT@forward@@@"
]
},
{
"cmd": [
"git",
"merge-base",
"--is-ancestor",
"1111111111111111111111111111111111111111",
"2222222222222222222222222222222222222222"
],
"cwd": "[START_DIR]/project",
"name": "get roll direction.is forward",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"merge-base",
"--is-ancestor",
"2222222222222222222222222222222222222222",
"1111111111111111111111111111111111111111"
],
"cwd": "[START_DIR]/project",
"name": "get roll direction.is backward",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "remote"
},
{
"cmd": [
"git",
"remote"
],
"cwd": "[START_DIR]/project",
"name": "remote.name",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"get-url",
"origin"
],
"cwd": "[START_DIR]/project",
"name": "remote.url",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "pigweed"
},
{
"cmd": [
"git",
"log",
"--pretty=format:%H\n%an\n%ae\n%B",
"-z",
"1111111111111111111111111111111111111111..2222222222222222222222222222222222222222"
],
"cwd": "[START_DIR]/project",
"name": "pigweed.git log",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit",
"change-query",
"-host",
"https://pigweed-review.googlesource.com",
"-input",
"{\"params\": {\"q\": \"commit:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"}}",
"-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "pigweed.get change-id",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@[@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"_number\": 12345@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@]@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"params\": {@@@",
"@@@STEP_LOG_LINE@json.input@ \"q\": \"commit:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"@@@",
"@@@STEP_LOG_LINE@json.input@ }@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit",
"change-detail",
"-host",
"https://pigweed-review.googlesource.com",
"-input",
"{\"change_id\": \"12345\"}",
"-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/project",
"infra_step": true,
"name": "pigweed.get 12345",
"timeout": 600,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"owner\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"author@example.com\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"author\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"reviewers\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"REVIEWER\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"reviewer@example.com\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"reviewer\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"nobody@google.com\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"nobody\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"email\": \"robot@gserviceaccount.com\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"name\": \"robot\"@@@",
"@@@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@@@",
"@@@STEP_LOG_LINE@json.input@{@@@",
"@@@STEP_LOG_LINE@json.input@ \"change_id\": \"12345\"@@@",
"@@@STEP_LOG_LINE@json.input@}@@@",
"@@@STEP_LOG_END@json.input@@@",
"@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/12345@@@"
]
},
{
"name": "$result"
}
]