| [ |
| { |
| "cmd": [], |
| "name": "Checkout flutter/packages" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| "--path", |
| "[START_DIR]/packages", |
| "--url", |
| "https://abc.com/repo" |
| ], |
| "name": "Checkout flutter/packages.git setup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "refs/pull/123/head", |
| "--recurse-submodules", |
| "--progress", |
| "--tags" |
| ], |
| "cwd": "[START_DIR]/packages", |
| "env": { |
| "PATH": "RECIPE_REPO[depot_tools]:<PATH>" |
| }, |
| "infra_step": true, |
| "name": "Checkout flutter/packages.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/packages", |
| "infra_step": true, |
| "name": "Checkout flutter/packages.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/packages", |
| "infra_step": true, |
| "name": "Checkout flutter/packages.read revision", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/packages", |
| "infra_step": true, |
| "name": "Checkout flutter/packages.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/packages", |
| "infra_step": true, |
| "name": "Checkout flutter/packages.submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/packages", |
| "infra_step": true, |
| "name": "Checkout flutter/packages.submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "tool/build.sh" |
| ], |
| "cwd": "[START_DIR]/packages/packages/fuchsia_ctl", |
| "name": "run tool/build.sh" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-in", |
| "[START_DIR]/packages/packages/fuchsia_ctl/build", |
| "-name", |
| "flutter/fuchsia_ctl/${platform}", |
| "-out", |
| "fuchsia_ctl.zip", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "build ${platform}", |
| "~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\": \"flutter/fuchsia_ctl/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-register", |
| "fuchsia_ctl.zip", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "register flutter/fuchsia_ctl/${platform}", |
| "~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\": \"flutter/fuchsia_ctl/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@flutter/fuchsia_ctl/resolved-platform@https://chrome-infra-packages.appspot.com/p/flutter/fuchsia_ctl/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "batch", |
| "-host", |
| "cr-buildbucket.appspot.com" |
| ], |
| "infra_step": true, |
| "name": "buildbucket.schedule", |
| "stdin": "{\"requests\": [{\"scheduleBuild\": {\"builder\": {\"builder\": \"Linux Fuchsia\"}, \"exe\": {\"cipdVersion\": \"refs/heads/main\"}, \"experimental\": \"NO\", \"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,updateTime\", \"properties\": {\"fuchsia_ctl_version\": \"40-chars-fake-of-the-package-instance_id\"}, \"requestId\": \"0-00000000-0000-0000-0000-000000001337\", \"swarming\": {\"parentRunId\": \"fake-task-id\"}, \"tags\": [{\"key\": \"user_agent\", \"value\": \"recipe\"}]}}]}", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"scheduleBuild\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"Linux Fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"8922054662172514000\"@@@", |
| "@@@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@@@", |
| "@@@STEP_LOG_LINE@request@{@@@", |
| "@@@STEP_LOG_LINE@request@ \"requests\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"scheduleBuild\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"builder\": \"Linux Fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"exe\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"cipdVersion\": \"refs/heads/main\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"experimental\": \"NO\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,updateTime\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"fuchsia_ctl_version\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"requestId\": \"0-00000000-0000-0000-0000-000000001337\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"swarming\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"parentRunId\": \"fake-task-id\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"key\": \"user_agent\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"value\": \"recipe\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@}@@@", |
| "@@@STEP_LOG_END@request@@@", |
| "@@@STEP_LINK@8922054662172514000@https://cr-buildbucket.appspot.com/build/8922054662172514000@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "buildbucket.collect" |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "collect", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "-interval", |
| "60s", |
| "8922054662172514000" |
| ], |
| "infra_step": true, |
| "name": "buildbucket.collect.wait", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "batch", |
| "-host", |
| "cr-buildbucket.appspot.com" |
| ], |
| "infra_step": true, |
| "name": "buildbucket.collect.get", |
| "stdin": "{\"requests\": [{\"getBuild\": {\"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,updateTime\", \"id\": \"8922054662172514000\"}}]}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"8922054662172514000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"SUCCESS\"@@@", |
| "@@@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@@@", |
| "@@@STEP_LOG_LINE@request@{@@@", |
| "@@@STEP_LOG_LINE@request@ \"requests\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,infra,input,number,output,startTime,status,updateTime\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"id\": \"8922054662172514000\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@}@@@", |
| "@@@STEP_LOG_END@request@@@", |
| "@@@STEP_LINK@8922054662172514000@https://cr-buildbucket.appspot.com/build/8922054662172514000@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "display builds" |
| }, |
| { |
| "cmd": [], |
| "name": "display builds.", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@8922054662172514000@https://cr-buildbucket.appspot.com/build/8922054662172514000@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |