| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[infra::cipd]/resources/bootstrap.py", |
| "--platform", |
| "linux-amd64", |
| "--dest-directory", |
| "[SLAVE_BUILD]/cipd", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "install cipd", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "ensure", |
| "--root", |
| "[CACHE]/cipd", |
| "--list", |
| "fuchsia/tools/jiri/linux-amd64 latest", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@[email protected]@ \"package\": \"fuchsia/tools/jiri/linux-amd64\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/jiri", |
| "init", |
| "dir" |
| ], |
| "name": "init" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/jiri", |
| "import", |
| "-overwrite=true", |
| "minimal", |
| "https://fuchsia.googlesource.com" |
| ], |
| "name": "import" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/jiri", |
| "update", |
| "-autoupdate=false", |
| "-gc=true", |
| "-manifest=minimal" |
| ], |
| "name": "update" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/jiri", |
| "cl", |
| "patch", |
| "-host", |
| "https://fuchsia-review.googlesource.com", |
| "-delete=true", |
| "-force=true", |
| "refs/changes/1/2/3" |
| ], |
| "name": "patch" |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/jiri", |
| "project", |
| "clean", |
| "-branches=true" |
| ], |
| "name": "project clean" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |