| [ |
| { |
| "cmd": [ |
| "docker", |
| "pull", |
| "mcr.microsoft.com/windows/nanoserver:1809" |
| ], |
| "name": "pull public windows image" |
| }, |
| { |
| "cmd": [ |
| "docker", |
| "tag", |
| "mcr.microsoft.com/windows/nanoserver:1809", |
| "gcr.io/goma-fuchsia/fuchsia_win/remoteexec-platform" |
| ], |
| "name": "tag windows base image" |
| }, |
| { |
| "cmd": [ |
| "docker", |
| "push", |
| "gcr.io/goma-fuchsia/fuchsia_win/remoteexec-platform" |
| ], |
| "name": "push windows base image" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CLEANUP]/seq" |
| ], |
| "infra_step": true, |
| "name": "remove toolchain config timestamp file" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "20120514_125321", |
| "[CLEANUP]/seq" |
| ], |
| "infra_step": true, |
| "name": "write toolchain config timestamp file", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@seq@20120514_125321@@@", |
| "@@@STEP_LOG_END@seq@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install infra/gsutil" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/gsutil/version%3A4.41" |
| ], |
| "infra_step": true, |
| "name": "install infra/gsutil.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/gsutil/version%3A4.41", |
| "-ensure-file", |
| "infra/gsutil version:4.41", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install infra/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@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:4.41----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gsutil\"@@@", |
| "@@@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", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/gsutil/version%3A4.41/gsutil", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "-m", |
| "cp", |
| "[CLEANUP]/seq", |
| "gs://goma-fuchsia-toolchain-config/fuchsia_win/seq" |
| ], |
| "infra_step": true, |
| "name": "gsutil cp", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/goma-fuchsia-toolchain-config/fuchsia_win/seq@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |