Revert "Remove old flutter recipe" This reverts commit b59dcfe9eb9fde82c172a460ce8df5d604fb32f5. Reason for revert: This recipe is actually used for packaging. BUG=https://github.com/flutter/flutter/issues/86387 Original change's description: > Remove old flutter recipe > > Related CL: go/flutter-cl/15261 > > Bug: https://github.com/flutter/flutter/issues/86114 > Test: CQ > Change-Id: I8dffc2ebd2ec49b4a342e25f2719d27003256870 > Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/15280 > Reviewed-by: Keyong Han <keyonghan@google.com> > Commit-Queue: Casey Hillers <chillers@google.com> # Not skipping CQ checks because original CL landed > 1 day ago. Bug: https://github.com/flutter/flutter/issues/86114 Change-Id: Iceb6fbd22137fda82af662c6f18e0622d9c5e4a5 Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/15460 Reviewed-by: Christopher Fujino <fujino@google.com> Reviewed-by: Casey Hillers <chillers@google.com> Reviewed-by: Yusuf Mohsinally <mohsinally@google.com> Commit-Queue: Christopher Fujino <fujino@google.com>
diff --git a/recipes/flutter.expected/linux_beta.json b/recipes/flutter.expected/linux_beta.json new file mode 100644 index 0000000..6e13c82 --- /dev/null +++ b/recipes/flutter.expected/linux_beta.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_beta_experimental.json b/recipes/flutter.expected/linux_beta_experimental.json new file mode 100644 index 0000000..ccca40d --- /dev/null +++ b/recipes/flutter.expected/linux_beta_experimental.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_beta_experimental_upload.json b/recipes/flutter.expected/linux_beta_experimental_upload.json new file mode 100644 index 0000000..ccca40d --- /dev/null +++ b/recipes/flutter.expected/linux_beta_experimental_upload.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_beta_upload.json b/recipes/flutter.expected/linux_beta_upload.json new file mode 100644 index 0000000..6e13c82 --- /dev/null +++ b/recipes/flutter.expected/linux_beta_upload.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_dev.json b/recipes/flutter.expected/linux_dev.json new file mode 100644 index 0000000..002bfa6 --- /dev/null +++ b/recipes/flutter.expected/linux_dev.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_dev_experimental.json b/recipes/flutter.expected/linux_dev_experimental.json new file mode 100644 index 0000000..1be0f58 --- /dev/null +++ b/recipes/flutter.expected/linux_dev_experimental.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_dev_experimental_upload.json b/recipes/flutter.expected/linux_dev_experimental_upload.json new file mode 100644 index 0000000..1be0f58 --- /dev/null +++ b/recipes/flutter.expected/linux_dev_experimental_upload.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_dev_upload.json b/recipes/flutter.expected/linux_dev_upload.json new file mode 100644 index 0000000..002bfa6 --- /dev/null +++ b/recipes/flutter.expected/linux_dev_upload.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_master.json b/recipes/flutter.expected/linux_master.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/linux_master.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_master_experimental.json b/recipes/flutter.expected/linux_master_experimental.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/linux_master_experimental.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_master_experimental_upload.json b/recipes/flutter.expected/linux_master_experimental_upload.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/linux_master_experimental_upload.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_master_upload.json b/recipes/flutter.expected/linux_master_upload.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/linux_master_upload.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_stable.json b/recipes/flutter.expected/linux_stable.json new file mode 100644 index 0000000..a5b47a6 --- /dev/null +++ b/recipes/flutter.expected/linux_stable.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_stable_experimental.json b/recipes/flutter.expected/linux_stable_experimental.json new file mode 100644 index 0000000..7538270 --- /dev/null +++ b/recipes/flutter.expected/linux_stable_experimental.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_stable_experimental_upload.json b/recipes/flutter.expected/linux_stable_experimental_upload.json new file mode 100644 index 0000000..7538270 --- /dev/null +++ b/recipes/flutter.expected/linux_stable_experimental_upload.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/linux_stable_upload.json b/recipes/flutter.expected/linux_stable_upload.json new file mode 100644 index 0000000..a5b47a6 --- /dev/null +++ b/recipes/flutter.expected/linux_stable_upload.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "linux", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_beta.json b/recipes/flutter.expected/mac_beta.json new file mode 100644 index 0000000..4f6f9a8 --- /dev/null +++ b/recipes/flutter.expected/mac_beta.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_beta_experimental.json b/recipes/flutter.expected/mac_beta_experimental.json new file mode 100644 index 0000000..de80a2b --- /dev/null +++ b/recipes/flutter.expected/mac_beta_experimental.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_beta_experimental_upload.json b/recipes/flutter.expected/mac_beta_experimental_upload.json new file mode 100644 index 0000000..de80a2b --- /dev/null +++ b/recipes/flutter.expected/mac_beta_experimental_upload.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_beta_upload.json b/recipes/flutter.expected/mac_beta_upload.json new file mode 100644 index 0000000..4f6f9a8 --- /dev/null +++ b/recipes/flutter.expected/mac_beta_upload.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=beta", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_dev.json b/recipes/flutter.expected/mac_dev.json new file mode 100644 index 0000000..5d0db41 --- /dev/null +++ b/recipes/flutter.expected/mac_dev.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_dev_experimental.json b/recipes/flutter.expected/mac_dev_experimental.json new file mode 100644 index 0000000..9024632 --- /dev/null +++ b/recipes/flutter.expected/mac_dev_experimental.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_dev_experimental_upload.json b/recipes/flutter.expected/mac_dev_experimental_upload.json new file mode 100644 index 0000000..9024632 --- /dev/null +++ b/recipes/flutter.expected/mac_dev_experimental_upload.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_dev_upload.json b/recipes/flutter.expected/mac_dev_upload.json new file mode 100644 index 0000000..5d0db41 --- /dev/null +++ b/recipes/flutter.expected/mac_dev_upload.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=dev", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_master.json b/recipes/flutter.expected/mac_master.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/mac_master.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_master_experimental.json b/recipes/flutter.expected/mac_master_experimental.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/mac_master_experimental.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_master_experimental_upload.json b/recipes/flutter.expected/mac_master_experimental_upload.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/mac_master_experimental_upload.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_master_upload.json b/recipes/flutter.expected/mac_master_upload.json new file mode 100644 index 0000000..b3d67c6 --- /dev/null +++ b/recipes/flutter.expected/mac_master_upload.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_stable.json b/recipes/flutter.expected/mac_stable.json new file mode 100644 index 0000000..c948f19 --- /dev/null +++ b/recipes/flutter.expected/mac_stable.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_stable_experimental.json b/recipes/flutter.expected/mac_stable_experimental.json new file mode 100644 index 0000000..39a272c --- /dev/null +++ b/recipes/flutter.expected/mac_stable_experimental.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_stable_experimental_upload.json b/recipes/flutter.expected/mac_stable_experimental_upload.json new file mode 100644 index 0000000..39a272c --- /dev/null +++ b/recipes/flutter.expected/mac_stable_experimental_upload.json
@@ -0,0 +1,624 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/mac_stable_upload.json b/recipes/flutter.expected/mac_stable_upload.json new file mode 100644 index 0000000..c948f19 --- /dev/null +++ b/recipes/flutter.expected/mac_stable_upload.json
@@ -0,0 +1,625 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools]:<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", + "--path", + "[START_DIR]/flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PATH": "RECIPE_REPO[depot_tools]:<PATH>", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]/flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]/archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "dart", + "[START_DIR]/flutter/dev/bots/prepare_package.dart", + "--temp_dir=[START_DIR]/archive", + "--revision=deadbeef", + "--branch=stable", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "darwin", + "PUB_CACHE": "[START_DIR]/.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]/flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]/flutter/bin", + "[START_DIR]/flutter/bin/cache/dart-sdk/bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_beta.json b/recipes/flutter.expected/win_beta.json new file mode 100644 index 0000000..b94d8e5 --- /dev/null +++ b/recipes/flutter.expected/win_beta.json
@@ -0,0 +1,677 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=beta", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_beta_experimental.json b/recipes/flutter.expected/win_beta_experimental.json new file mode 100644 index 0000000..bd89281 --- /dev/null +++ b/recipes/flutter.expected/win_beta_experimental.json
@@ -0,0 +1,676 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=beta" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_beta_experimental_upload.json b/recipes/flutter.expected/win_beta_experimental_upload.json new file mode 100644 index 0000000..bd89281 --- /dev/null +++ b/recipes/flutter.expected/win_beta_experimental_upload.json
@@ -0,0 +1,676 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=beta" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_beta_upload.json b/recipes/flutter.expected/win_beta_upload.json new file mode 100644 index 0000000..b94d8e5 --- /dev/null +++ b/recipes/flutter.expected/win_beta_upload.json
@@ -0,0 +1,677 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "beta", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=beta", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_dev.json b/recipes/flutter.expected/win_dev.json new file mode 100644 index 0000000..ef03772 --- /dev/null +++ b/recipes/flutter.expected/win_dev.json
@@ -0,0 +1,677 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=dev", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_dev_experimental.json b/recipes/flutter.expected/win_dev_experimental.json new file mode 100644 index 0000000..01d7ce5 --- /dev/null +++ b/recipes/flutter.expected/win_dev_experimental.json
@@ -0,0 +1,676 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=dev" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_dev_experimental_upload.json b/recipes/flutter.expected/win_dev_experimental_upload.json new file mode 100644 index 0000000..01d7ce5 --- /dev/null +++ b/recipes/flutter.expected/win_dev_experimental_upload.json
@@ -0,0 +1,676 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=dev" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_dev_upload.json b/recipes/flutter.expected/win_dev_upload.json new file mode 100644 index 0000000..ef03772 --- /dev/null +++ b/recipes/flutter.expected/win_dev_upload.json
@@ -0,0 +1,677 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "dev", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=dev", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_master.json b/recipes/flutter.expected/win_master.json new file mode 100644 index 0000000..71e16e4 --- /dev/null +++ b/recipes/flutter.expected/win_master.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_master_experimental.json b/recipes/flutter.expected/win_master_experimental.json new file mode 100644 index 0000000..71e16e4 --- /dev/null +++ b/recipes/flutter.expected/win_master_experimental.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_master_experimental_upload.json b/recipes/flutter.expected/win_master_experimental_upload.json new file mode 100644 index 0000000..71e16e4 --- /dev/null +++ b/recipes/flutter.expected/win_master_experimental_upload.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_master_upload.json b/recipes/flutter.expected/win_master_upload.json new file mode 100644 index 0000000..71e16e4 --- /dev/null +++ b/recipes/flutter.expected/win_master_upload.json
@@ -0,0 +1,211 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_stable.json b/recipes/flutter.expected/win_stable.json new file mode 100644 index 0000000..894e90f --- /dev/null +++ b/recipes/flutter.expected/win_stable.json
@@ -0,0 +1,677 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=stable", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_stable_experimental.json b/recipes/flutter.expected/win_stable_experimental.json new file mode 100644 index 0000000..ad82fb0 --- /dev/null +++ b/recipes/flutter.expected/win_stable_experimental.json
@@ -0,0 +1,676 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=stable" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_stable_experimental_upload.json b/recipes/flutter.expected/win_stable_experimental_upload.json new file mode 100644 index 0000000..ad82fb0 --- /dev/null +++ b/recipes/flutter.expected/win_stable_experimental_upload.json
@@ -0,0 +1,676 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=stable" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.expected/win_stable_upload.json b/recipes/flutter.expected/win_stable_upload.json new file mode 100644 index 0000000..894e90f --- /dev/null +++ b/recipes/flutter.expected/win_stable_upload.json
@@ -0,0 +1,677 @@ +[ + { + "cmd": [], + "name": "checkout source code" + }, + { + "cmd": [], + "name": "checkout source code.Checkout flutter/flutter", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@1@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "checkout source code.Checkout flutter/flutter.git setup", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git fetch", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git checkout", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.read revision", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@", + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.git clean", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule sync", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "checkout source code.Checkout flutter/flutter.submodule update", + "~followup_annotations": [ + "@@@STEP_NEST_LEVEL@2@@@" + ] + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "name": "git setup" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "stable", + "--recurse-submodules", + "--progress", + "--tags" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "PATH": "RECIPE_REPO[depot_tools];<PATH>" + }, + "infra_step": true, + "name": "git fetch" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git checkout" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "read revision", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "git clean" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule sync" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "infra_step": true, + "name": "submodule update" + }, + { + "cmd": [ + "python", + "-u", + "RECIPE_MODULE[depot_tools::git]\\resources\\git_setup.py", + "--path", + "[START_DIR]\\flutter", + "--url", + "https://chromium.googlesource.com/external/github.com/flutter/flutter" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "git setup (2)" + }, + { + "cmd": [ + "git", + "fetch", + "origin", + "master", + "--recurse-submodules", + "--progress" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PATH": "RECIPE_REPO[depot_tools];<PATH>", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git fetch (2)" + }, + { + "cmd": [ + "git", + "checkout", + "-f", + "FETCH_HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git checkout (2)" + }, + { + "cmd": [ + "git", + "rev-parse", + "HEAD" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "read revision (2)", + "~followup_annotations": [ + "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@", + "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" + ] + }, + { + "cmd": [ + "git", + "clean", + "-f", + "-d", + "-x" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "git clean (2)" + }, + { + "cmd": [ + "git", + "submodule", + "sync" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule sync (2)" + }, + { + "cmd": [ + "git", + "submodule", + "update", + "--init", + "--recursive" + ], + "cwd": "[START_DIR]\\flutter", + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "submodule update (2)" + }, + { + "cmd": [ + "flutter.bat", + "doctor" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "flutter doctor" + }, + { + "cmd": [ + "flutter.bat", + "update-packages" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "download dependencies" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "rmtree", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "clean archive work directory" + }, + { + "cmd": [ + "vpython", + "-u", + "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", + "--json-output", + "/path/to/tmp/json", + "ensure-directory", + "--mode", + "0777", + "[START_DIR]\\archive" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "infra_step": true, + "name": "(re)create archive work directory" + }, + { + "cmd": [ + "cipd.bat", + "ensure", + "-root", + "[CACHE]\\builder\\7za", + "-ensure-file", + "flutter_internal/tools/7za/${platform} version:19.00", + "-max-threads", + "0", + "-json-output", + "/path/to/tmp/json" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "ensure_installed", + "~followup_annotations": [ + "@@@STEP_LOG_LINE@json.output@{@@@", + "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", + "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", + "@@@STEP_LOG_LINE@json.output@ {@@@", + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:19.00---\", @@@", + "@@@STEP_LOG_LINE@json.output@ \"package\": \"flutter_internal/tools/7za/resolved-platform\"@@@", + "@@@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": [ + "dart.exe", + "[START_DIR]\\flutter\\dev\\bots\\prepare_package.dart", + "--temp_dir=[START_DIR]\\archive", + "--revision=deadbeef", + "--branch=stable", + "--publish" + ], + "env": { + "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]", + "LUCI_BRANCH": "", + "LUCI_CI": "True", + "LUCI_PR": "", + "OS": "win", + "PUB_CACHE": "[START_DIR]\\.pub-cache", + "SDK_CHECKOUT_PATH": "[START_DIR]\\flutter" + }, + "env_prefixes": { + "PATH": [ + "[CACHE]\\builder\\7za", + "[START_DIR]\\flutter\\bin", + "[START_DIR]\\flutter\\bin\\cache\\dart-sdk\\bin" + ] + }, + "env_suffixes": { + "DEPOT_TOOLS_UPDATE": [ + "0" + ], + "PATH": [ + "RECIPE_REPO[depot_tools]" + ] + }, + "name": "prepare, create and publish a flutter archive" + }, + { + "name": "$result" + } +] \ No newline at end of file
diff --git a/recipes/flutter.py b/recipes/flutter.py new file mode 100644 index 0000000..7074c85 --- /dev/null +++ b/recipes/flutter.py
@@ -0,0 +1,128 @@ +# Copyright 2016 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +from contextlib import contextmanager +import re + +DEPS = [ + 'depot_tools/depot_tools', + 'depot_tools/git', + 'flutter/repo_util', + 'recipe_engine/buildbucket', + 'recipe_engine/cipd', + 'recipe_engine/context', + 'recipe_engine/file', + 'recipe_engine/path', + 'recipe_engine/platform', + 'recipe_engine/properties', + 'recipe_engine/runtime', + 'recipe_engine/step', +] + +PACKAGED_REF_RE = re.compile(r'^refs/heads/(dev|beta|stable)$') + + +@contextmanager +def Install7za(api): + if api.platform.is_win: + sevenzip_cache_dir = api.path['cache'].join('builder', '7za') + api.cipd.ensure( + sevenzip_cache_dir, + api.cipd.EnsureFile().add_package( + 'flutter_internal/tools/7za/${platform}', 'version:19.00' + ) + ) + with api.context(env_prefixes={'PATH': [sevenzip_cache_dir]}): + yield + else: + yield + + +def CreateAndUploadFlutterPackage(api, git_hash, branch): + """Prepares, builds, and uploads an all-inclusive archive package.""" + # For creating the packages, we need to have the master branch version of the + # script, but we need to know what the revision in git_hash is first. So, we + # end up checking out the flutter repo twice: once on the branch we're going + # to package, to find out the hash to use, and again here so that we have the + # current version of the packaging script. + api.git.checkout( + 'https://chromium.googlesource.com/external/github.com/flutter/flutter', + ref='master', + recursive=True, + set_got_revision=True + ) + + flutter_executable = 'flutter' if not api.platform.is_win else 'flutter.bat' + dart_executable = 'dart' if not api.platform.is_win else 'dart.exe' + work_dir = api.path['start_dir'].join('archive') + prepare_script = api.path['checkout'].join( + 'dev', 'bots', 'prepare_package.dart' + ) + api.step('flutter doctor', [flutter_executable, 'doctor']) + api.step('download dependencies', [flutter_executable, 'update-packages']) + api.file.rmtree('clean archive work directory', work_dir) + api.file.ensure_directory('(re)create archive work directory', work_dir) + with Install7za(api): + with api.context(cwd=api.path['start_dir']): + step_args = [ + dart_executable, prepare_script, + '--temp_dir=%s' % work_dir, + '--revision=%s' % git_hash, + '--branch=%s' % branch + ] + if not api.runtime.is_experimental: + step_args.append('--publish') + api.step('prepare, create and publish a flutter archive', step_args) + + +def RunSteps(api): + git_ref = api.properties.get('git_ref') or api.buildbucket.gitiles_commit.ref + assert git_ref + checkout_path = api.path['start_dir'].join('flutter') + with api.step.nest('checkout source code'): + api.repo_util.checkout( + 'flutter', + checkout_path=checkout_path, + url=api.properties.get('git_url'), + ref=api.properties.get('git_ref') + ) + env, env_prefixes = api.repo_util.flutter_environment(checkout_path) + git_url = \ + 'https://chromium.googlesource.com/external/github.com/flutter/flutter' + git_url = api.properties.get('git_url') or git_url + git_hash = api.git.checkout( + git_url, ref=git_ref, recursive=True, set_got_revision=True, tags=True + ) + with api.context(env=env, env_prefixes=env_prefixes): + with api.depot_tools.on_path(): + if git_ref: + match = PACKAGED_REF_RE.match(git_ref) + if match: + branch = match.group(1) + CreateAndUploadFlutterPackage(api, git_hash, branch) + # Nothing left to do on a packaging branch. + return + + +def GenTests(api): + for experimental in (True, False): + for should_upload in (True, False): + for platform in ('mac', 'linux', 'win'): + for branch in ('master', 'dev', 'beta', 'stable'): + git_ref = 'refs/heads/' + branch + test = api.test( + '%s_%s%s%s' % ( + platform, branch, '_experimental' if experimental else '', + '_upload' if should_upload else '' + ), api.platform(platform, 64), + api.buildbucket.ci_build(git_ref=git_ref, revision=None), + api.properties( + shard='tests', + fuchsia_ctl_version='version:0.0.2', + upload_packages=should_upload, + gold_tryjob=not should_upload + ), api.runtime(is_experimental=experimental), + api.repo_util.flutter_environment_data() + ) + yield test