| [ |
| { |
| "cmd": [], |
| "name": "Checkout flutter/cocoon" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", |
| "--path", |
| "[START_DIR]\\cocoon", |
| "--url", |
| "https://abc.com/repo" |
| ], |
| "name": "Checkout flutter/cocoon.git setup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "origin", |
| "refs/pull/123/head", |
| "--recurse-submodules", |
| "--progress", |
| "--tags" |
| ], |
| "cwd": "[START_DIR]\\cocoon", |
| "env": { |
| "PATH": "RECIPE_REPO[depot_tools];<PATH>" |
| }, |
| "infra_step": true, |
| "name": "Checkout flutter/cocoon.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]\\cocoon", |
| "infra_step": true, |
| "name": "Checkout flutter/cocoon.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]\\cocoon", |
| "infra_step": true, |
| "name": "Checkout flutter/cocoon.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]\\cocoon", |
| "infra_step": true, |
| "name": "Checkout flutter/cocoon.git clean", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]\\cocoon", |
| "infra_step": true, |
| "name": "Checkout flutter/cocoon.submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]\\cocoon", |
| "infra_step": true, |
| "name": "Checkout flutter/cocoon.submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]\\cocoon\\device_doctor\\tool\\build.bat" |
| ], |
| "cwd": "[START_DIR]\\cocoon\\device_doctor", |
| "name": "build package" |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "pkg-build", |
| "-in", |
| "[START_DIR]\\cocoon\\device_doctor\\build", |
| "-name", |
| "flutter/device_doctor/${platform}", |
| "-out", |
| "device_doctor.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/device_doctor/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd.bat", |
| "pkg-register", |
| "device_doctor.zip", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "register flutter/device_doctor/${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/device_doctor/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@flutter/device_doctor/resolved-platform@https://chrome-infra-packages.appspot.com/p/flutter/device_doctor/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |