Remove plugin recipes.
Plugins repository was archived and they are not used anymore.
Bug: https://github.com/flutter/flutter/issues/121738
Change-Id: I8a748700089bdb1daef2ab43a6eef28d25757dbe
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/39820
Reviewed-by: Stuart Morgan <stuartmorgan@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
diff --git a/recipes/plugins/plugins.expected/mac.json b/recipes/plugins/plugins.expected/mac.json
deleted file mode 100644
index 44ed7ba..0000000
--- a/recipes/plugins/plugins.expected/mac.json
+++ /dev/null
@@ -1,424 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout source code"
- },
- {
- "cmd": [],
- "name": "checkout source code.Checkout flutter/plugins",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python3",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/plugins",
- "--url",
- "https://flutter.googlesource.com/mirrors/plugins"
- ],
- "name": "checkout source code.Checkout flutter/plugins.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "main",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/plugins",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.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]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[START_DIR]/plugins/.ci/flutter_master.version",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "name": "checkout source code.read pinned version",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@flutter_master.version@refs/heads/master@@@",
- "@@@STEP_LOG_END@flutter_master.version@@@"
- ]
- },
- {
- "cmd": [],
- "name": "checkout source code.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python3",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://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": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "git rev-parse"
- },
- {
- "cmd": [],
- "name": "Dependencies"
- },
- {
- "cmd": [],
- "name": "prepare environment"
- },
- {
- "cmd": [
- "flutter",
- "doctor",
- "-v"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "prepare environment.flutter doctor",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "update-packages",
- "-v"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "infra_step": true,
- "name": "prepare environment.download dependencies",
- "timeout": 300,
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [],
- "name": "read yaml",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@yaml@@@@",
- "@@@STEP_LOG_END@yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[START_DIR]/plugins/.ci/targets/tests.yaml",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "name": "read yaml.read",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_END@tests.yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "RECIPE_MODULE[flutter::yaml]/resources/parse_yaml.py",
- "--yaml_file",
- "[START_DIR]/plugins/.ci/targets/tests.yaml",
- "--json_file",
- "/path/to/tmp/json"
- ],
- "infra_step": true,
- "name": "read yaml.parse",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ \"arg1\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"arg2\"@@@",
- "@@@STEP_LOG_LINE@json.output@ ], @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"one\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"script\": \"myscript\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ ]@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [],
- "name": "Run plugin tests"
- },
- {
- "cmd": [
- "bash",
- "[START_DIR]/plugins/myscript",
- "arg1",
- "arg2"
- ],
- "cwd": "[START_DIR]/plugins",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin",
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "Run plugin tests.one",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/plugins/plugins.expected/master_channel.json b/recipes/plugins/plugins.expected/master_channel.json
deleted file mode 100644
index fdc2965..0000000
--- a/recipes/plugins/plugins.expected/master_channel.json
+++ /dev/null
@@ -1,422 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout source code"
- },
- {
- "cmd": [],
- "name": "checkout source code.Checkout flutter/plugins",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python3",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/plugins",
- "--url",
- "https://flutter.googlesource.com/mirrors/plugins"
- ],
- "name": "checkout source code.Checkout flutter/plugins.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "main",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/plugins",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.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]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[START_DIR]/plugins/.ci/flutter_master.version",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "name": "checkout source code.read pinned version",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@flutter_master.version@refs/heads/master@@@",
- "@@@STEP_LOG_END@flutter_master.version@@@"
- ]
- },
- {
- "cmd": [],
- "name": "checkout source code.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python3",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://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": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "git rev-parse"
- },
- {
- "cmd": [],
- "name": "Dependencies"
- },
- {
- "cmd": [],
- "name": "prepare environment"
- },
- {
- "cmd": [
- "flutter",
- "doctor",
- "-v"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "prepare environment.flutter doctor",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "update-packages",
- "-v"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "infra_step": true,
- "name": "prepare environment.download dependencies",
- "timeout": 300,
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [],
- "name": "read yaml",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@yaml@@@@",
- "@@@STEP_LOG_END@yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[START_DIR]/plugins/.ci/targets/tests.yaml",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "name": "read yaml.read",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_END@tests.yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "RECIPE_MODULE[flutter::yaml]/resources/parse_yaml.py",
- "--yaml_file",
- "[START_DIR]/plugins/.ci/targets/tests.yaml",
- "--json_file",
- "/path/to/tmp/json"
- ],
- "infra_step": true,
- "name": "read yaml.parse",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ \"arg1\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"arg2\"@@@",
- "@@@STEP_LOG_LINE@json.output@ ], @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"one\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"script\": \"myscript\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ ]@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [],
- "name": "Run plugin tests"
- },
- {
- "cmd": [
- "bash",
- "[START_DIR]/plugins/myscript",
- "arg1",
- "arg2"
- ],
- "cwd": "[START_DIR]/plugins",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "Run plugin tests.one",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/plugins/plugins.expected/stable_channel.json b/recipes/plugins/plugins.expected/stable_channel.json
deleted file mode 100644
index 1a9df12..0000000
--- a/recipes/plugins/plugins.expected/stable_channel.json
+++ /dev/null
@@ -1,403 +0,0 @@
-[
- {
- "cmd": [],
- "name": "checkout source code"
- },
- {
- "cmd": [],
- "name": "checkout source code.Checkout flutter/plugins",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python3",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/plugins",
- "--url",
- "https://flutter.googlesource.com/mirrors/plugins"
- ],
- "name": "checkout source code.Checkout flutter/plugins.git setup",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "fetch",
- "origin",
- "main",
- "--recurse-submodules",
- "--progress",
- "--tags"
- ],
- "cwd": "[START_DIR]/plugins",
- "env": {
- "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
- },
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git fetch",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "checkout",
- "-f",
- "FETCH_HEAD"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git checkout",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.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]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.git clean",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "sync"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.submodule sync",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [
- "git",
- "submodule",
- "update",
- "--init",
- "--recursive"
- ],
- "cwd": "[START_DIR]/plugins",
- "infra_step": true,
- "name": "checkout source code.Checkout flutter/plugins.submodule update",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@2@@@"
- ]
- },
- {
- "cmd": [],
- "name": "checkout source code.Checkout flutter/flutter",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "python3",
- "-u",
- "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
- "--path",
- "[START_DIR]/flutter",
- "--url",
- "https://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": [
- "git",
- "rev-parse",
- "HEAD"
- ],
- "cwd": "[START_DIR]/flutter",
- "infra_step": true,
- "name": "git rev-parse"
- },
- {
- "cmd": [],
- "name": "Dependencies"
- },
- {
- "cmd": [],
- "name": "prepare environment"
- },
- {
- "cmd": [
- "flutter",
- "doctor",
- "-v"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "prepare environment.flutter doctor",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [
- "flutter",
- "update-packages",
- "-v"
- ],
- "cwd": "[START_DIR]/flutter",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "infra_step": true,
- "name": "prepare environment.download dependencies",
- "timeout": 300,
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "cmd": [],
- "name": "read yaml",
- "~followup_annotations": [
- "@@@STEP_LOG_LINE@yaml@@@@",
- "@@@STEP_LOG_END@yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "-u",
- "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
- "--json-output",
- "/path/to/tmp/json",
- "copy",
- "[START_DIR]/plugins/.ci/targets/tests.yaml",
- "/path/to/tmp/"
- ],
- "infra_step": true,
- "name": "read yaml.read",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_END@tests.yaml@@@"
- ]
- },
- {
- "cmd": [
- "vpython3",
- "RECIPE_MODULE[flutter::yaml]/resources/parse_yaml.py",
- "--yaml_file",
- "[START_DIR]/plugins/.ci/targets/tests.yaml",
- "--json_file",
- "/path/to/tmp/json"
- ],
- "infra_step": true,
- "name": "read yaml.parse",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@",
- "@@@STEP_LOG_LINE@json.output@{@@@",
- "@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ {@@@",
- "@@@STEP_LOG_LINE@json.output@ \"args\": [@@@",
- "@@@STEP_LOG_LINE@json.output@ \"arg1\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"arg2\"@@@",
- "@@@STEP_LOG_LINE@json.output@ ], @@@",
- "@@@STEP_LOG_LINE@json.output@ \"name\": \"one\", @@@",
- "@@@STEP_LOG_LINE@json.output@ \"script\": \"myscript\"@@@",
- "@@@STEP_LOG_LINE@json.output@ }@@@",
- "@@@STEP_LOG_LINE@json.output@ ]@@@",
- "@@@STEP_LOG_LINE@json.output@}@@@",
- "@@@STEP_LOG_END@json.output@@@"
- ]
- },
- {
- "cmd": [],
- "name": "Run plugin tests"
- },
- {
- "cmd": [
- "bash",
- "[START_DIR]/plugins/myscript",
- "arg1",
- "arg2"
- ],
- "cwd": "[START_DIR]/plugins",
- "env": {
- "DEPOT_TOOLS": "RECIPE_REPO[depot_tools]",
- "GIT_BRANCH": "",
- "LUCI_BRANCH": "",
- "LUCI_CI": "True",
- "LUCI_PR": "",
- "OS": "linux",
- "PUB_CACHE": "[START_DIR]/.pub-cache",
- "REVISION": "12345abcde12345abcde12345abcde12345abcde",
- "SDK_CHECKOUT_PATH": "[START_DIR]/flutter"
- },
- "env_prefixes": {
- "PATH": [
- "[START_DIR]/flutter/bin",
- "[START_DIR]/flutter/bin/cache/dart-sdk/bin"
- ]
- },
- "name": "Run plugin tests.one",
- "~followup_annotations": [
- "@@@STEP_NEST_LEVEL@1@@@"
- ]
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/plugins/plugins.py b/recipes/plugins/plugins.py
deleted file mode 100644
index ad9cf90..0000000
--- a/recipes/plugins/plugins.py
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 2020 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.
-
-DEPS = [
- 'flutter/flutter_deps',
- 'flutter/repo_util',
- 'flutter/osx_sdk',
- 'flutter/yaml',
- 'recipe_engine/context',
- 'recipe_engine/file',
- 'recipe_engine/json',
- 'recipe_engine/path',
- 'recipe_engine/properties',
- 'recipe_engine/step',
-]
-
-
-def RunSteps(api):
- """Recipe to run flutter plugin tests."""
- plugins_checkout_path = api.path['start_dir'].join('plugins')
- flutter_checkout_path = api.path['start_dir'].join('flutter')
- channel = api.properties.get('channel', 'master')
- version_file_name = api.properties.get('version_file', '')
- with api.step.nest('checkout source code'):
- api.repo_util.checkout(
- 'plugins',
- checkout_path=plugins_checkout_path,
- url=api.properties.get('git_url'),
- ref=api.properties.get('git_ref')
- )
- # Check out the specified version of Flutter.
- flutter_ref = 'refs/heads/%s' % channel
- # When specified, use a pinned version instead of latest.
- if version_file_name:
- version_file = plugins_checkout_path.join('.ci', version_file_name)
- flutter_ref = api.file.read_text(
- 'read pinned version', version_file, flutter_ref
- ).strip()
- api.repo_util.checkout(
- 'flutter',
- checkout_path=flutter_checkout_path,
- ref=flutter_ref,
- url='https://github.com/flutter/flutter',
- )
- env, env_prefixes = api.repo_util.flutter_environment(flutter_checkout_path)
- with api.step.nest('Dependencies'):
- deps = api.properties.get('dependencies', [])
- api.flutter_deps.required_deps(env, env_prefixes, deps)
-
- with api.context(env=env, env_prefixes=env_prefixes,
- cwd=flutter_checkout_path):
- with api.step.nest('prepare environment'):
- api.step('flutter doctor', ['flutter', 'doctor', '-v'])
- # Fail fast on dependencies problem.
- timeout_secs = 300
- api.step(
- 'download dependencies', ['flutter', 'update-packages', '-v'],
- infra_step=True,
- timeout=timeout_secs
- )
- tests_yaml_path = plugins_checkout_path.join(
- '.ci', 'targets', api.properties.get('target_file', 'tests.yaml')
- )
- result = api.yaml.read('read yaml', tests_yaml_path, api.json.output())
- with api.context(env=env, env_prefixes=env_prefixes,
- cwd=plugins_checkout_path):
- with api.step.nest('Run plugin tests'):
- dep_list = {d['dependency']: d.get('version') for d in deps}
- if 'xcode' in dep_list:
- with api.osx_sdk('ios'):
- api.flutter_deps.gems(
- env, env_prefixes, flutter_checkout_path.join('dev', 'ci', 'mac')
- )
- with api.context(env=env, env_prefixes=env_prefixes):
- run_test(api, result, plugins_checkout_path)
- else:
- run_test(api, result, plugins_checkout_path)
-
-def run_test(api, result, plugins_checkout_path):
- """Run tests sequentially following the script"""
- for task in result.json.output['tasks']:
- script_path = plugins_checkout_path.join(task['script'])
- cmd = ['bash', script_path]
- if 'args' in task:
- args = task['args']
- cmd.extend(args)
- api.step(task['name'], cmd)
-
-
-def GenTests(api):
- flutter_path = api.path['start_dir'].join('flutter')
- tasks_dict = {'tasks': [{'name': 'one', 'script': 'myscript', 'args': ['arg1', 'arg2']}]}
- yield api.test(
- 'master_channel', api.repo_util.flutter_environment_data(flutter_path),
- api.properties(
- channel='master',
- version_file='flutter_master.version',
- ),
- api.step_data('read yaml.parse', api.json.output(tasks_dict))
- )
- yield api.test(
- 'stable_channel', api.repo_util.flutter_environment_data(flutter_path),
- api.properties(
- channel='stable',
- ),
- api.step_data('read yaml.parse', api.json.output(tasks_dict))
- )
- yield api.test(
- 'mac', api.repo_util.flutter_environment_data(flutter_path),
- api.properties(
- channel='master',
- version_file='flutter_master.version',
- dependencies=[{'dependency': 'xcode'}],
- ),
- api.step_data('read yaml.parse', api.json.output(tasks_dict))
- )
diff --git a/recipes/plugins/plugins_publish.expected/basic.json b/recipes/plugins/plugins_publish.expected/basic.json
deleted file mode 100644
index 195251a..0000000
--- a/recipes/plugins/plugins_publish.expected/basic.json
+++ /dev/null
@@ -1,12 +0,0 @@
-[
- {
- "cmd": [
- "echo",
- "Complete publishing plugins (tests)]"
- ],
- "name": "report"
- },
- {
- "name": "$result"
- }
-]
\ No newline at end of file
diff --git a/recipes/plugins/plugins_publish.py b/recipes/plugins/plugins_publish.py
deleted file mode 100644
index d5aea15..0000000
--- a/recipes/plugins/plugins_publish.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 2020 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.
-
-DEPS = [
- 'recipe_engine/step',
-]
-
-def RunSteps(api):
- """Recipe to run flutter plugin publish."""
- # For now we only echo to test if this recipe runs.
- api.step('report', ['echo', 'Complete publishing plugins (tests)]'])
-
-def GenTests(api):
- yield api.test('basic')