| [ |
| { |
| "cmd": [], |
| "name": "foo" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "foo.read pigweed.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@{@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"packages\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"foo/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:foo123\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ },@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"bar/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:bar123\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ }@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@}@@@", |
| "@@@STEP_LOG_END@pigweed.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "foo/linux-amd64", |
| "-version", |
| "latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "foo.cipd describe foo/linux-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"foo/linux-amd64\"@@@", |
| "@@@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", |
| "foo/windows-amd64", |
| "-version", |
| "latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "foo.cipd describe foo/windows-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"foo/windows-amd64\"@@@", |
| "@@@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": "foo.common tags", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@git_revision:397a2597cdc237f3026e6143b683be4b9ab60540@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "foo.check number of instances", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "foo/linux-amd64", |
| "-version", |
| "git_revision:397a2597cdc237f3026e6143b683be4b9ab60540", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "foo.check number of instances.cipd describe foo/linux-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:397\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"foo/linux-amd64\"@@@", |
| "@@@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", |
| "foo/windows-amd64", |
| "-version", |
| "git_revision:397a2597cdc237f3026e6143b683be4b9ab60540", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "foo.check number of instances.cipd describe foo/windows-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:397\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"foo/windows-amd64\"@@@", |
| "@@@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": "foo.new_version", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@git_revision:397a2597cdc237f3026e6143b683be4b9ab60540@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"packages\": [\n {\n \"_comment\": \"comments should be preserved\",\n \"path\": \"foo/${platform}\",\n \"platforms\": [\n \"linux-amd64\",\n \"windows-amd64\"\n ],\n \"tags\": [\n \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"\n ]\n },\n {\n \"_comment\": \"comments should be preserved\",\n \"path\": \"bar/${platform}\",\n \"platforms\": [\n \"linux-amd64\",\n \"windows-amd64\"\n ],\n \"tags\": [\n \"git_revision:bar123\"\n ]\n }\n ]\n}\n", |
| "[START_DIR]/checkout/pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json" |
| ], |
| "infra_step": true, |
| "name": "foo.write pigweed.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@{@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"packages\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"foo/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ },@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"bar/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:bar123\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ }@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@}@@@", |
| "@@@STEP_LOG_END@pigweed.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "bar" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "bar.read pigweed.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@{@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"packages\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"foo/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ },@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"bar/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:bar123\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ }@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@}@@@", |
| "@@@STEP_LOG_END@pigweed.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "bar/linux-amd64", |
| "-version", |
| "latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "bar.cipd describe bar/linux-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"bar/linux-amd64\"@@@", |
| "@@@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", |
| "bar/windows-amd64", |
| "-version", |
| "latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "bar.cipd describe bar/windows-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"bar/windows-amd64\"@@@", |
| "@@@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": "bar.common tags", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@git_revision:397a2597cdc237f3026e6143b683be4b9ab60540@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "bar.check number of instances", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "describe", |
| "bar/linux-amd64", |
| "-version", |
| "git_revision:397a2597cdc237f3026e6143b683be4b9ab60540", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "bar.check number of instances.cipd describe bar/linux-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:397\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"bar/linux-amd64\"@@@", |
| "@@@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", |
| "bar/windows-amd64", |
| "-version", |
| "git_revision:397a2597cdc237f3026e6143b683be4b9ab60540", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "bar.check number of instances.cipd describe bar/windows-amd64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"pin\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:397\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"bar/windows-amd64\"@@@", |
| "@@@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": "bar.new_version", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@git_revision:397a2597cdc237f3026e6143b683be4b9ab60540@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "{\n \"packages\": [\n {\n \"_comment\": \"comments should be preserved\",\n \"path\": \"foo/${platform}\",\n \"platforms\": [\n \"linux-amd64\",\n \"windows-amd64\"\n ],\n \"tags\": [\n \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"\n ]\n },\n {\n \"_comment\": \"comments should be preserved\",\n \"path\": \"bar/${platform}\",\n \"platforms\": [\n \"linux-amd64\",\n \"windows-amd64\"\n ],\n \"tags\": [\n \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"\n ]\n }\n ]\n}\n", |
| "[START_DIR]/checkout/pw_env_setup/py/pw_env_setup/cipd_setup/pigweed.json" |
| ], |
| "infra_step": true, |
| "name": "bar.write pigweed.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@{@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"packages\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"foo/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ },@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ {@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"_comment\": \"comments should be preserved\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"path\": \"bar/${platform}\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"windows-amd64\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ],@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\"@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ }@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@ ]@@@", |
| "@@@STEP_LOG_LINE@pigweed.json@}@@@", |
| "@@@STEP_LOG_END@pigweed.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "commit message", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@roll: foo, bar\n\nfoo\nFrom git_revision:foo123\nTo git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\n\nbar\nFrom git_revision:bar123\nTo git_revision:397a2597cdc237f3026e6143b683be4b9ab60540@@@", |
| "@@@SET_BUILD_PROPERTY@bar@{\"name\": \"bar\", \"new\": \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\", \"old\": \"git_revision:bar123\", \"spec\": \"bar/${platform}\"}@@@", |
| "@@@SET_BUILD_PROPERTY@foo@{\"name\": \"foo\", \"new\": \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\", \"old\": \"git_revision:foo123\", \"spec\": \"foo/${platform}\"}@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |