Skip to content

Commit ffcda90

Browse files
[ci] Enable new sharding (flutter#4515)
Enables the newly added sharding, completing the shard addition for web and Windows platform tests.
1 parent f16ba32 commit ffcda90

File tree

4 files changed

+8
-44
lines changed

4 files changed

+8
-44
lines changed

.ci.yaml

Lines changed: 4 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ targets:
441441
target_file: web_platform_tests.yaml
442442
version_file: flutter_master.version
443443
channel: master
444-
package_sharding: "--shardIndex 0 --shardCount 2"
444+
package_sharding: "--shardIndex 0 --shardCount 3"
445445

446446
- name: Linux_web web_platform_tests_shard_2 master
447447
recipe: packages/packages
@@ -450,12 +450,9 @@ targets:
450450
target_file: web_platform_tests.yaml
451451
version_file: flutter_master.version
452452
channel: master
453-
package_sharding: "--shardIndex 1 --shardCount 2"
453+
package_sharding: "--shardIndex 1 --shardCount 3"
454454

455455
- name: Linux_web web_platform_tests_shard_3 master
456-
# TODO(stuartmorgan): Adjust the shard count for the other targets
457-
# when removing this.
458-
bringup: true # New target
459456
recipe: packages/packages
460457
timeout: 60
461458
properties:
@@ -471,7 +468,7 @@ targets:
471468
target_file: web_platform_tests.yaml
472469
version_file: flutter_stable.version
473470
channel: stable
474-
package_sharding: "--shardIndex 0 --shardCount 2"
471+
package_sharding: "--shardIndex 0 --shardCount 3"
475472

476473
- name: Linux_web web_platform_tests_shard_2 stable
477474
recipe: packages/packages
@@ -480,12 +477,9 @@ targets:
480477
target_file: web_platform_tests.yaml
481478
version_file: flutter_stable.version
482479
channel: stable
483-
package_sharding: "--shardIndex 1 --shardCount 2"
480+
package_sharding: "--shardIndex 1 --shardCount 3"
484481

485482
- name: Linux_web web_platform_tests_shard_3 stable
486-
# TODO(stuartmorgan): Adjust the shard count for the other targets
487-
# when removing this.
488-
bringup: true # New target
489483
recipe: packages/packages
490484
timeout: 60
491485
properties:
@@ -762,35 +756,7 @@ targets:
762756
{"dependency": "open_jdk", "version": "version:11"}
763757
]
764758
765-
# TODO(stuartmorgan): Remove these two when enabling the sharded versions.
766-
- name: Windows win32-platform_tests master - packages
767-
recipe: packages/packages
768-
timeout: 60
769-
properties:
770-
add_recipes_cq: "true"
771-
target_file: windows_build_and_platform_tests.yaml
772-
channel: master
773-
version_file: flutter_master.version
774-
dependencies: >
775-
[
776-
{"dependency": "vs_build", "version": "version:vs2019"}
777-
]
778-
779-
- name: Windows win32-platform_tests stable - packages
780-
recipe: packages/packages
781-
timeout: 60
782-
properties:
783-
add_recipes_cq: "true"
784-
target_file: windows_build_and_platform_tests.yaml
785-
channel: stable
786-
version_file: flutter_stable.version
787-
dependencies: >
788-
[
789-
{"dependency": "vs_build", "version": "version:vs2019"}
790-
]
791-
792759
- name: Windows win32-platform_tests_shard_1 master
793-
bringup: true # New target
794760
recipe: packages/packages
795761
timeout: 60
796762
properties:
@@ -805,7 +771,6 @@ targets:
805771
]
806772
807773
- name: Windows win32-platform_tests_shard_2 master
808-
bringup: true # New target
809774
recipe: packages/packages
810775
timeout: 60
811776
properties:
@@ -820,7 +785,6 @@ targets:
820785
]
821786
822787
- name: Windows win32-platform_tests_shard_1 stable
823-
bringup: true # New target
824788
recipe: packages/packages
825789
timeout: 60
826790
properties:
@@ -835,7 +799,6 @@ targets:
835799
]
836800
837801
- name: Windows win32-platform_tests_shard_2 stable
838-
bringup: true # New target
839802
recipe: packages/packages
840803
timeout: 60
841804
properties:

.ci/scripts/build_examples_win32.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
set -e
66

77
dart ./script/tool/bin/flutter_plugin_tools.dart build-examples --windows \
8-
--packages-for-branch --log-timing
8+
--packages-for-branch --log-timing $PACKAGE_SHARDING

.ci/scripts/drive_examples_win32.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
set -e
66

77
dart ./script/tool/bin/flutter_plugin_tools.dart drive-examples --windows \
8-
--exclude=script/configs/exclude_integration_win32.yaml --packages-for-branch --log-timing
8+
--exclude=script/configs/exclude_integration_win32.yaml \
9+
--packages-for-branch --log-timing $PACKAGE_SHARDING

.ci/scripts/native_test_win32.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
set -e
66

77
dart ./script/tool/bin/flutter_plugin_tools.dart native-test --windows \
8-
--no-integration --packages-for-branch --log-timing
8+
--no-integration --packages-for-branch --log-timing $PACKAGE_SHARDING

0 commit comments

Comments
 (0)