Skip to content

Commit bf99995

Browse files
[ci] Increase iOS sharding (#3119)
The sharding setup here is intended to match flutter/plugin to prepare for merging, and it's being changed (along with the names) in flutter/plugins#7064
1 parent d5feda5 commit bf99995

File tree

1 file changed

+41
-19
lines changed

1 file changed

+41
-19
lines changed

.ci.yaml

Lines changed: 41 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -66,51 +66,70 @@ targets:
6666
target_file: ios_build_all_packages.yaml
6767
channel: stable
6868

69-
# TODO(stuartmorgan): Remove "- packages" from all task names once
70-
# flutter/plugins is merged into this repo and turned down; it's here only
71-
# because names must be unique across all flutter repositories.
72-
- name: Mac_arm64 ios_platform_tests_1_of_4 master - packages
69+
- name: Mac_arm64 ios_platform_tests_shard_1 master
70+
bringup: true # New task
71+
recipe: packages/packages
72+
timeout: 60
73+
properties:
74+
add_recipes_cq: "true"
75+
version_file: flutter_master.version
76+
target_file: ios_platform_tests.yaml
77+
package_sharding: "--shardIndex 0 --shardCount 5"
78+
79+
- name: Mac_arm64 ios_platform_tests_shard_2 master
7380
bringup: true # New task
7481
recipe: packages/packages
7582
timeout: 60
7683
properties:
7784
add_recipes_cq: "true"
7885
version_file: flutter_master.version
7986
target_file: ios_platform_tests.yaml
80-
package_sharding: "--shardIndex 0 --shardCount 4"
87+
package_sharding: "--shardIndex 1 --shardCount 5"
8188

82-
- name: Mac_arm64 ios_platform_tests_2_of_4 master - packages
89+
- name: Mac_arm64 ios_platform_tests_shard_3 master
8390
bringup: true # New task
8491
recipe: packages/packages
8592
timeout: 60
8693
properties:
8794
add_recipes_cq: "true"
8895
version_file: flutter_master.version
8996
target_file: ios_platform_tests.yaml
90-
package_sharding: "--shardIndex 1 --shardCount 4"
97+
package_sharding: "--shardIndex 2 --shardCount 5"
9198

92-
- name: Mac_arm64 ios_platform_tests_3_of_4 master - packages
99+
- name: Mac_arm64 ios_platform_tests_shard_4 master
93100
bringup: true # New task
94101
recipe: packages/packages
95102
timeout: 60
96103
properties:
97104
add_recipes_cq: "true"
98105
version_file: flutter_master.version
99106
target_file: ios_platform_tests.yaml
100-
package_sharding: "--shardIndex 2 --shardCount 4"
107+
package_sharding: "--shardIndex 3 --shardCount 5"
101108

102-
- name: Mac_arm64 ios_platform_tests_4_of_4 master - packages
109+
- name: Mac_arm64 ios_platform_tests_shard_5 master
103110
bringup: true # New task
104111
recipe: packages/packages
105112
timeout: 60
106113
properties:
107114
add_recipes_cq: "true"
108115
version_file: flutter_master.version
109116
target_file: ios_platform_tests.yaml
110-
package_sharding: "--shardIndex 3 --shardCount 4"
117+
package_sharding: "--shardIndex 4 --shardCount 5"
111118

112119
# Don't run full platform tests on both channels in pre-submit.
113-
- name: Mac_arm64 ios_platform_tests_1_of_4 stable - packages
120+
- name: Mac_arm64 ios_platform_tests_shard_1 stable
121+
bringup: true # New task
122+
recipe: packages/packages
123+
presubmit: false
124+
timeout: 60
125+
properties:
126+
channel: stable
127+
add_recipes_cq: "true"
128+
version_file: flutter_stable.version
129+
target_file: ios_platform_tests.yaml
130+
package_sharding: "--shardIndex 0 --shardCount 5"
131+
132+
- name: Mac_arm64 ios_platform_tests_shard_2 stable
114133
bringup: true # New task
115134
recipe: packages/packages
116135
presubmit: false
@@ -120,9 +139,9 @@ targets:
120139
add_recipes_cq: "true"
121140
version_file: flutter_stable.version
122141
target_file: ios_platform_tests.yaml
123-
package_sharding: "--shardIndex 0 --shardCount 4"
142+
package_sharding: "--shardIndex 1 --shardCount 5"
124143

125-
- name: Mac_arm64 ios_platform_tests_2_of_4 stable - packages
144+
- name: Mac_arm64 ios_platform_tests_shard_3 stable
126145
bringup: true # New task
127146
recipe: packages/packages
128147
presubmit: false
@@ -132,9 +151,9 @@ targets:
132151
add_recipes_cq: "true"
133152
version_file: flutter_stable.version
134153
target_file: ios_platform_tests.yaml
135-
package_sharding: "--shardIndex 1 --shardCount 4"
154+
package_sharding: "--shardIndex 2 --shardCount 5"
136155

137-
- name: Mac_arm64 ios_platform_tests_3_of_4 stable - packages
156+
- name: Mac_arm64 ios_platform_tests_shard_4 stable
138157
bringup: true # New task
139158
recipe: packages/packages
140159
presubmit: false
@@ -144,9 +163,9 @@ targets:
144163
add_recipes_cq: "true"
145164
version_file: flutter_stable.version
146165
target_file: ios_platform_tests.yaml
147-
package_sharding: "--shardIndex 2 --shardCount 4"
166+
package_sharding: "--shardIndex 3 --shardCount 5"
148167

149-
- name: Mac_arm64 ios_platform_tests_4_of_4 stable - packages
168+
- name: Mac_arm64 ios_platform_tests_shard_5 stable
150169
bringup: true # New task
151170
recipe: packages/packages
152171
presubmit: false
@@ -156,7 +175,7 @@ targets:
156175
add_recipes_cq: "true"
157176
version_file: flutter_stable.version
158177
target_file: ios_platform_tests.yaml
159-
package_sharding: "--shardIndex 3 --shardCount 4"
178+
package_sharding: "--shardIndex 4 --shardCount 5"
160179

161180
### macOS desktop tasks ###
162181
# macos-platform_tests builds all the packages on ARM, so this build is run
@@ -179,6 +198,9 @@ targets:
179198
target_file: mac_build_all_packages.yaml
180199
channel: stable
181200

201+
# TODO(stuartmorgan): Remove "- packages" from all task names once
202+
# flutter/plugins is merged into this repo and turned down; it's here only
203+
# because names must be unique across all flutter repositories.
182204
- name: Mac_arm64 macos_platform_tests master - packages
183205
bringup: true # New task
184206
recipe: packages/packages

0 commit comments

Comments
 (0)