Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Enable CI tests on beta #3538

Merged
merged 3 commits into from
Feb 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ task:
upgrade_script:
- flutter channel stable
- flutter upgrade
- flutter channel beta
- flutter upgrade
- flutter channel master
- flutter upgrade
- git fetch origin master
Expand All @@ -33,6 +35,7 @@ task:
env:
matrix:
CHANNEL: "master"
CHANNEL: "beta"
CHANNEL: "stable"
test_script:
# TODO(jackson): Allow web plugins once supported on stable
Expand All @@ -44,12 +47,14 @@ task:
env:
matrix:
CHANNEL: "master"
CHANNEL: "beta"
CHANNEL: "stable"
script: ./script/incremental_build.sh analyze
- name: build_all_plugins_apk
env:
matrix:
CHANNEL: "master"
CHANNEL: "beta"
CHANNEL: "stable"
script:
# TODO(jackson): Allow web plugins once supported on stable
Expand Down Expand Up @@ -79,6 +84,7 @@ task:
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4"
matrix:
CHANNEL: "master"
CHANNEL: "beta"
CHANNEL: "stable"
MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
GCLOUD_FIREBASE_TESTLAB_KEY: ENCRYPTED[07586610af1fdfc894e5969f70ef2458341b9b7e9c3b7c4225a663b4a48732b7208a4d91c3b7d45305a6b55fa2a37fc4]
Expand Down Expand Up @@ -121,6 +127,8 @@ task:
upgrade_script:
- flutter channel stable
- flutter upgrade
- flutter channel beta
- flutter upgrade
- flutter channel master
- flutter upgrade
- git fetch origin master
Expand Down Expand Up @@ -148,6 +156,8 @@ task:
- sudo gem install cocoapods
- flutter channel stable
- flutter upgrade
- flutter channel beta
- flutter upgrade
- flutter channel master
- flutter upgrade
- git fetch origin master
Expand All @@ -162,6 +172,7 @@ task:
env:
matrix:
CHANNEL: "master"
CHANNEL: "beta"
CHANNEL: "stable"
script:
# TODO(jackson): Allow web plugins once supported on stable
Expand All @@ -180,6 +191,7 @@ task:
PLUGIN_SHARDING: "--shardIndex 3 --shardCount 4"
matrix:
CHANNEL: "master"
CHANNEL: "beta"
CHANNEL: "stable"
SIMCTL_CHILD_MAPS_API_KEY: ENCRYPTED[596a9f6bca436694625ac50851dc5da6b4d34cba8025f7db5bc9465142e8cd44e15f69e3507787753accebfc4910d550]
build_script:
Expand Down
8 changes: 3 additions & 5 deletions script/build_all_plugins_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,11 @@ readonly EXCLUDED_PLUGINS_LIST=(
readonly EXCLUDED=$(IFS=, ; echo "${EXCLUDED_PLUGINS_LIST[*]}")

ALL_EXCLUDED=($EXCLUDED)
# Exclude nnbd plugins from stable.
# Exclude nnbd plugins from stable, and conflicting plugins otherwise.
if [ "$CHANNEL" == "stable" ]; then
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_STABLE")
fi
# Exclude non-nnbd plugins from master.
if [ "$CHANNEL" != "stable" ]; then
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_MASTER")
else
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FOR_NNBD")
fi

echo "Excluding the following plugins: $ALL_EXCLUDED"
Expand Down
2 changes: 1 addition & 1 deletion script/nnbd_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ readonly NON_NNBD_PLUGINS_LIST=(
)

export EXCLUDED_PLUGINS_FROM_STABLE=$(IFS=, ; echo "${NNBD_PLUGINS_LIST[*]}")
export EXCLUDED_PLUGINS_FROM_MASTER=$(IFS=, ; echo "${NON_NNBD_PLUGINS_LIST[*]}")
export EXCLUDED_PLUGINS_FOR_NNBD=$(IFS=, ; echo "${NON_NNBD_PLUGINS_LIST[*]}")