| [ |
| { |
| "cmd": [], |
| "name": "cipd", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@SET_BUILD_PROPERTY@key@\"value\"@@@", |
| "@@@SET_BUILD_PROPERTY@package@\"foo/bar/baz/linux-amd64\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/baz.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"foo/bar/baz/linux-amd64\", \"root\": \"[START_DIR]/pkgroot\"}", |
| "-out", |
| "[CLEANUP]/cipd-util-build_tmp_1/baz.pkg", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.build foo/bar/baz/linux-amd64", |
| "~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\": \"foo/bar/baz/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "foo/bar/baz/linux-amd64", |
| "-tag", |
| "key:value", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search foo/bar/baz/linux-amd64 key:value", |
| "~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]/cipd-util-build_tmp_1/baz.pkg", |
| "-ref", |
| "latest", |
| "-tag", |
| "abc:123", |
| "-tag", |
| "key:value", |
| "-metadata", |
| "abc:123", |
| "-metadata", |
| "bbid:0", |
| "-metadata", |
| "git_repository:https://pigweed.googlesource.com/pigweed/pigweed", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.register foo/bar/baz/linux-amd64", |
| "~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\": \"foo/bar/baz/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@foo/bar/baz/linux-amd64@https://chrome-infra-packages.appspot.com/p/foo/bar/baz/linux-amd64/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |