| [ |
| { |
| "cmd": [], |
| "name": "remote" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote" |
| ], |
| "cwd": "[START_DIR]/abc", |
| "name": "remote.name", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "get-url", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/abc", |
| "name": "remote.url", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "abc" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--pretty=format:%H\n%an\n%ae\n%B", |
| "-z", |
| "1111111111111111111111111111111111111111..4444444444444444444444444444444444444444" |
| ], |
| "cwd": "[START_DIR]/abc", |
| "name": "abc.git log", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "abc.ensure infra/tools/luci/gerrit/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "abc.ensure infra/tools/luci/gerrit/${platform}.get packages", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "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/" |
| ], |
| "cwd": "[START_DIR]/abc", |
| "infra_step": true, |
| "name": "abc.ensure infra/tools/luci/gerrit/${platform}.get packages.read ensure file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci/gerrit/${platform} version:pinned-version@@@", |
| "@@@STEP_LOG_END@cipd.ensure@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "abc.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit", |
| "~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]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07" |
| ], |
| "cwd": "[START_DIR]/abc", |
| "infra_step": true, |
| "name": "abc.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "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" |
| ], |
| "cwd": "[START_DIR]/abc", |
| "infra_step": true, |
| "name": "abc.ensure infra/tools/luci/gerrit/${platform}.install infra/tools/luci/gerrit.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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:4444444444444444444444444444444444444444\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/abc", |
| "infra_step": true, |
| "name": "abc.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:4444444444444444444444444444444444444444\"@@@", |
| "@@@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]/abc", |
| "infra_step": true, |
| "name": "abc.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@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "remote (2)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote" |
| ], |
| "cwd": "[START_DIR]/xyz", |
| "name": "remote (2).name", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "get-url", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/xyz", |
| "name": "remote (2).url", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "xyz" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--pretty=format:%H\n%an\n%ae\n%B", |
| "-z", |
| "9999999999999999999999999999999999999999..cccccccccccccccccccccccccccccccccccccccc" |
| ], |
| "cwd": "[START_DIR]/xyz", |
| "name": "xyz.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]/xyz", |
| "infra_step": true, |
| "name": "xyz.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]/xyz", |
| "infra_step": true, |
| "name": "xyz.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@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit", |
| "change-query", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"q\": \"commit:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/xyz", |
| "infra_step": true, |
| "name": "xyz.get change-id (2)", |
| "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:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"@@@", |
| "@@@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]/xyz", |
| "infra_step": true, |
| "name": "xyz.get 12345 (2)", |
| "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@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit", |
| "change-query", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"q\": \"commit:cccccccccccccccccccccccccccccccccccccccc\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/xyz", |
| "infra_step": true, |
| "name": "xyz.get change-id (3)", |
| "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:cccccccccccccccccccccccccccccccccccccccc\"@@@", |
| "@@@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]/xyz", |
| "infra_step": true, |
| "name": "xyz.get 12345 (3)", |
| "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@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "remote (3)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote" |
| ], |
| "cwd": "[START_DIR]/def", |
| "name": "remote (3).name", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "get-url", |
| "origin" |
| ], |
| "cwd": "[START_DIR]/def", |
| "name": "remote (3).url", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "def" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--pretty=format:%H\n%an\n%ae\n%B", |
| "-z", |
| "5555555555555555555555555555555555555555..8888888888888888888888888888888888888888" |
| ], |
| "cwd": "[START_DIR]/def", |
| "name": "def.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:6666666666666666666666666666666666666666\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/def", |
| "infra_step": true, |
| "name": "def.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:6666666666666666666666666666666666666666\"@@@", |
| "@@@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]/def", |
| "infra_step": true, |
| "name": "def.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@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gerrit/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gerrit", |
| "change-query", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"q\": \"commit:8888888888888888888888888888888888888888\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/def", |
| "infra_step": true, |
| "name": "def.get change-id (2)", |
| "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:8888888888888888888888888888888888888888\"@@@", |
| "@@@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]/def", |
| "infra_step": true, |
| "name": "def.get 12345 (2)", |
| "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@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "roll message" |
| }, |
| { |
| "cmd": [], |
| "name": "roll message.message for abc", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@template@[roll {project_name}] {sanitized_message}@@@", |
| "@@@STEP_LOG_LINE@template@@@@", |
| "@@@STEP_LOG_LINE@template@{remote}@@@", |
| "@@@STEP_LOG_LINE@template@{project_name} Rolled-Commits: {old_revision:.15}..{new_revision:.15}@@@", |
| "@@@STEP_LOG_END@template@@@", |
| "@@@STEP_LOG_LINE@kwargs@'new_revision': '4444444444444444444444444444444444444444'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'old_revision': '1111111111111111111111111111111111111111'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'original_message': 'module: Short commit summary\\n\\nLonger commit details.\\n\\nBug: 123\\nChange-Id: I4444444444444444444444444444444444444444\\nReviewed-On: https://pigweed-review.googlesource.com/c/project/+/44444'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'project_name': 'abc'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'remote': 'https://pigweed.googlesource.com/pigweed/pigweed'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'sanitized_message': 'module: Short commit summary\\n\\nLonger commit details.\\n\\nOriginal-Bug: 123\\nReviewed-On: https://pigweed-review.googlesource.com/c/project/+/44444'@@@", |
| "@@@STEP_LOG_END@kwargs@@@", |
| "@@@STEP_LOG_LINE@message@[roll abc] module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@Longer commit details.@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@Original-Bug: 123@@@", |
| "@@@STEP_LOG_LINE@message@Reviewed-On: https://pigweed-review.googlesource.com/c/project/+/44444@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@https://pigweed.googlesource.com/pigweed/pigweed@@@", |
| "@@@STEP_LOG_LINE@message@abc Rolled-Commits: 111111111111111..444444444444444@@@", |
| "@@@STEP_LOG_END@message@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "roll message.message", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@template@[{project_name}] Roll {num_commits} commits@@@", |
| "@@@STEP_LOG_LINE@template@@@@", |
| "@@@STEP_LOG_LINE@template@{one_liners}@@@", |
| "@@@STEP_LOG_LINE@template@@@@", |
| "@@@STEP_LOG_LINE@template@{remote}@@@", |
| "@@@STEP_LOG_LINE@template@{project_name} Rolled-Commits: {old_revision:.15}..{new_revision:.15}@@@", |
| "@@@STEP_LOG_END@template@@@", |
| "@@@STEP_LOG_LINE@kwargs@'new_revision': '8888888888888888888888888888888888888888'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'num_commits': 2@@@", |
| "@@@STEP_LOG_LINE@kwargs@'old_revision': '5555555555555555555555555555555555555555'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'one_liners': '666666666666666 module: Short commit summary\\n888888888888888 module: Short commit summary'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'project_name': 'def'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'remote': 'https://pigweed.googlesource.com/pigweed/pigweed'@@@", |
| "@@@STEP_LOG_END@kwargs@@@", |
| "@@@STEP_LOG_LINE@message@[def] Roll 2 commits@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@666666666666666 module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@888888888888888 module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@https://pigweed.googlesource.com/pigweed/pigweed@@@", |
| "@@@STEP_LOG_LINE@message@def Rolled-Commits: 555555555555555..888888888888888@@@", |
| "@@@STEP_LOG_END@message@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "roll message.message (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@template@[{project_name}] Roll {num_commits} commits@@@", |
| "@@@STEP_LOG_LINE@template@@@@", |
| "@@@STEP_LOG_LINE@template@{one_liners}@@@", |
| "@@@STEP_LOG_LINE@template@@@@", |
| "@@@STEP_LOG_LINE@template@{remote}@@@", |
| "@@@STEP_LOG_LINE@template@{project_name} Rolled-Commits: {old_revision:.15}..{new_revision:.15}@@@", |
| "@@@STEP_LOG_END@template@@@", |
| "@@@STEP_LOG_LINE@kwargs@'new_revision': 'cccccccccccccccccccccccccccccccccccccccc'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'num_commits': 3@@@", |
| "@@@STEP_LOG_LINE@kwargs@'old_revision': '9999999999999999999999999999999999999999'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'one_liners': 'aaaaaaaaaaaaaaa module: Short commit summary\\nbbbbbbbbbbbbbbb module: Short commit summary\\nccccccccccccccc module: Short commit summary'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'project_name': 'xyz'@@@", |
| "@@@STEP_LOG_LINE@kwargs@'remote': 'https://pigweed.googlesource.com/pigweed/pigweed'@@@", |
| "@@@STEP_LOG_END@kwargs@@@", |
| "@@@STEP_LOG_LINE@message@[xyz] Roll 3 commits@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@aaaaaaaaaaaaaaa module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@bbbbbbbbbbbbbbb module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@ccccccccccccccc module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@https://pigweed.googlesource.com/pigweed/pigweed@@@", |
| "@@@STEP_LOG_LINE@message@xyz Rolled-Commits: 999999999999999..ccccccccccccccc@@@", |
| "@@@STEP_LOG_END@message@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "message", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@message@[roll abc, def, xyz] Roll 6 commits@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@[roll abc] module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@Longer commit details.@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@Original-Bug: 123@@@", |
| "@@@STEP_LOG_LINE@message@Reviewed-On: https://pigweed-review.googlesource.com/c/project/+/44444@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@https://pigweed.googlesource.com/pigweed/pigweed@@@", |
| "@@@STEP_LOG_LINE@message@abc Rolled-Commits: 111111111111111..444444444444444@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@[def] Roll 2 commits@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@666666666666666 module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@888888888888888 module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@https://pigweed.googlesource.com/pigweed/pigweed@@@", |
| "@@@STEP_LOG_LINE@message@def Rolled-Commits: 555555555555555..888888888888888@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@[xyz] Roll 3 commits@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@aaaaaaaaaaaaaaa module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@bbbbbbbbbbbbbbb module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@ccccccccccccccc module: Short commit summary@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@https://pigweed.googlesource.com/pigweed/pigweed@@@", |
| "@@@STEP_LOG_LINE@message@xyz Rolled-Commits: 999999999999999..ccccccccccccccc@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@@@@", |
| "@@@STEP_LOG_LINE@message@--divider--@@@", |
| "@@@STEP_LOG_END@message@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |