Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 5251954

Browse files
[ci] Part 1 of swapping iOS task arch
Adds Intel versions of iOS build-all and ARM versions of iOS platform tests, as part one of swapping them. Once the new tasks propagate, they will be brought out of bringup mode and the old versions removed. These were on the opposite architectures because of issues with running the platfor tests on Cirrus ARM VMs, and then were ported as-is from Cirrus to LUCI, but now that macOS ARM works on LUCI we can switch to the desired configuration.
1 parent 8f12b27 commit 5251954

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed

.ci.yaml

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,26 @@ targets:
129129
version_file: flutter_stable.version
130130
target_file: ios_build_all_plugins.yaml
131131

132+
- name: Mac_x64 ios_build_all_plugins master
133+
bringup: true # New task, replaces ARM version
134+
recipe: plugins/plugins
135+
timeout: 30
136+
properties:
137+
channel: master
138+
add_recipes_cq: "true"
139+
version_file: flutter_master.version
140+
target_file: ios_build_all_plugins.yaml
141+
142+
- name: Mac_x64 ios_build_all_plugins stable
143+
bringup: true # New task, replaces ARM version
144+
recipe: plugins/plugins
145+
timeout: 30
146+
properties:
147+
channel: stable
148+
add_recipes_cq: "true"
149+
version_file: flutter_stable.version
150+
target_file: ios_build_all_plugins.yaml
151+
132152
# TODO(stuartmorgan): Swap the architecture of this and ios_build_all_plugins
133153
# once simulator tests are reliable on the ARM infrastructure. See discussion
134154
# at https://github.com/flutter/plugins/pull/5693#issuecomment-1126011089
@@ -168,6 +188,46 @@ targets:
168188
target_file: ios_platform_tests.yaml
169189
package_sharding: "--shardIndex 3 --shardCount 4"
170190

191+
- name: Mac_arm64 ios_platform_tests_1_of_4 master
192+
bringup: true # New task; will replace Intel version
193+
recipe: plugins/plugins
194+
timeout: 60
195+
properties:
196+
add_recipes_cq: "true"
197+
version_file: flutter_master.version
198+
target_file: ios_platform_tests.yaml
199+
package_sharding: "--shardIndex 0 --shardCount 4"
200+
201+
- name: Mac_arm64 ios_platform_tests_2_of_4 master
202+
bringup: true # New task; will replace Intel version
203+
recipe: plugins/plugins
204+
timeout: 60
205+
properties:
206+
add_recipes_cq: "true"
207+
version_file: flutter_master.version
208+
target_file: ios_platform_tests.yaml
209+
package_sharding: "--shardIndex 1 --shardCount 4"
210+
211+
- name: Mac_arm64 ios_platform_tests_3_of_4 master
212+
bringup: true # New task; will replace Intel version
213+
recipe: plugins/plugins
214+
timeout: 60
215+
properties:
216+
add_recipes_cq: "true"
217+
version_file: flutter_master.version
218+
target_file: ios_platform_tests.yaml
219+
package_sharding: "--shardIndex 2 --shardCount 4"
220+
221+
- name: Mac_arm64 ios_platform_tests_4_of_4 master
222+
bringup: true # New task; will replace Intel version
223+
recipe: plugins/plugins
224+
timeout: 60
225+
properties:
226+
add_recipes_cq: "true"
227+
version_file: flutter_master.version
228+
target_file: ios_platform_tests.yaml
229+
package_sharding: "--shardIndex 3 --shardCount 4"
230+
171231
# Don't run full platform tests on both channels in pre-submit.
172232
- name: Mac_x64 ios_platform_tests_1_of_4 stable
173233
recipe: plugins/plugins
@@ -213,6 +273,54 @@ targets:
213273
target_file: ios_platform_tests.yaml
214274
package_sharding: "--shardIndex 3 --shardCount 4"
215275

276+
- name: Mac_arm64 ios_platform_tests_1_of_4 stable
277+
bringup: true # New task; will replace Intel version
278+
recipe: plugins/plugins
279+
presubmit: false
280+
timeout: 60
281+
properties:
282+
channel: stable
283+
add_recipes_cq: "true"
284+
version_file: flutter_stable.version
285+
target_file: ios_platform_tests.yaml
286+
package_sharding: "--shardIndex 0 --shardCount 4"
287+
288+
- name: Mac_arm64 ios_platform_tests_2_of_4 stable
289+
bringup: true # New task; will replace Intel version
290+
recipe: plugins/plugins
291+
presubmit: false
292+
timeout: 60
293+
properties:
294+
channel: stable
295+
add_recipes_cq: "true"
296+
version_file: flutter_stable.version
297+
target_file: ios_platform_tests.yaml
298+
package_sharding: "--shardIndex 1 --shardCount 4"
299+
300+
- name: Mac_arm64 ios_platform_tests_3_of_4 stable
301+
bringup: true # New task; will replace Intel version
302+
recipe: plugins/plugins
303+
presubmit: false
304+
timeout: 60
305+
properties:
306+
channel: stable
307+
add_recipes_cq: "true"
308+
version_file: flutter_stable.version
309+
target_file: ios_platform_tests.yaml
310+
package_sharding: "--shardIndex 2 --shardCount 4"
311+
312+
- name: Mac_arm64 ios_platform_tests_4_of_4 stable
313+
bringup: true # New task; will replace Intel version
314+
recipe: plugins/plugins
315+
presubmit: false
316+
timeout: 60
317+
properties:
318+
channel: stable
319+
add_recipes_cq: "true"
320+
version_file: flutter_stable.version
321+
target_file: ios_platform_tests.yaml
322+
package_sharding: "--shardIndex 3 --shardCount 4"
323+
216324
- name: Windows win32-platform_tests master
217325
recipe: plugins/plugins
218326
timeout: 60

0 commit comments

Comments
 (0)