| [ |
| { |
| "cmd": [], |
| "name": "foo.py[FOO]" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://foo.googlesource.com/foo", |
| "main" |
| ], |
| "env": { |
| "GIT_ADVICE": "0", |
| "GIT_CONFIG_COUNT": "3", |
| "GIT_CONFIG_KEY_0": "gc.auto", |
| "GIT_CONFIG_KEY_1": "gc.autoDetach", |
| "GIT_CONFIG_KEY_2": "gc.autoPackLimit", |
| "GIT_CONFIG_VALUE_0": "0", |
| "GIT_CONFIG_VALUE_1": "0", |
| "GIT_CONFIG_VALUE_2": "0" |
| }, |
| "name": "foo.py[FOO].git ls-remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/foo.py", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "foo.py[FOO].read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@foo.py@BAR = '1111111111111111111111111111111111111111'@@@", |
| "@@@STEP_LOG_LINE@foo.py@# ROLL: Comment@@@", |
| "@@@STEP_LOG_LINE@foo.py@FOO = \"0000000000000000000000000000000000000000\"@@@", |
| "@@@STEP_LOG_LINE@foo.py@BAZ = \"2222222222222222222222222222222222222222\"@@@", |
| "@@@STEP_LOG_END@foo.py@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "foo.py[FOO].ensure infra/tools/luci/gitiles/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "foo.py[FOO].ensure infra/tools/luci/gitiles/${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::gitiles]/resources/cipd.ensure", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "foo.py[FOO].ensure infra/tools/luci/gitiles/${platform}.get packages.read ensure file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci/gitiles/${platform} version:pinned-version@@@", |
| "@@@STEP_LOG_END@cipd.ensure@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "foo.py[FOO].ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles", |
| "~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/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07" |
| ], |
| "infra_step": true, |
| "name": "foo.py[FOO].ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/infra/tools/luci/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07", |
| "-ensure-file", |
| "infra/tools/luci/gitiles/${platform} version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "foo.py[FOO].ensure infra/tools/luci/gitiles/${platform}.install infra/tools/luci/gitiles.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/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": [ |
| "[START_DIR]/cipd_tool/infra/tools/luci/gitiles/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/gitiles", |
| "log", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-limit", |
| "1000", |
| "https://foo.googlesource.com/foo", |
| "0000000000000000000000000000000000000000..h3ll0" |
| ], |
| "infra_step": true, |
| "name": "foo.py[FOO].log foo.py[FOO]", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "foo.py[FOO].detected backwards roll", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@Detected backwards roll: expected 0000000 to precede h3ll0 in git history@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "foo.py[FOO].output property", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@SET_BUILD_PROPERTY@foo.py[FOO]@{\"remote\": \"https://foo.googlesource.com/foo\", \"revision\": \"h3ll0\"}@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |