| [ |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "Zip build", |
| "stdin": "{\"entries\": [{\"path\": \"[CACHE]/builder/src/build\", \"type\": \"dir\"}], \"output\": \"[CLEANUP]/tmp_tmp_1/test1.zip\", \"root\": \"[CACHE]/builder/src\"}" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "stat", |
| "gs://flutter_infra_release/flutter/00000000-0000-0000-0000-000000001337/test1.zip" |
| ], |
| "name": "Ensure flutter/00000000-0000-0000-0000-000000001337/test1.zip does not already exist on cloud storage" |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "[CLEANUP]/tmp_tmp_1/test1.zip", |
| "gs://flutter_infra_release/flutter/00000000-0000-0000-0000-000000001337/test1.zip" |
| ], |
| "infra_step": true, |
| "name": "gsutil upload \"flutter/00000000-0000-0000-0000-000000001337/test1.zip\"", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_infra_release/flutter/00000000-0000-0000-0000-000000001337/test1.zip@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "temp dir for Upload test.zip" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "Zip build (2)", |
| "stdin": "{\"entries\": [{\"path\": \"[CACHE]/builder/src/build\", \"type\": \"dir\"}, {\"archive_name\": \"a.txt\", \"path\": \"[CACHE]/builder/src/a.txt\", \"type\": \"file\"}], \"output\": \"[CLEANUP]/tmp_tmp_2/test2.zip\", \"root\": \"[CACHE]/builder/src\"}" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "stat", |
| "gs://flutter_infra_release/flutter/00000000-0000-0000-0000-00000000133a/test2.zip" |
| ], |
| "name": "Ensure flutter/00000000-0000-0000-0000-00000000133a/test2.zip does not already exist on cloud storage" |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "[CLEANUP]/tmp_tmp_2/test2.zip", |
| "gs://flutter_infra_release/flutter/00000000-0000-0000-0000-00000000133a/test2.zip" |
| ], |
| "infra_step": true, |
| "name": "gsutil upload \"flutter/00000000-0000-0000-0000-00000000133a/test2.zip\"", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_infra_release/flutter/00000000-0000-0000-0000-00000000133a/test2.zip@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/tmp_tmp_2" |
| ], |
| "infra_step": true, |
| "name": "temp dir for Upload test.zip (2)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "Zip build (3)", |
| "stdin": "{\"entries\": [{\"path\": \"[CACHE]/builder/src/build\", \"type\": \"dir\"}, {\"archive_name\": \"a.txt\", \"path\": \"[CACHE]/builder/src/a.txt\", \"type\": \"file\"}], \"output\": \"[CLEANUP]/tmp_tmp_3/test3.zip\", \"root\": \"[CACHE]/builder/src\"}" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "stat", |
| "gs://flutter_infra_release/flutter/00000000-0000-0000-0000-00000000133d/parent_directory/test3.zip" |
| ], |
| "name": "Ensure flutter/00000000-0000-0000-0000-00000000133d/parent_directory/test3.zip does not already exist on cloud storage" |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::gsutil]/resources/gsutil_smart_retry.py", |
| "--", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "[CLEANUP]/tmp_tmp_3/test3.zip", |
| "gs://flutter_infra_release/flutter/00000000-0000-0000-0000-00000000133d/parent_directory/test3.zip" |
| ], |
| "infra_step": true, |
| "name": "gsutil upload \"flutter/00000000-0000-0000-0000-00000000133d/parent_directory/test3.zip\"", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/flutter_infra_release/flutter/00000000-0000-0000-0000-00000000133d/parent_directory/test3.zip@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CLEANUP]/tmp_tmp_3" |
| ], |
| "infra_step": true, |
| "name": "temp dir for Upload test.zip (3)" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_MODULE[flutter::zip]/resources/zip.py" |
| ], |
| "name": "zipping", |
| "stdin": "{\"entries\": [{\"archive_name\": \"a\", \"path\": \"[CLEANUP]/bucketutil-example_tmp_1/a\", \"type\": \"file\"}, {\"archive_name\": \"b\", \"path\": \"[CLEANUP]/bucketutil-example_tmp_1/b\", \"type\": \"file\"}, {\"path\": \"[CLEANUP]/bucketutil-example_tmp_1/sub\", \"type\": \"dir\"}], \"output\": \"[CLEANUP]/bucketutil-example_tmp_1/output.zip\", \"root\": \"[CLEANUP]/bucketutil-example_tmp_1\"}" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "stat", |
| "gs://flutter_infra_release/foo" |
| ], |
| "name": "Ensure foo does not already exist on cloud storage" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |