| [ |
| { |
| "cmd": [], |
| "name": "install infra/tools/luci/gitiles" |
| }, |
| { |
| "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" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gitiles.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "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" |
| ], |
| "infra_step": true, |
| "name": "install infra/tools/luci/gitiles.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\": \"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", |
| "refs", |
| "-json-output", |
| "/path/to/tmp/json", |
| "https://fuchsia.googlesource.com/fuchsia", |
| "refs/heads" |
| ], |
| "infra_step": true, |
| "name": "refs", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"refs/heads/master\": \"deadbeef\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install fuchsia/infra/build_init" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/infra/build_init/git_revision%3Abd277978791e1e35bf76e0df57f6aef14aef0757" |
| ], |
| "infra_step": true, |
| "name": "install fuchsia/infra/build_init.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/infra/build_init/git_revision%3Abd277978791e1e35bf76e0df57f6aef14aef0757", |
| "-ensure-file", |
| "fuchsia/infra/build_init/${platform} git_revision:bd277978791e1e35bf76e0df57f6aef14aef0757", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install fuchsia/infra/build_init.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-git_revision:bd2\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/infra/build_init/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/infra/build_init/git_revision%3Abd277978791e1e35bf76e0df57f6aef14aef0757/build_init", |
| "-spec_remote", |
| "https://fuchsia.googlesource.com/fuchsia", |
| "-spec_path", |
| "specs/project/specs/ci/builder.textproto", |
| "-spec_ref", |
| "deadbeef" |
| ], |
| "cwd": "[CLEANUP]/build_init_workspace_tmp_1", |
| "infra_step": true, |
| "name": "build_init", |
| "stdin": "CNDsgNmu8bWSfBIWCgdwcm9qZWN0EgJjaRoHYnVpbGRlciIvdXNlcjpsdWNpLXNjaGVkdWxlckBhcHBzcG90LmdzZXJ2aWNlYWNjb3VudC5jb20yBgi5wqLYBXpDEkEKGGZ1Y2hzaWEuZ29vZ2xlc291cmNlLmNvbRIHcHJvamVjdBoJZGVhZGJlZWYxIhFyZWZzL2hlYWRzL21hc3RlcpIBLRICIB4qJxIlaW52b2NhdGlvbnMvYnVpbGQ6ODk0NTUxMTc1MTUxNDg2MzE4NA==", |
| "timeout": 600 |
| }, |
| { |
| "name": "$result" |
| } |
| ] |