Unverified Commit bd0115f0 authored by Casey Hillers's avatar Casey Hillers Committed by GitHub

[cirrus] Disable outside of tip of tree (#115774)

* [cirrus] Disable outside of tip of tree

* Fix string issue

* Remove old field

* Cirrus_branch to branch

* Branch to cirrus branch

* Cirrus branch -> cirrus base branch
parent 073cefad
...@@ -68,7 +68,7 @@ task: ...@@ -68,7 +68,7 @@ task:
- which flutter - which flutter
matrix: matrix:
- name: analyze-linux # linux-only - name: analyze-linux # linux-only
only_if: "$CIRRUS_PR != ''" only_if: "$CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
environment: environment:
# Empirically, the analyze-linux shard runs surprisingly fast (under 15 minutes) with just 1 # Empirically, the analyze-linux shard runs surprisingly fast (under 15 minutes) with just 1
# CPU. We noticed OOM failures with 6GB 4/2020, so we increased the memory. # CPU. We noticed OOM failures with 6GB 4/2020, so we increased the memory.
...@@ -78,7 +78,7 @@ task: ...@@ -78,7 +78,7 @@ task:
- dart --enable-asserts ./dev/bots/analyze.dart - dart --enable-asserts ./dev/bots/analyze.dart
- name: framework_tests-widgets-linux - name: framework_tests-widgets-linux
only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != ''" only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
environment: environment:
# We use 3 CPUs because that's the minimum required to get framework_tests-widgets-linux # We use 3 CPUs because that's the minimum required to get framework_tests-widgets-linux
# running fast enough that it is not the long pole, as of October 2019. # running fast enough that it is not the long pole, as of October 2019.
...@@ -87,7 +87,7 @@ task: ...@@ -87,7 +87,7 @@ task:
- dart --enable-asserts ./dev/bots/test.dart - dart --enable-asserts ./dev/bots/test.dart
- name: framework_tests-libraries-linux - name: framework_tests-libraries-linux
only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != ''" only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
environment: environment:
# We use 3 CPUs because that's the minimum required to get the # We use 3 CPUs because that's the minimum required to get the
# framework_tests-libraries-linux shard running fast enough that it is not the long pole, as # framework_tests-libraries-linux shard running fast enough that it is not the long pole, as
...@@ -98,7 +98,7 @@ task: ...@@ -98,7 +98,7 @@ task:
- name: framework_tests-misc-linux - name: framework_tests-misc-linux
# this includes the tests for directories in dev/ # this includes the tests for directories in dev/
only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_goldens/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != ''" only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter/**', 'packages/flutter_goldens/**', 'packages/flutter_test/**', 'packages/flutter_tools/lib/src/test/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
environment: environment:
# We use 3 CPUs because that's the minimum required to get framework_tests-misc-linux # We use 3 CPUs because that's the minimum required to get framework_tests-misc-linux
# running fast enough that it is not the long pole, as of October 2019. # running fast enough that it is not the long pole, as of October 2019.
...@@ -107,7 +107,7 @@ task: ...@@ -107,7 +107,7 @@ task:
- dart --enable-asserts ./dev/bots/test.dart - dart --enable-asserts ./dev/bots/test.dart
- name: tool_tests-general-linux - name: tool_tests-general-linux
only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != ''" only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
environment: environment:
# As of November 2019, the tool_tests-general-linux shard got faster with more CPUs up to 4 # As of November 2019, the tool_tests-general-linux shard got faster with more CPUs up to 4
# CPUs, and needed at least 10G of RAM to not run out of memory. # CPUs, and needed at least 10G of RAM to not run out of memory.
...@@ -122,7 +122,7 @@ task: ...@@ -122,7 +122,7 @@ task:
- dart --enable-asserts ./dev/bots/test.dart - dart --enable-asserts ./dev/bots/test.dart
- name: tool_tests-commands-linux - name: tool_tests-commands-linux
only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != ''" only_if: "changesInclude('.cirrus.yml', 'dev/**', 'packages/flutter_tools/**', 'bin/**') && $CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
environment: environment:
# As of October 2019, the tool_tests-commands-linux shard got faster with more CPUs up to 6 # As of October 2019, the tool_tests-commands-linux shard got faster with more CPUs up to 6
# CPUs, and needed at least 8G of RAM to not run out of memory. # CPUs, and needed at least 8G of RAM to not run out of memory.
...@@ -139,12 +139,12 @@ task: ...@@ -139,12 +139,12 @@ task:
environment: environment:
CPU: 4 CPU: 4
MEMORY: 12G MEMORY: 12G
only_if: "$CIRRUS_PR != ''" only_if: "$CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
script: script:
- ./dev/bots/docs.sh - ./dev/bots/docs.sh
- name: customer_testing-linux - name: customer_testing-linux
only_if: "$CIRRUS_PR != ''" only_if: "$CIRRUS_PR != '' && $CIRRUS_BASE_BRANCH == 'master'"
environment: environment:
# Empirically, this shard runs fine at 1 CPU and 4G RAM as of October 2019. We will probably # Empirically, this shard runs fine at 1 CPU and 4G RAM as of October 2019. We will probably
# want to grow this container when we invite people to add their tests in large numbers. # want to grow this container when we invite people to add their tests in large numbers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment