From 465227037a2855d5e1e599654e7f710816c3aea2 Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Wed, 11 Dec 2019 10:58:04 -0500 Subject: [PATCH] [skip ci] don't run Cirrus on tags (#2396) When all plugins are release at once there will be a tag for each of the plugins but each tag will again test all plugins which makes it not optimal. --- .cirrus.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 64ec43b4bb08..8b3352a40517 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -1,4 +1,6 @@ task: + # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins + only_if: $CIRRUS_TAG == '' use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == '' container: dockerfile: .ci/Dockerfile @@ -91,6 +93,8 @@ task: - export CIRRUS_COMMIT_MESSAGE=`cat /tmp/cirrus_commit_message.txt` task: + # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins + only_if: $CIRRUS_TAG == '' use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' osx_instance: image: mojave-xcode-11.2.1-flutter @@ -140,6 +144,8 @@ task: - ./script/incremental_build.sh build-examples --ipa - ./script/incremental_build.sh drive-examples task: + # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins + only_if: $CIRRUS_TAG == '' use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' osx_instance: image: mojave-xcode-11.2.1-flutter