| [ |
| { |
| "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": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[infra::cipd]/resources/bootstrap.py", |
| "--platform", |
| "linux-amd64", |
| "--dest-directory", |
| "[SLAVE_BUILD]/cipd", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--version", |
| "deadbeaf" |
| ], |
| "name": "install cipd (2)", |
| "~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", |
| "[SLAVE_BUILD]/packages", |
| "--list", |
| "public/package/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "/creds/service_accounts/service-account-cipd-builder.json" |
| ], |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"instance_id\": \"7f751b2237df2fdf3c1405be00590fefffbaea2d\", @@@", |
| "@@@[email protected]@ \"package\": \"public/package/linux-amd64\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "search", |
| "public/package/linux-amd64", |
| "--tag", |
| "git_revision:40-chars-long-hash", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "/creds/service_accounts/service-account-cipd-builder.json" |
| ], |
| "name": "cipd search public/package/linux-amd64 git_revision:40-chars-long-hash", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"public/package/linux-amd64\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "describe", |
| "public/package/linux-amd64", |
| "--version", |
| "40-chars-fake-of-the-package-instance_id", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "/creds/service_accounts/service-account-cipd-builder.json" |
| ], |
| "name": "cipd describe public/package/linux-amd64", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": {@@@", |
| "@@@[email protected]@ \"pin\": {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"public/package/linux-amd64\"@@@", |
| "@@@[email protected]@ }, @@@", |
| "@@@[email protected]@ \"refs\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"modified_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"modified_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"ref\": \"latest\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ], @@@", |
| "@@@[email protected]@ \"registered_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"registered_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"tags\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"registered_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"registered_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"tag\": \"buildbot_build:some.waterfall/builder/1234\"@@@", |
| "@@@[email protected]@ }, @@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"registered_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"registered_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"tag\": \"git_repository:https://chromium.googlesource.com/some/repo\"@@@", |
| "@@@[email protected]@ }, @@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"registered_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"registered_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"tag\": \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "ensure", |
| "--root", |
| "[SLAVE_BUILD]/packages", |
| "--list", |
| "private/package/linux-amd64 latest\npublic/package/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json" |
| ], |
| "name": "ensure_installed (2)", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@[email protected]@ \"package\": \"private/package/linux-amd64\"@@@", |
| "@@@[email protected]@ }, @@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"instance_id\": \"7f751b2237df2fdf3c1405be00590fefffbaea2d\", @@@", |
| "@@@[email protected]@ \"package\": \"public/package/linux-amd64\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "search", |
| "private/package/linux-amd64", |
| "--tag", |
| "key:value", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json" |
| ], |
| "name": "cipd search private/package/linux-amd64 key:value", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"private/package/linux-amd64\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "describe", |
| "private/package/linux-amd64", |
| "--version", |
| "40-chars-fake-of-the-package-instance_id", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json" |
| ], |
| "name": "cipd describe private/package/linux-amd64", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": {@@@", |
| "@@@[email protected]@ \"pin\": {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"private/package/linux-amd64\"@@@", |
| "@@@[email protected]@ }, @@@", |
| "@@@[email protected]@ \"refs\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"modified_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"modified_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"ref\": \"latest\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ], @@@", |
| "@@@[email protected]@ \"registered_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"registered_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"tags\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"registered_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"registered_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"tag\": \"custom:tagged\"@@@", |
| "@@@[email protected]@ }, @@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"registered_by\": \"user:[email protected]\", @@@", |
| "@@@[email protected]@ \"registered_ts\": 1446574210, @@@", |
| "@@@[email protected]@ \"tag\": \"key:value\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "pkg-build", |
| "--in", |
| "fake-input-dir", |
| "--name", |
| "infra/fake-package", |
| "--out", |
| "fake-package-path", |
| "--json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "build fake-package", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"infra/fake-package\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "pkg-build", |
| "--in", |
| "fake-input-dir", |
| "--name", |
| "infra/fake-package", |
| "--out", |
| "fake-package-path", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--install-mode", |
| "copy" |
| ], |
| "name": "build fake-package (2)", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"infra/fake-package\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "pkg-register", |
| "fake-package-path", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json", |
| "--ref", |
| "fake-ref-1", |
| "--ref", |
| "fake-ref-2", |
| "--tag", |
| "fake_tag_1:fake_value_1", |
| "--tag", |
| "fake_tag_2:fake_value_2" |
| ], |
| "name": "register infra/fake-package", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"infra/fake-package\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "create", |
| "--pkg-def", |
| "[SLAVE_BUILD]/fake-package.yaml", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json", |
| "--ref", |
| "fake-ref-1", |
| "--ref", |
| "fake-ref-2", |
| "--tag", |
| "fake_tag_1:fake_value_1", |
| "--tag", |
| "fake_tag_2:fake_value_2" |
| ], |
| "name": "create fake-package.yaml", |
| "~followup_annotations": [ |
| "@@@[email protected] (invalid)@null@@@", |
| "@@@[email protected] (invalid)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "set-tag", |
| "fake-package", |
| "--version", |
| "long/weird/ref/which/doesn/not/fit/into/40chars", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json", |
| "--tag", |
| "dead:beaf", |
| "--tag", |
| "more:value" |
| ], |
| "name": "cipd set-tag fake-package", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": {@@@", |
| "@@@[email protected]@ \"package\": \"fake-package\", @@@", |
| "@@@[email protected]@ \"pin\": {@@@", |
| "@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-long/weird/ref/w\", @@@", |
| "@@@[email protected]@ \"package\": \"fake-package\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "set-ref", |
| "fake-package", |
| "--version", |
| "latest", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json", |
| "--ref", |
| "any", |
| "--ref", |
| "some" |
| ], |
| "name": "cipd set-ref fake-package", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": {@@@", |
| "@@@[email protected]@ \"package\": \"fake-package\", @@@", |
| "@@@[email protected]@ \"pin\": {@@@", |
| "@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@[email protected]@ \"package\": \"fake-package\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[SLAVE_BUILD]/cipd/cipd", |
| "search", |
| "fake-package/linux-amd64", |
| "--tag", |
| "dead:beaf", |
| "--json-output", |
| "/path/to/tmp/json", |
| "--service-account-json", |
| "fake-credentials.json" |
| ], |
| "name": "cipd search fake-package/linux-amd64 dead:beaf", |
| "~followup_annotations": [ |
| "@@@[email protected]@{@@@", |
| "@@@[email protected]@ \"result\": [@@@", |
| "@@@[email protected]@ {@@@", |
| "@@@[email protected]@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@[email protected]@ \"package\": \"fake-package/linux-amd64\"@@@", |
| "@@@[email protected]@ }@@@", |
| "@@@[email protected]@ ]@@@", |
| "@@@[email protected]@}@@@", |
| "@@@[email protected]@@@" |
| ] |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |