| [ |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "@Subdir repo\nfuchsia/third_party/repo version:1.13.2", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repo\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.13.2--\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/repo\"@@@", |
| "@@@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": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/android/src" |
| ], |
| "infra_step": true, |
| "name": "ensure source directory" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/repo/repo", |
| "init", |
| "-u", |
| "https://android.googlesource.com/platform/manifest", |
| "-b", |
| "platform-tools-29.0.4" |
| ], |
| "cwd": "[START_DIR]/android/src", |
| "name": "repo init" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/repo/repo", |
| "sync", |
| "-j8" |
| ], |
| "cwd": "[START_DIR]/android/src", |
| "name": "repo sync" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.aosp.url" |
| ], |
| "cwd": "[START_DIR]/android/src/system/core/fastboot", |
| "name": "git config" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/android/src/system/core/fastboot", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/android/src/build/soong/soong_ui.bash", |
| "--make-mode", |
| "[CLEANUP]/fastboot_tmp_1/out/host/linux-x86/bin/fastboot" |
| ], |
| "cwd": "[START_DIR]/android/src", |
| "env": { |
| "OUT_DIR": "[CLEANUP]/fastboot_tmp_1/out" |
| }, |
| "name": "build fastboot" |
| }, |
| { |
| "cmd": [], |
| "name": "isolated", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@isolated@\"[dummy hash]\"@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "isolated.ensure isolated", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/isolated_client", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} git_revision:305e79001db1846906c7136d90a863bee5bd3bfc", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "isolated.ensure isolated.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-git_revision:305\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/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]/isolated_client/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-files", |
| "[CLEANUP]/fastboot_tmp_1/out/host/linux-x86/bin:fastboot" |
| ], |
| "infra_step": true, |
| "name": "isolated.isolate", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |