Skip to content

Commit 2edf563

Browse files
[ci] Part 1 of swapping iOS platform test arch (flutter#7064)
* [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. * Increase sharding * Renaming * Also do stable
1 parent ddb9777 commit 2edf563

File tree

1 file changed

+130
-0
lines changed

1 file changed

+130
-0
lines changed

.ci.yaml

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,26 @@ targets:
125125
version_file: flutter_stable.version
126126
target_file: ios_build_all_plugins.yaml
127127

128+
- name: Mac_x64 ios_build_all_plugins master
129+
bringup: true # New task, replaces ARM version
130+
recipe: plugins/plugins
131+
timeout: 30
132+
properties:
133+
channel: master
134+
add_recipes_cq: "true"
135+
version_file: flutter_master.version
136+
target_file: ios_build_all_plugins.yaml
137+
138+
- name: Mac_x64 ios_build_all_plugins stable
139+
bringup: true # New task, replaces ARM version
140+
recipe: plugins/plugins
141+
timeout: 30
142+
properties:
143+
channel: stable
144+
add_recipes_cq: "true"
145+
version_file: flutter_stable.version
146+
target_file: ios_build_all_plugins.yaml
147+
128148
# TODO(stuartmorgan): Swap the architecture of this and ios_build_all_plugins
129149
# once simulator tests are reliable on the ARM infrastructure. See discussion
130150
# at https://github.com/flutter/plugins/pull/5693#issuecomment-1126011089
@@ -164,6 +184,56 @@ targets:
164184
target_file: ios_platform_tests.yaml
165185
package_sharding: "--shardIndex 3 --shardCount 4"
166186

187+
- name: Mac_arm64 ios_platform_tests_shard_1 master - plugins
188+
bringup: true # New task; will replace Intel version
189+
recipe: plugins/plugins
190+
timeout: 60
191+
properties:
192+
add_recipes_cq: "true"
193+
version_file: flutter_master.version
194+
target_file: ios_platform_tests.yaml
195+
package_sharding: "--shardIndex 0 --shardCount 5"
196+
197+
- name: Mac_arm64 ios_platform_tests_shard_2 master - plugins
198+
bringup: true # New task; will replace Intel version
199+
recipe: plugins/plugins
200+
timeout: 60
201+
properties:
202+
add_recipes_cq: "true"
203+
version_file: flutter_master.version
204+
target_file: ios_platform_tests.yaml
205+
package_sharding: "--shardIndex 1 --shardCount 5"
206+
207+
- name: Mac_arm64 ios_platform_tests_shard_3 master - plugins
208+
bringup: true # New task; will replace Intel version
209+
recipe: plugins/plugins
210+
timeout: 60
211+
properties:
212+
add_recipes_cq: "true"
213+
version_file: flutter_master.version
214+
target_file: ios_platform_tests.yaml
215+
package_sharding: "--shardIndex 2 --shardCount 5"
216+
217+
- name: Mac_arm64 ios_platform_tests_shard_4 master - plugins
218+
bringup: true # New task; will replace Intel version
219+
recipe: plugins/plugins
220+
timeout: 60
221+
properties:
222+
add_recipes_cq: "true"
223+
version_file: flutter_master.version
224+
target_file: ios_platform_tests.yaml
225+
package_sharding: "--shardIndex 3 --shardCount 5"
226+
227+
- name: Mac_arm64 ios_platform_tests_shard_5 master - plugins
228+
bringup: true # New task; will replace Intel version
229+
recipe: plugins/plugins
230+
timeout: 60
231+
properties:
232+
add_recipes_cq: "true"
233+
version_file: flutter_master.version
234+
target_file: ios_platform_tests.yaml
235+
package_sharding: "--shardIndex 4 --shardCount 5"
236+
167237
# Don't run full platform tests on both channels in pre-submit.
168238
- name: Mac_x64 ios_platform_tests_1_of_4 stable
169239
recipe: plugins/plugins
@@ -209,6 +279,66 @@ targets:
209279
target_file: ios_platform_tests.yaml
210280
package_sharding: "--shardIndex 3 --shardCount 4"
211281

282+
- name: Mac_arm64 ios_platform_tests_shard_1 stable - plugins
283+
bringup: true # New task; will replace Intel version
284+
recipe: plugins/plugins
285+
presubmit: false
286+
timeout: 60
287+
properties:
288+
channel: stable
289+
add_recipes_cq: "true"
290+
version_file: flutter_stable.version
291+
target_file: ios_platform_tests.yaml
292+
package_sharding: "--shardIndex 0 --shardCount 5"
293+
294+
- name: Mac_arm64 ios_platform_tests_shard_2 stable - plugins
295+
bringup: true # New task; will replace Intel version
296+
recipe: plugins/plugins
297+
presubmit: false
298+
timeout: 60
299+
properties:
300+
channel: stable
301+
add_recipes_cq: "true"
302+
version_file: flutter_stable.version
303+
target_file: ios_platform_tests.yaml
304+
package_sharding: "--shardIndex 1 --shardCount 5"
305+
306+
- name: Mac_arm64 ios_platform_tests_shard_3 stable - plugins
307+
bringup: true # New task; will replace Intel version
308+
recipe: plugins/plugins
309+
presubmit: false
310+
timeout: 60
311+
properties:
312+
channel: stable
313+
add_recipes_cq: "true"
314+
version_file: flutter_stable.version
315+
target_file: ios_platform_tests.yaml
316+
package_sharding: "--shardIndex 2 --shardCount 5"
317+
318+
- name: Mac_arm64 ios_platform_tests_shard_4 stable - plugins
319+
bringup: true # New task; will replace Intel version
320+
recipe: plugins/plugins
321+
presubmit: false
322+
timeout: 60
323+
properties:
324+
channel: stable
325+
add_recipes_cq: "true"
326+
version_file: flutter_stable.version
327+
target_file: ios_platform_tests.yaml
328+
package_sharding: "--shardIndex 3 --shardCount 5"
329+
330+
- name: Mac_arm64 ios_platform_tests_shard_5 stable - plugins
331+
bringup: true # New task; will replace Intel version
332+
recipe: plugins/plugins
333+
presubmit: false
334+
timeout: 60
335+
properties:
336+
channel: stable
337+
add_recipes_cq: "true"
338+
version_file: flutter_stable.version
339+
target_file: ios_platform_tests.yaml
340+
package_sharding: "--shardIndex 4 --shardCount 5"
341+
212342
- name: Windows win32-platform_tests master
213343
recipe: plugins/plugins
214344
timeout: 60

0 commit comments

Comments
 (0)