| [ |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/packages", |
| "-ensure-file", |
| "public/package/${platform} 7f751b2237df2fdf3c1405be00590fefffbaea2d", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure_installed", |
| "~followup_annotations": [ |
| "@@@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\": \"7f751b2237df2fdf3c1405be00590fefffbaea2d\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"public/package/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": [ |
| "cipd", |
| "ensure-file-resolve", |
| "-ensure-file", |
| "public/package/${platform} 7f751b2237df2fdf3c1405be00590fefffbaea2d", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd ensure-file-resolve", |
| "~followup_annotations": [ |
| "@@@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@ \"package\": \"public/package/resolved-platform\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"7f751b2237df2fdf3c1405be00590fefffbaea2d\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"public/package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@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": [ |
| "cipd", |
| "search", |
| "public/package/${platform}", |
| "-tag", |
| "git_revision:40-chars-long-hash", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "CIPD_CACHE_DIR": "[CLEANUP]/tmp_tmp_1" |
| }, |
| "name": "cipd search public/package/${platform} git_revision:40-chars-long-hash", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"public/package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "public/package/${platform}", |
| "-version", |
| "40-chars-fake-of-the-package-instance_id", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd describe public/package/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"public/package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"refs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"modified_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"latest\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"buildbot_build:some.waterfall/builder/1234\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"git_repository:https://chromium.googlesource.com/some/repo\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"@@@", |
| "@@@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": [], |
| "name": "describe response", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@parsed@{@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"pin\": [@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"public/package/resolved-platform\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@STEP_LOG_LINE@parsed@ ],@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"refs\": [@@@", |
| "@@@STEP_LOG_LINE@parsed@ [@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"latest\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ 1446574210,@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"resolved-instance_id-of-latest----------\"@@@", |
| "@@@STEP_LOG_LINE@parsed@ ]@@@", |
| "@@@STEP_LOG_LINE@parsed@ ],@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@parsed@ [@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"buildbot_build:some.waterfall/builder/1234\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ 1446574210@@@", |
| "@@@STEP_LOG_LINE@parsed@ ],@@@", |
| "@@@STEP_LOG_LINE@parsed@ [@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"git_repository:https://chromium.googlesource.com/some/repo\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ 1446574210@@@", |
| "@@@STEP_LOG_LINE@parsed@ ],@@@", |
| "@@@STEP_LOG_LINE@parsed@ [@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@parsed@ 1446574210@@@", |
| "@@@STEP_LOG_LINE@parsed@ ]@@@", |
| "@@@STEP_LOG_LINE@parsed@ ]@@@", |
| "@@@STEP_LOG_LINE@parsed@}@@@", |
| "@@@STEP_LOG_END@parsed@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/packages", |
| "-ensure-file", |
| "public/package/${platform} 7f751b2237df2fdf3c1405be00590fefffbaea2d\n@Subdir private\nprivate/package/${platform} latest", |
| "-max-threads", |
| "2", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure private package", |
| "~followup_annotations": [ |
| "@@@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\": \"7f751b2237df2fdf3c1405be00590fefffbaea2d\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"public/package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"private\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"private/package/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": [ |
| "cipd", |
| "search", |
| "private/package/${platform}", |
| "-tag", |
| "key:value", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd search private/package/${platform} key:value", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"private/package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "private/package/${platform}", |
| "-version", |
| "40-chars-fake-of-the-package-instance_id", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd describe private/package/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"private/package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"refs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"modified_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"latest\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"custom:tagged\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"key:value\"@@@", |
| "@@@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": [ |
| "cipd", |
| "describe", |
| "default/test/data", |
| "-version", |
| "40-chars-fake-of-the-package-instance_id", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd describe default/test/data", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"default/test/data\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"refs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"modified_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"latest\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"buildbot_build:some.waterfall/builder/1234\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"git_repository:https://chromium.googlesource.com/some/repo\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574210,@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"@@@", |
| "@@@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": [ |
| "cipd", |
| "describe", |
| "empty/pkg", |
| "-version", |
| "ref", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd describe empty/pkg", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"error\": \"no such ref\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": null@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "empty/pkg", |
| "-version", |
| "tag:1.2.3", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd describe empty/pkg (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"error\": \"no such tag\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": null@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "empty/pkg", |
| "-version", |
| "hashhashhashhashhashhashhashhashhashhash", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd describe empty/pkg (3)", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"error\": \"no such instance\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": null@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "acl-check", |
| "public/package", |
| "-reader", |
| "-writer", |
| "-owner", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "acl-check public/package", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": true@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-in", |
| "fake-input-dir", |
| "-name", |
| "infra/fake-package", |
| "-out", |
| "fake-package-path", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "build fake-package", |
| "~followup_annotations": [ |
| "@@@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\": \"infra/fake-package\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-in", |
| "fake-input-dir", |
| "-name", |
| "infra/fake-package", |
| "-out", |
| "fake-package-path", |
| "-hash-algo", |
| "sha256", |
| "-compression-level", |
| "9", |
| "-install-mode", |
| "copy", |
| "-preserve-mtime", |
| "-preserve-writable", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "build fake-package (2)", |
| "~followup_annotations": [ |
| "@@@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\": \"infra/fake-package\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-register", |
| "fake-package-path", |
| "-ref", |
| "fake-ref-1", |
| "-ref", |
| "fake-ref-2", |
| "-tag", |
| "fake_tag_1:fake_value_1", |
| "-tag", |
| "fake_tag_2:fake_value_2", |
| "-metadata", |
| "md_0:v1", |
| "-metadata", |
| "md_1:v2", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "register infra/fake-package", |
| "~followup_annotations": [ |
| "@@@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\": \"infra/fake-package\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@infra/fake-package@https://chrome-infra-packages.appspot.com/p/infra/fake-package/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "[START_DIR]/fake-package.yaml", |
| "-out", |
| "fake-package-path", |
| "-hash-algo", |
| "sha256", |
| "-compression-level", |
| "9", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "build fake-package.yaml", |
| "~followup_annotations": [ |
| "@@@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\": \"fake-package.yaml\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-register", |
| "fake-package-path", |
| "-ref", |
| "fake-ref-1", |
| "-ref", |
| "fake-ref-2", |
| "-tag", |
| "fake_tag_1:fake_value_1", |
| "-tag", |
| "fake_tag_2:fake_value_2", |
| "-metadata", |
| "md_0:v1", |
| "-metadata", |
| "md_1:v2", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "register infra/fake-package (2)", |
| "~followup_annotations": [ |
| "@@@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\": \"infra/fake-package\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@infra/fake-package@https://chrome-infra-packages.appspot.com/p/infra/fake-package/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "create", |
| "-pkg-def", |
| "[START_DIR]/fake-package.yaml", |
| "-hash-algo", |
| "sha256", |
| "-ref", |
| "fake-ref-1", |
| "-ref", |
| "fake-ref-2", |
| "-tag", |
| "fake_tag_1:fake_value_1", |
| "-tag", |
| "fake_tag_2:fake_value_2", |
| "-metadata", |
| "md_0:v1", |
| "-metadata", |
| "md_1:v2", |
| "-compression-level", |
| "9", |
| "-verification-timeout", |
| "20m", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "create fake-package.yaml", |
| "~followup_annotations": [ |
| "@@@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\": \"fake-package.yaml\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fake-package.yaml/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "set-tag", |
| "fake-package", |
| "-version", |
| "long/weird/ref/which/doesn/not/fit/into/40chars", |
| "-tag", |
| "dead:beaf", |
| "-tag", |
| "more:value", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd set-tag fake-package", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-long/weird/ref/w\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package\"@@@", |
| "@@@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": [ |
| "cipd", |
| "set-ref", |
| "fake-package", |
| "-version", |
| "latest", |
| "-ref", |
| "any", |
| "-ref", |
| "some", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd set-ref fake-package", |
| "~followup_annotations": [ |
| "@@@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@ \"package\": \"fake-package\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@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": [ |
| "cipd", |
| "search", |
| "fake-package/${platform}", |
| "-tag", |
| "dead:beaf", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd search fake-package/${platform} dead:beaf", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "instances", |
| "fake-package/${platform}", |
| "-limit", |
| "3", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd instances fake-package/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instances\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-instance_id_1---\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"refs\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"latest\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574209@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-instance_id_2---\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574208@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-instance_id_3---\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_by\": \"user:44-blablbla@developer.gserviceaccount.com\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"registered_ts\": 1446574207@@@", |
| "@@@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": [ |
| "cipd", |
| "set-metadata", |
| "fake-package", |
| "-version", |
| "latest", |
| "-metadata", |
| "key1:val1", |
| "-metadata", |
| "key1(text/plain):val2", |
| "-metadata-from-file", |
| "key2:[START_DIR]/val1.json", |
| "-metadata-from-file", |
| "key2(application/json):[START_DIR]/val2.json", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd set-metadata fake-package", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package\"@@@", |
| "@@@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": [ |
| "cipd", |
| "pkg-fetch", |
| "fake-package/${platform}", |
| "-version", |
| "some:tag", |
| "-out", |
| "[START_DIR]/fetched_pkg", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd pkg-fetch fake-package/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@fake-package/resolved-platform resolved-instance_id-of-some:tag--------@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-some:tag--------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fake-package/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-deploy", |
| "[START_DIR]/fetched_pkg", |
| "-root", |
| "[START_DIR]/raw_root", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd pkg-deploy [START_DIR]/fetched_pkg", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version/of/fetch\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"pkg/name/of/fetched_pkg\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/packages", |
| "-ensure-file", |
| "[START_DIR]/cipd.ensure", |
| "-max-threads", |
| "2", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure with existing file", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {}@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure-file-resolve", |
| "-ensure-file", |
| "[START_DIR]/cipd.ensure", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "ensure-file-resolve with existing file", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {}@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install infra/some_exe" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/cipd_tool/infra/some_exe/5e1e2bcac305958b27077ca136f35f0abae7cf38c9af678f7d220ed0cb51d4f8" |
| ], |
| "infra_step": true, |
| "name": "install infra/some_exe.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/infra/some_exe/5e1e2bcac305958b27077ca136f35f0abae7cf38c9af678f7d220ed0cb51d4f8", |
| "-ensure-file", |
| "infra/some_exe/${platform} latest", |
| "-max-threads", |
| "2", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install infra/some_exe.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-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/some_exe/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": [], |
| "name": "install some/some_exe/package" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/cipd_tool/some/some_exe/package/5e1e2bcac305958b27077ca136f35f0abae7cf38c9af678f7d220ed0cb51d4f8" |
| ], |
| "infra_step": true, |
| "name": "install some/some_exe/package.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/some/some_exe/package/5e1e2bcac305958b27077ca136f35f0abae7cf38c9af678f7d220ed0cb51d4f8", |
| "-ensure-file", |
| "some/some_exe/package/${platform} latest", |
| "-max-threads", |
| "2", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "install some/some_exe/package.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-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"some/some_exe/package/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": [ |
| "[START_DIR]/cipd_tool/some/some_exe/package/5e1e2bcac305958b27077ca136f35f0abae7cf38c9af678f7d220ed0cb51d4f8/bin/some_exe", |
| "-opt" |
| ], |
| "name": "run some_exe" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |