Turn of use of compute credits for PR builds. (#24352)

This commit is contained in:
Greg Spencer 2018-11-14 12:47:39 -08:00 committed by GitHub
parent e189f0c27f
commit ada1d29075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ container:
image: gcr.io/flutter-cirrus/build-flutter-image:latest image: gcr.io/flutter-cirrus/build-flutter-image:latest
task: task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
env: env:
# Name the SDK directory to include a space so that we constantly # Name the SDK directory to include a space so that we constantly
# test path names with spaces in them. # test path names with spaces in them.
@ -77,7 +77,7 @@ task:
task: task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
windows_container: windows_container:
image: cirrusci/windowsservercore:2016 image: cirrusci/windowsservercore:2016
os_version: 2016 os_version: 2016
@ -112,7 +112,7 @@ task:
SHARD: tool_tests SHARD: tool_tests
task: task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
name: deploy_gallery-macos name: deploy_gallery-macos
only_if: $CIRRUS_BRANCH == 'dev' only_if: $CIRRUS_BRANCH == 'dev'
pub_cache: pub_cache:
@ -146,7 +146,7 @@ task:
- ./dev/bots/deploy_gallery.sh - ./dev/bots/deploy_gallery.sh
task: task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
osx_instance: osx_instance:
image: high-sierra-xcode-9.4.1 image: high-sierra-xcode-9.4.1
depends_on: depends_on: