| [ |
| { |
| "cmd": [], |
| "name": "ensure bsdtar" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "fuchsia/tools/bsdtar/mac-amd64 latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure bsdtar.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@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/bsdtar/mac-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure_gsutil" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/gsutil", |
| "-ensure-file", |
| "infra/tools/gsutil latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_gsutil.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@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/gsutil\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "https://github.com/rust-lang/rust", |
| "refs/heads/master" |
| ], |
| "name": "git ls-remote", |
| "stdout": "/path/to/tmp/" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| "--url", |
| "https://s3.amazonaws.com/rust-lang-ci/rustc-builds-alt/75b05681239cb309a23fcb4f8864f177e5aa62da/rust-nightly-x86_64-apple-darwin.tar.gz", |
| "--status-json", |
| "/path/to/tmp/json", |
| "--outfile", |
| "[TMP_BASE]/rust_tmp_1/rust-nightly-x86_64-apple-darwin.tar.gz" |
| ], |
| "name": "GET https://s3.amazonaws.com/rust-lang-ci/rustc-builds-alt/75b05681239cb309a23fcb4f8864f177e5aa62da/rust-nightly-x86_64-apple-darwin.tar.gz" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/bsdtar", |
| "-xf", |
| "[TMP_BASE]/rust_tmp_1/rust-nightly-x86_64-apple-darwin.tar.gz", |
| "-C", |
| "[TMP_BASE]/rust_tmp_1" |
| ], |
| "name": "extract rust" |
| }, |
| { |
| "cmd": [ |
| "[TMP_BASE]/rust_tmp_1/rust-nightly-x86_64-apple-darwin/install.sh", |
| "--prefix=[TMP_BASE]/rust_tmp_1/rust-x86_64-apple-darwin" |
| ], |
| "name": "install rust" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| "--url", |
| "https://s3.amazonaws.com/rust-lang-ci/rustc-builds/75b05681239cb309a23fcb4f8864f177e5aa62da/rust-std-nightly-x86_64-unknown-fuchsia.tar.gz", |
| "--status-json", |
| "/path/to/tmp/json", |
| "--outfile", |
| "[TMP_BASE]/rust_tmp_1/rust-nightly-x86_64-apple-darwin.tar.gz" |
| ], |
| "name": "GET https://s3.amazonaws.com/rust-lang-ci/rustc-builds/75b05681239cb309a23fcb4f8864f177e5aa62da/rust-std-nightly-x86_64-unknown-fuchsia.tar.gz" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/bsdtar", |
| "-xf", |
| "[TMP_BASE]/rust_tmp_1/rust-nightly-x86_64-apple-darwin.tar.gz", |
| "-C", |
| "[TMP_BASE]/rust_tmp_1" |
| ], |
| "name": "extract x86_64-unknown-fuchsia rust-std" |
| }, |
| { |
| "cmd": [ |
| "[TMP_BASE]/rust_tmp_1/rust-std-nightly-x86_64-unknown-fuchsia/install.sh", |
| "--prefix=[TMP_BASE]/rust_tmp_1/rust-x86_64-apple-darwin" |
| ], |
| "name": "install x86_64-unknown-fuchsia rust-std" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| "--url", |
| "https://s3.amazonaws.com/rust-lang-ci/rustc-builds/75b05681239cb309a23fcb4f8864f177e5aa62da/rust-std-nightly-aarch64-unknown-fuchsia.tar.gz", |
| "--status-json", |
| "/path/to/tmp/json", |
| "--outfile", |
| "[TMP_BASE]/rust_tmp_1/rust-nightly-x86_64-apple-darwin.tar.gz" |
| ], |
| "name": "GET https://s3.amazonaws.com/rust-lang-ci/rustc-builds/75b05681239cb309a23fcb4f8864f177e5aa62da/rust-std-nightly-aarch64-unknown-fuchsia.tar.gz" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/bsdtar", |
| "-xf", |
| "[TMP_BASE]/rust_tmp_1/rust-nightly-x86_64-apple-darwin.tar.gz", |
| "-C", |
| "[TMP_BASE]/rust_tmp_1" |
| ], |
| "name": "extract aarch64-unknown-fuchsia rust-std" |
| }, |
| { |
| "cmd": [ |
| "[TMP_BASE]/rust_tmp_1/rust-std-nightly-aarch64-unknown-fuchsia/install.sh", |
| "--prefix=[TMP_BASE]/rust_tmp_1/rust-x86_64-apple-darwin" |
| ], |
| "name": "install aarch64-unknown-fuchsia rust-std" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmglob", |
| "[TMP_BASE]/rust_tmp_1/rust-x86_64-apple-darwin", |
| "manifest-*" |
| ], |
| "infra_step": true, |
| "name": "remove manifests" |
| }, |
| { |
| "cmd": [ |
| "[TMP_BASE]/rust_tmp_1/rust-x86_64-apple-darwin/bin/rustc", |
| "--version" |
| ], |
| "name": "rust version", |
| "stdout": "/path/to/tmp/" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/rust/mac-amd64", |
| "-tag", |
| "git_revision:75b05681239cb309a23fcb4f8864f177e5aa62da", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-service-account-json", |
| "/creds/service_accounts/service-account-cipd-builder.json" |
| ], |
| "name": "cipd search fuchsia/rust/mac-amd64 git_revision:75b05681239cb309a23fcb4f8864f177e5aa62da", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/rust/mac-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |