Skip to content

Commit

Permalink
[CP] Ensure orchestrators aren't assigned to 32 core machines (#54791)
Browse files Browse the repository at this point in the history
This PR contains CPs of two changes:
1. #54591 to avoid running Fuchsia tests on dart-internal, which was needed in order to avoid conflicts in
2. #54754, which avoids using 32 core machines as orchestrators. (Instead they'll use the 8 core machines that are no longer used for the Fuchsia tests.)
  • Loading branch information
zanderso authored Aug 26, 2024
1 parent c9b9d57 commit cd2627a
Show file tree
Hide file tree
Showing 3 changed files with 372 additions and 285 deletions.
85 changes: 84 additions & 1 deletion .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,23 @@ targets:
config_name: linux_fuchsia
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"

- name: Linux linux_fuchsia_tests
recipe: engine_v2/engine_v2
bringup: true
timeout: 90
properties:
config_name: linux_fuchsia_tests
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
Expand Down Expand Up @@ -204,8 +221,16 @@ targets:
add_recipes_cq: "true"
release_build: "true"
config_name: linux_arm_host_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"

- name: Linux linux_host_engine
recipe: engine_v2/engine_v2
Expand All @@ -218,8 +243,16 @@ targets:
[
{"dependency": "goldctl", "version": "git_revision:720a542f6fe4f92922c3b8f0fdcc4d2ac6bb83cd"}
]
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"

- name: Linux linux_host_desktop_engine
recipe: engine_v2/engine_v2
Expand All @@ -228,8 +261,16 @@ targets:
add_recipes_cq: "true"
release_build: "true"
config_name: linux_host_desktop_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"

- name: Linux linux_android_aot_engine
recipe: engine_v2/engine_v2
Expand All @@ -238,8 +279,16 @@ targets:
add_recipes_cq: "true"
release_build: "true"
config_name: linux_android_aot_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"

- name: Linux linux_android_debug_engine
recipe: engine_v2/engine_v2
Expand All @@ -248,8 +297,16 @@ targets:
add_recipes_cq: "true"
release_build: "true"
config_name: linux_android_debug_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"

- name: Linux linux_license
recipe: engine_v2/builder
Expand All @@ -265,8 +322,16 @@ targets:
properties:
release_build: "true"
config_name: linux_web_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"
runIf:
- DEPS
- .ci.yaml
Expand Down Expand Up @@ -325,8 +390,16 @@ targets:
add_recipes_cq: "true"
release_build: "true"
config_name: mac_android_aot_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
dimensions:
# This is needed so that orchestrators that only spawn subbuilds are not
# assigned to the large 32 core workers when doing release builds.
# For more details see the issue
# at https://github.com/flutter/flutter/issues/152186.
cores: "8"

- name: Mac mac_clang_tidy
recipe: engine_v2/engine_v2
Expand Down Expand Up @@ -364,13 +437,17 @@ targets:
{
"sdk_version": "15a240d"
}
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Mac-13|Mac-14

# Avoid using a Mac orchestrator to save ~5 minutes of Mac host time.
- name: Linux mac_clangd
recipe: engine_v2/engine_v2
timeout: 240
# Avoid using a Mac orchestrator to save ~5 minutes of Mac host time.
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Linux
properties:
Expand All @@ -394,6 +471,8 @@ targets:
{
"sdk_version": "15a240d"
}
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Mac-13|Mac-14
- cpu=x86
Expand All @@ -413,6 +492,8 @@ targets:
add_recipes_cq: "true"
release_build: "true"
config_name: windows_android_aot_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Windows

Expand All @@ -423,6 +504,8 @@ targets:
add_recipes_cq: "true"
release_build: "true"
config_name: windows_host_engine
# Do not remove(https://github.com/flutter/flutter/issues/144644)
# Scheduler will fail to get the platform
drone_dimensions:
- os=Windows

Expand Down
Loading

0 comments on commit cd2627a

Please sign in to comment.