From cdde7e9c84fc62d44be40ed83f4fbc5b791a5265 Mon Sep 17 00:00:00 2001 From: Godofredo Contreras Date: Thu, 25 May 2023 22:19:38 -0700 Subject: [PATCH 1/4] Checkout android and emsdk deps in linux. This is to optimize the caches for builders that require those dependencies. Bug: https://github.com/flutter/flutter/issues/127627 --- .ci.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.ci.yaml b/.ci.yaml index 2e8847757ebaa..3350c21e78b4d 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -128,7 +128,7 @@ targets: - main recipe: engine_v2/cache bringup: true - presubmit: false + presubmit: true properties: cache_name: "builder" cache_root: "cache" @@ -137,6 +137,11 @@ targets: "builder", "git" ] + gclient_variables: >- + { + "download_emsdk": true, + "download_android_deps": true, + }, timeout: 60 - name: Windows builder_cache From 4ff658527a3c4ab8b70cd053bd20121f5d7b14a5 Mon Sep 17 00:00:00 2001 From: Godofredo Contreras Date: Thu, 25 May 2023 22:24:23 -0700 Subject: [PATCH 2/4] Remove bringup to validate. --- .ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci.yaml b/.ci.yaml index 3350c21e78b4d..68c1083415eaa 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -127,7 +127,7 @@ targets: enabled_branches: - main recipe: engine_v2/cache - bringup: true + bringup: false presubmit: true properties: cache_name: "builder" From 66588d0e4cc3566618e10ef08241b3d007854650 Mon Sep 17 00:00:00 2001 From: Godofredo Contreras Date: Fri, 26 May 2023 08:58:02 -0700 Subject: [PATCH 3/4] Download android_deps for all the platform caches. --- .ci.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.ci.yaml b/.ci.yaml index 68c1083415eaa..7c3b861cefafd 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -127,8 +127,6 @@ targets: enabled_branches: - main recipe: engine_v2/cache - bringup: false - presubmit: true properties: cache_name: "builder" cache_root: "cache" @@ -141,7 +139,7 @@ targets: { "download_emsdk": true, "download_android_deps": true, - }, + } timeout: 60 - name: Windows builder_cache @@ -158,6 +156,10 @@ targets: "builder", "git" ] + gclient_variables: >- + { + "download_android_deps": true, + } timeout: 60 - name: Mac builder_cache @@ -174,6 +176,10 @@ targets: "builder", "git" ] + gclient_variables: >- + { + "download_android_deps": true, + } timeout: 60 - name: Linux Benchmarks From d7b6b766f42c629ad68ada061ea50ca3038ceacd Mon Sep 17 00:00:00 2001 From: Godofredo Contreras Date: Fri, 26 May 2023 09:30:07 -0700 Subject: [PATCH 4/4] Add presubmit false back. --- .ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.ci.yaml b/.ci.yaml index 7c3b861cefafd..f19260fe967a5 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -127,6 +127,8 @@ targets: enabled_branches: - main recipe: engine_v2/cache + bringup: true + presubmit: false properties: cache_name: "builder" cache_root: "cache"