| [ |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.install fuchsia/tools/jiri", |
| "~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/fuchsia/tools/jiri/pinned-jiri-version" |
| ], |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/jiri.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} pinned-jiri-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/jiri.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-pinned-jiri-vers\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/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/tools/jiri/pinned-jiri-version/jiri", |
| "init", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-analytics-opt=false", |
| "-rewrite-sso-to-https=true", |
| "-cache", |
| "[CACHE]/git", |
| "[START_DIR]/checkout" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-revision", |
| "HEAD", |
| "fuchsia/flower", |
| "https://fuchsia.googlesource.com/integration" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "checkout.jiri import", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "checkout.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "update", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-autoupdate=false", |
| "-attempts=1", |
| "-run-hooks=false", |
| "-fetch-packages=false" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "checkout.jiri update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "checkout.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=16", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "infra_step": true, |
| "name": "checkout.source-info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "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", |
| "gs://tests/test_manifest.json", |
| "[CLEANUP]/workdir_tmp_1/test_manifest.json" |
| ], |
| "infra_step": true, |
| "name": "download test manifest" |
| }, |
| { |
| "cmd": [ |
| "RECIPE[fuchsia::test_owners].resources/find_owners.py", |
| "[CLEANUP]/workdir_tmp_1/test_manifest.json", |
| "[CLEANUP]/workdir_tmp_1/test_owners.json" |
| ], |
| "cwd": "[START_DIR]/checkout", |
| "name": "find owners" |
| }, |
| { |
| "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", |
| "[CLEANUP]/workdir_tmp_1/test_owners.json", |
| "gs://owners/test_owners.json" |
| ], |
| "infra_step": true, |
| "name": "upload test owners", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/owners/test_owners.json@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |