1
+ gcp_credentials : ENCRYPTED[ec898795b6f1b54f9cc2ab4104909f1053651f65fcab96397cfdc33dae6df5fd0fa972e29ba19f4f95125de844ab1641]
2
+
1
3
# Don't run on release tags since it creates O(n^2) tasks where n is the
2
4
# number of plugins
3
5
only_if : $CIRRUS_TAG == ''
4
- use_compute_credits : $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
5
6
env :
6
7
INTEGRATION_TEST_PATH : " ./packages/integration_test"
7
8
CHANNEL : " master" # Default to master when not explicitly set by a task.
@@ -32,8 +33,13 @@ macos_template: &MACOS_TEMPLATE
32
33
# concurrency limits.
33
34
task :
34
35
<< : *FLUTTER_UPGRADE_TEMPLATE
35
- container :
36
+ gke_container :
36
37
dockerfile : .ci/Dockerfile
38
+ builder_image_name : docker-builder # gce vm image
39
+ builder_image_project : flutter-cirrus
40
+ cluster_name : build-32-cluster
41
+ zone : us-central1-a
42
+ namespace : default
37
43
matrix :
38
44
# ## Platform-agnostic tasks ###
39
45
- name : plugin_tools_tests
@@ -110,6 +116,37 @@ task:
110
116
build_script :
111
117
- flutter config --enable-linux-desktop
112
118
- ./script/incremental_build.sh build-examples --linux
119
+ - xvfb-run ./script/incremental_build.sh drive-examples --linux
120
+
121
+ # Legacy Dockerfile configuration for web integration tests.
122
+ # https://github.com/flutter/web_installers doesn't yet support the current
123
+ # stable version of Chrome, so newly-generated Docker images don't work.
124
+ # TODO: Merge this task into the "Web tasks" section of the "Light-workload
125
+ # tasks" block above once web_installers has been updated to support Chrome 89
126
+ # (which is what the current image generated from .ci/Dockerfile has).
127
+ task :
128
+ << : *FLUTTER_UPGRADE_TEMPLATE
129
+ gke_container :
130
+ dockerfile : .ci/Dockerfile-LegacyChrome
131
+ builder_image_name : docker-builder # gce vm image
132
+ builder_image_project : flutter-cirrus
133
+ cluster_name : build-32-cluster
134
+ zone : us-central1-a
135
+ namespace : default
136
+ matrix :
137
+ - name : integration_web_smoke_test
138
+ env :
139
+ matrix :
140
+ CHANNEL : " master"
141
+ CHANNEL : " stable"
142
+ # Tests integration example test in web.
143
+ only_if : " changesInclude('.cirrus.yml', 'packages/integration_test/**') || $CIRRUS_PR == ''"
144
+ install_script :
145
+ - git clone https://github.com/flutter/web_installers.git
146
+ - cd web_installers/packages/web_drivers/
147
+ - pub get
148
+ - dart lib/web_driver_installer.dart chromedriver --install-only
149
+ - ./chromedriver/chromedriver --port=4444 &
113
150
test_script :
114
151
- xvfb-run ./script/incremental_build.sh drive-examples --linux
115
152
@@ -118,8 +155,13 @@ task:
118
155
# for non-credit runs.
119
156
task :
120
157
<< : *FLUTTER_UPGRADE_TEMPLATE
121
- container :
158
+ gke_container :
122
159
dockerfile : .ci/Dockerfile
160
+ builder_image_name : docker-builder # gce vm image
161
+ builder_image_project : flutter-cirrus
162
+ cluster_name : build-32-cluster
163
+ zone : us-central1-a
164
+ namespace : default
123
165
cpu : 4
124
166
memory : 12G
125
167
matrix :
0 commit comments