Turn of use of compute credits for PR builds. (#24352)
diff --git a/.cirrus.yml b/.cirrus.yml
index 10f7ffe..c8728c1 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -2,7 +2,7 @@
image: gcr.io/flutter-cirrus/build-flutter-image:latest
task:
- use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
+ use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
env:
# Name the SDK directory to include a space so that we constantly
# test path names with spaces in them.
@@ -77,7 +77,7 @@
task:
- use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
+ use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
windows_container:
image: cirrusci/windowsservercore:2016
os_version: 2016
@@ -112,7 +112,7 @@
SHARD: tool_tests
task:
- use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
+ use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
name: deploy_gallery-macos
only_if: $CIRRUS_BRANCH == 'dev'
pub_cache:
@@ -146,7 +146,7 @@
- ./dev/bots/deploy_gallery.sh
task:
- use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
+ use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
osx_instance:
image: high-sierra-xcode-9.4.1
depends_on: