| [ |
| { |
| "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", |
| "cp", |
| "-n", |
| "[CLEANUP]/file-to-upload.txt", |
| "gs://bucket/builds/8945511751514863184/dest" |
| ], |
| "infra_step": true, |
| "name": "upload dest to bucket", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@dest@https://storage.cloud.google.com/bucket/builds/8945511751514863184/dest@@@" |
| ] |
| }, |
| { |
| "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", |
| "rsync", |
| "-r", |
| "-u", |
| "[CLEANUP]/dir-to-upload", |
| "gs://bucket/builds/8945511751514863184/dest" |
| ], |
| "infra_step": true, |
| "name": "upload dest to bucket (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@dest@https://console.cloud.google.com/storage/browser/bucket/builds/8945511751514863184/dest@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "isolated", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@isolated@\"[dummy hash]\"@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "isolated.install infra/tools/luci/isolated", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "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/isolated/isolated_module_pin" |
| ], |
| "infra_step": true, |
| "name": "isolated.install infra/tools/luci/isolated.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} isolated_module_pin", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "isolated.install infra/tools/luci/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-isolated_module_\", @@@", |
| "@@@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]/cipd/infra/tools/luci/isolated/isolated_module_pin/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-files", |
| "[CLEANUP]/dir-to-upload:my_file", |
| "-dirs", |
| "[CLEANUP]/dir-to-upload:." |
| ], |
| "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@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cipd", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@git_revision@\"abc1234\"@@@", |
| "@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@SET_BUILD_PROPERTY@package@\"fuchsia/foo/resolved-platform\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"file\": \"my_file\"}, {\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/foo.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/foo/${platform}\", \"root\": \"[CLEANUP]/dir-to-upload\"}", |
| "-out", |
| "[CLEANUP]/foo.cipd", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build fuchsia/foo/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/foo/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/foo/${platform}", |
| "-tag", |
| "git_revision:abc1234", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/foo/${platform} git_revision:abc1234", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-register", |
| "[CLEANUP]/foo.cipd", |
| "-ref", |
| "latest", |
| "-tag", |
| "extra_tag:value", |
| "-tag", |
| "git_repository:tools", |
| "-tag", |
| "git_revision:abc1234", |
| "-tag", |
| "version:abc1234", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.register fuchsia/foo/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/foo/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@fuchsia/foo/resolved-platform@https://chrome-infra-packages.appspot.com/p/fuchsia/foo/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "rdb", |
| "stream", |
| "-var", |
| "board:x64.gni", |
| "-var", |
| "bucket:ci", |
| "-var", |
| "builder:builder", |
| "-var", |
| "product:core.gni", |
| "-new", |
| "-realm", |
| "project:ci", |
| "-include", |
| "--", |
| "resultdb", |
| "--output=[CLEANUP]", |
| "--summary=summary1.json", |
| "--summary=summary2.json", |
| "--tag=key1:var1", |
| "--tag=key2:var2" |
| ], |
| "name": "resultdb" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |