From 079058b7d3a92ff1850b856ef8fb1c1a4ff2d932 Mon Sep 17 00:00:00 2001 From: Yegor Date: Tue, 14 Apr 2020 20:10:10 -0700 Subject: [PATCH] reduce web shard count from 8 to 4 (flutter/engine#17635) reduce web shard count from 8 to 4 by using WEB_SHARD_COUNT --- engine/src/flutter/.cirrus.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/engine/src/flutter/.cirrus.yml b/engine/src/flutter/.cirrus.yml index c38fbb5b859..90e36e7a0b7 100644 --- a/engine/src/flutter/.cirrus.yml +++ b/engine/src/flutter/.cirrus.yml @@ -3,9 +3,10 @@ gcp_credentials: ENCRYPTED[987a78af29b91ce8489594c9ab3fec21845bbe5ba68294b8f6def web_shard_template: &WEB_SHARD_TEMPLATE only_if: "changesInclude('.cirrus.yml', 'DEPS', 'lib/web_ui/**', 'web_sdk/**') || $CIRRUS_PR == ''" environment: - # As of March 2020, the Web shards needed 16G of RAM and 4 CPUs to run all framework tests with goldens without flaking. + # As of March 2020, the Web shards needed 16G of RAM and 4 CPUs to run all framework tests with goldens without flaking. CPU: 4 MEMORY: 16G + WEB_SHARD_COUNT: 4 compile_host_script: | cd $ENGINE_PATH/src ./flutter/tools/gn --unoptimized --full-dart-sdk @@ -124,19 +125,7 @@ task: - name: web_tests-2-linux << : *WEB_SHARD_TEMPLATE - - name: web_tests-3-linux - << : *WEB_SHARD_TEMPLATE - - - name: web_tests-4-linux - << : *WEB_SHARD_TEMPLATE - - - name: web_tests-5-linux - << : *WEB_SHARD_TEMPLATE - - - name: web_tests-6-linux - << : *WEB_SHARD_TEMPLATE - - - name: web_tests-7_last-linux # last Web shard must end with _last + - name: web_tests-3_last-linux # last Web shard must end with _last << : *WEB_SHARD_TEMPLATE - name: web_engine_analysis