Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Enable new sharding #4515

Merged
merged 2 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 4 additions & 41 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ targets:
target_file: web_platform_tests.yaml
version_file: flutter_master.version
channel: master
package_sharding: "--shardIndex 0 --shardCount 2"
package_sharding: "--shardIndex 0 --shardCount 3"

- name: Linux_web web_platform_tests_shard_2 master
recipe: packages/packages
Expand All @@ -450,12 +450,9 @@ targets:
target_file: web_platform_tests.yaml
version_file: flutter_master.version
channel: master
package_sharding: "--shardIndex 1 --shardCount 2"
package_sharding: "--shardIndex 1 --shardCount 3"

- name: Linux_web web_platform_tests_shard_3 master
# TODO(stuartmorgan): Adjust the shard count for the other targets
# when removing this.
bringup: true # New target
recipe: packages/packages
timeout: 60
properties:
Expand All @@ -471,7 +468,7 @@ targets:
target_file: web_platform_tests.yaml
version_file: flutter_stable.version
channel: stable
package_sharding: "--shardIndex 0 --shardCount 2"
package_sharding: "--shardIndex 0 --shardCount 3"

- name: Linux_web web_platform_tests_shard_2 stable
recipe: packages/packages
Expand All @@ -480,12 +477,9 @@ targets:
target_file: web_platform_tests.yaml
version_file: flutter_stable.version
channel: stable
package_sharding: "--shardIndex 1 --shardCount 2"
package_sharding: "--shardIndex 1 --shardCount 3"

- name: Linux_web web_platform_tests_shard_3 stable
# TODO(stuartmorgan): Adjust the shard count for the other targets
# when removing this.
bringup: true # New target
recipe: packages/packages
timeout: 60
properties:
Expand Down Expand Up @@ -762,35 +756,7 @@ targets:
{"dependency": "open_jdk", "version": "version:11"}
]

# TODO(stuartmorgan): Remove these two when enabling the sharded versions.
- name: Windows win32-platform_tests master - packages
recipe: packages/packages
timeout: 60
properties:
add_recipes_cq: "true"
target_file: windows_build_and_platform_tests.yaml
channel: master
version_file: flutter_master.version
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]

- name: Windows win32-platform_tests stable - packages
recipe: packages/packages
timeout: 60
properties:
add_recipes_cq: "true"
target_file: windows_build_and_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]

- name: Windows win32-platform_tests_shard_1 master
bringup: true # New target
recipe: packages/packages
timeout: 60
properties:
Expand All @@ -805,7 +771,6 @@ targets:
]

- name: Windows win32-platform_tests_shard_2 master
bringup: true # New target
recipe: packages/packages
timeout: 60
properties:
Expand All @@ -820,7 +785,6 @@ targets:
]

- name: Windows win32-platform_tests_shard_1 stable
bringup: true # New target
recipe: packages/packages
timeout: 60
properties:
Expand All @@ -835,7 +799,6 @@ targets:
]

- name: Windows win32-platform_tests_shard_2 stable
bringup: true # New target
recipe: packages/packages
timeout: 60
properties:
Expand Down
2 changes: 1 addition & 1 deletion .ci/scripts/build_examples_win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
set -e

dart ./script/tool/bin/flutter_plugin_tools.dart build-examples --windows \
--packages-for-branch --log-timing
--packages-for-branch --log-timing $PACKAGE_SHARDING
3 changes: 2 additions & 1 deletion .ci/scripts/drive_examples_win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
set -e

dart ./script/tool/bin/flutter_plugin_tools.dart drive-examples --windows \
--exclude=script/configs/exclude_integration_win32.yaml --packages-for-branch --log-timing
--exclude=script/configs/exclude_integration_win32.yaml \
--packages-for-branch --log-timing $PACKAGE_SHARDING
2 changes: 1 addition & 1 deletion .ci/scripts/native_test_win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
set -e

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