blob: 5c4fa913af22ec888d7ac51786c63620eb61800a [file] [log] [blame]
[
{
"cmd": [],
"name": "baz"
},
{
"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": "baz.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/bar/baz\",@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"mac-amd64\"@@@",
"@@@STEP_LOG_LINE@pigweed.json@ ],@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"tags\": [@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"git_revision:123\"@@@",
"@@@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/bar/baz",
"-version",
"latest",
"-json-output",
"/path/to/tmp/json"
],
"name": "baz.cipd describe foo/bar/baz",
"~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/bar/baz\"@@@",
"@@@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": "baz.common tags",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@git_revision:397a2597cdc237f3026e6143b683be4b9ab60540@@@"
]
},
{
"cmd": [],
"name": "baz.check number of instances",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"describe",
"foo/bar/baz",
"-version",
"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540",
"-json-output",
"/path/to/tmp/json"
],
"name": "baz.check number of instances.cipd describe foo/bar/baz",
"~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/bar/baz\"@@@",
"@@@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": "baz.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/bar/baz\",\n \"platforms\": [\n \"linux-amd64\",\n \"mac-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": "baz.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/bar/baz\",@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"platforms\": [@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"linux-amd64\",@@@",
"@@@STEP_LOG_LINE@pigweed.json@ \"mac-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: baz\n\nFrom git_revision:123\nTo git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\n\n@@@",
"@@@SET_BUILD_PROPERTY@baz@{\"name\": \"baz\", \"new\": \"git_revision:397a2597cdc237f3026e6143b683be4b9ab60540\", \"old\": \"git_revision:123\", \"spec\": \"foo/bar/baz\"}@@@"
]
},
{
"name": "$result"
}
]