| [ |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/homebrew" |
| ], |
| "infra_step": true, |
| "name": "mkdir homebrew" |
| }, |
| { |
| "cmd": [ |
| "curl", |
| "-L", |
| "https://github.com/Homebrew/brew/tarball/master", |
| "-o", |
| "[START_DIR]/homebrew.tar.gz" |
| ], |
| "name": "get homebrew" |
| }, |
| { |
| "cmd": [ |
| "tar", |
| "zxf", |
| "[START_DIR]/homebrew.tar.gz", |
| "--strip", |
| "1", |
| "-C", |
| "[START_DIR]/homebrew" |
| ], |
| "name": "open tarball" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/output" |
| ], |
| "infra_step": true, |
| "name": "mkdir output" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/zips" |
| ], |
| "infra_step": true, |
| "name": "mkdir zips" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/homebrew/bin/brew", |
| "tap", |
| "flutter/homebrew-flutter", |
| "https://flutter-mirrors.googlesource.com/homebrew-flutter" |
| ], |
| "name": "tap custom formulae" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/homebrew/bin/brew", |
| "install", |
| "flutter/homebrew-flutter/ios-deploy-flutter", |
| "--HEAD" |
| ], |
| "name": "installing ios-deploy-flutter" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/output/ios-deploy-flutter" |
| ], |
| "infra_step": true, |
| "name": "mkdir package [START_DIR]/output/ios-deploy-flutter" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/homebrew/opt/ios-deploy-flutter/bin/ios-deploy", |
| "[START_DIR]/output/ios-deploy-flutter" |
| ], |
| "infra_step": true, |
| "name": "copying bin/ios-deploy from package ios-deploy-flutter" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/homebrew/opt/ios-deploy-flutter/LICENSE", |
| "[START_DIR]/output/ios-deploy-flutter" |
| ], |
| "infra_step": true, |
| "name": "copying LICENSE from package ios-deploy-flutter" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/homebrew/opt/ios-deploy-flutter/LICENSE2", |
| "[START_DIR]/output/ios-deploy-flutter" |
| ], |
| "infra_step": true, |
| "name": "copying LICENSE2 from package ios-deploy-flutter" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "zipping ios-deploy-flutter.zip", |
| "stdin": "{\"entries\": [{\"path\": \"[START_DIR]/output/ios-deploy-flutter\", \"type\": \"dir\"}], \"output\": \"[START_DIR]/zips/ios-deploy-flutter.zip\", \"root\": \"[START_DIR]/output/ios-deploy-flutter\"}" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "ios-usb-dependencies/unsigned/ios-deploy/2d72510e447ab60a9728aeea2362d8be2cbd7789/ios-deploy.zip" |
| ], |
| "name": "cloud path" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "[START_DIR]/zips/ios-deploy-flutter.zip", |
| "gs://flutter_infra/ios-usb-dependencies/unsigned/ios-deploy/2d72510e447ab60a9728aeea2362d8be2cbd7789/ios-deploy.zip" |
| ], |
| "infra_step": true, |
| "name": "gsutil upload of ios-deploy-flutter.zip", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@ios-deploy-flutter.zip@https://storage.cloud.google.com/flutter_infra/ios-usb-dependencies/unsigned/ios-deploy/2d72510e447ab60a9728aeea2362d8be2cbd7789/ios-deploy.zip@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "[START_DIR]/zips/ios-deploy-flutter.zip", |
| "gs://flutter_infra_release/ios-usb-dependencies/unsigned/ios-deploy/2d72510e447ab60a9728aeea2362d8be2cbd7789/ios-deploy.zip" |
| ], |
| "infra_step": true, |
| "name": "gsutil upload of ios-deploy-flutter.zip (2)", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@ios-deploy-flutter.zip@https://storage.cloud.google.com/flutter_infra_release/ios-usb-dependencies/unsigned/ios-deploy/2d72510e447ab60a9728aeea2362d8be2cbd7789/ios-deploy.zip@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |