mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 17:28:42 +08:00

Update the cirrus key. *List which issues are fixed by this PR. You must list at least one issue.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
gcp_credentials: ENCRYPTED[!9409b709ab4de7293a70606cca13eaf42e9cbc704e8a6b4e3d2b09484cf997cbd2334e1eeafe23626ad07a726106df90!]
|
|
|
|
# Run on PRs and main branch post submit only. Don't run tests when tagging.
|
|
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'main')
|
|
|
|
setup_template: &SETUP_TEMPLATE
|
|
upgrade_flutter_script:
|
|
- PINNED_VERSION=$(< .ci/flutter_master.version)
|
|
# Ensure that the repository has everything.
|
|
- cd $FLUTTER_HOME
|
|
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
|
|
- git fetch origin
|
|
# Switch to the pinned master version.
|
|
- git checkout $TARGET_TREEISH
|
|
# Run doctor to allow auditing of what version of Flutter the run is using.
|
|
- flutter doctor -v
|
|
tool_setup_script:
|
|
- .ci/scripts/prepare_tool.sh
|
|
|
|
task:
|
|
<< : *SETUP_TEMPLATE
|
|
gke_container:
|
|
dockerfile: .ci/Dockerfile
|
|
builder_image_name: docker-builder-linux # gce vm image
|
|
builder_image_project: flutter-cirrus
|
|
cluster_name: test-cluster
|
|
zone: us-central1-a
|
|
namespace: default
|
|
matrix:
|
|
# TODO(stuartmorgan): Migrate this to LUCI; See check_version.sh.
|
|
- name: version_check
|
|
only_if: $CIRRUS_PR != ''
|
|
version_script:
|
|
- ./script/tool_runner.sh version-check --check-for-missing-changes --pr-labels="$CIRRUS_PR_LABELS"
|