Skip to content

[ci] Adjust bot configurations #4485

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

Merged
merged 3 commits into from
Jul 17, 2023
Merged
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
111 changes: 85 additions & 26 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ targets:
target_file: dart_unit_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 0 --shardCount 2"

- name: Linux dart_unit_test_shard_2 master
Expand All @@ -129,7 +128,6 @@ targets:
target_file: dart_unit_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 1 --shardCount 2"

- name: Linux dart_unit_test_shard_1 stable
Expand All @@ -139,7 +137,6 @@ targets:
target_file: dart_unit_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 0 --shardCount 2"

- name: Linux dart_unit_test_shard_2 stable
Expand All @@ -149,7 +146,6 @@ targets:
target_file: dart_unit_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 1 --shardCount 2"

- name: Linux_web web_dart_unit_test_shard_1 master
Expand All @@ -160,7 +156,6 @@ targets:
target_file: web_dart_unit_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 0 --shardCount 2"

- name: Linux_web web_dart_unit_test_shard_2 master
Expand All @@ -171,7 +166,6 @@ targets:
target_file: web_dart_unit_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 1 --shardCount 2"

- name: Linux_web web_dart_unit_test_shard_1 stable
Expand All @@ -181,7 +175,6 @@ targets:
target_file: web_dart_unit_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 0 --shardCount 2"

- name: Linux_web web_dart_unit_test_shard_2 stable
Expand All @@ -191,7 +184,6 @@ targets:
target_file: web_dart_unit_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 1 --shardCount 2"

- name: Linux analyze master
Expand Down Expand Up @@ -251,7 +243,6 @@ targets:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: linux_custom_package_tests.yaml
cores: "32"
# Pigeon tests need Andoid deps (thus the Linux_android base) and
# clang-format.
# web_benchmarks needs Chrome.
Expand All @@ -268,7 +259,6 @@ targets:
properties:
version_file: flutter_stable.version
target_file: linux_custom_package_tests.yaml
cores: "32"
# See comments on 'master' version above.
dependencies: >-
[
Expand Down Expand Up @@ -313,7 +303,6 @@ targets:
target_file: android_platform_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 0 --shardCount 6"

- name: Linux_android android_platform_tests_shard_2 master
Expand All @@ -323,7 +312,6 @@ targets:
target_file: android_platform_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 1 --shardCount 6"

- name: Linux_android android_platform_tests_shard_3 master
Expand All @@ -333,7 +321,6 @@ targets:
target_file: android_platform_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 2 --shardCount 6"

- name: Linux_android android_platform_tests_shard_4 master
Expand All @@ -343,7 +330,6 @@ targets:
target_file: android_platform_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 3 --shardCount 6"

- name: Linux_android android_platform_tests_shard_5 master
Expand All @@ -353,7 +339,6 @@ targets:
target_file: android_platform_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 4 --shardCount 6"

- name: Linux_android android_platform_tests_shard_6 master
Expand All @@ -363,7 +348,6 @@ targets:
target_file: android_platform_tests.yaml
channel: master
version_file: flutter_master.version
cores: "32"
package_sharding: "--shardIndex 5 --shardCount 6"

- name: Linux_android android_platform_tests_shard_1 stable
Expand All @@ -374,7 +358,6 @@ targets:
target_file: android_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 0 --shardCount 6"

- name: Linux_android android_platform_tests_shard_2 stable
Expand All @@ -385,7 +368,6 @@ targets:
target_file: android_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 1 --shardCount 6"

- name: Linux_android android_platform_tests_shard_3 stable
Expand All @@ -396,7 +378,6 @@ targets:
target_file: android_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 2 --shardCount 6"

- name: Linux_android android_platform_tests_shard_4 stable
Expand All @@ -407,7 +388,6 @@ targets:
target_file: android_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 3 --shardCount 6"

- name: Linux_android android_platform_tests_shard_5 stable
Expand All @@ -418,7 +398,6 @@ targets:
target_file: android_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 4 --shardCount 6"

- name: Linux_android android_platform_tests_shard_6 stable
Expand All @@ -429,7 +408,6 @@ targets:
target_file: android_platform_tests.yaml
channel: stable
version_file: flutter_stable.version
cores: "32"
package_sharding: "--shardIndex 5 --shardCount 6"

### Web tasks ###
Expand All @@ -455,7 +433,6 @@ targets:
timeout: 60
properties:
target_file: web_platform_tests.yaml
cores: "32"
version_file: flutter_master.version
channel: master
package_sharding: "--shardIndex 0 --shardCount 2"
Expand All @@ -465,17 +442,27 @@ targets:
timeout: 60
properties:
target_file: web_platform_tests.yaml
cores: "32"
version_file: flutter_master.version
channel: master
package_sharding: "--shardIndex 1 --shardCount 2"

- 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:
target_file: web_platform_tests.yaml
version_file: flutter_master.version
channel: master
package_sharding: "--shardIndex 2 --shardCount 3"

- name: Linux_web web_platform_tests_shard_1 stable
recipe: packages/packages
timeout: 60
properties:
target_file: web_platform_tests.yaml
cores: "32"
version_file: flutter_stable.version
channel: stable
package_sharding: "--shardIndex 0 --shardCount 2"
Expand All @@ -485,11 +472,22 @@ targets:
timeout: 60
properties:
target_file: web_platform_tests.yaml
cores: "32"
version_file: flutter_stable.version
channel: stable
package_sharding: "--shardIndex 1 --shardCount 2"

- 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:
target_file: web_platform_tests.yaml
version_file: flutter_stable.version
channel: stable
package_sharding: "--shardIndex 2 --shardCount 3"

### Linux desktop tasks
- name: Linux_desktop build_all_packages master
recipe: packages/packages
Expand Down Expand Up @@ -760,6 +758,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
Expand All @@ -786,6 +785,66 @@ targets:
{"dependency": "vs_build", "version": "version:vs2019"}
]

- name: Windows win32-platform_tests_shard_1 master
bringup: true # New target
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
package_sharding: "--shardIndex 0 --shardCount 2"
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]

- name: Windows win32-platform_tests_shard_2 master
bringup: true # New target
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
package_sharding: "--shardIndex 1 --shardCount 2"
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]

- name: Windows win32-platform_tests_shard_1 stable
bringup: true # New target
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
package_sharding: "--shardIndex 0 --shardCount 2"
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]

- name: Windows win32-platform_tests_shard_2 stable
bringup: true # New target
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
package_sharding: "--shardIndex 1 --shardCount 2"
dependencies: >
[
{"dependency": "vs_build", "version": "version:vs2019"}
]

- name: Windows windows-build_all_packages master
recipe: packages/packages
timeout: 30
Expand Down