Files
rust/rust-bors.toml
Mark Rousskov af2d4bc7bd Switch dist-aarch64-linux to EC2 and update dist-x86_64-linux
For dist-aarch64-linux (full):

* GHA 8c takes 2h25m ($2.03/build)
* c8g.8xl takes 1h20m ($1.69/build)
* c9g.8xl takes 1h ($1.38/build)
* c9g.4xl takes 1h10m ($0.81/build)
* m9g.2xl takes 1h30m ($0.59/build) - selected

And adds a dist-aarch64-linux-quick:

* c8g.8xl takes 50m ($1.059/build)
* c9g.8xl takes 40m ($0.924/build)
* c9g.4xl takes 47m ($0.543/build) - selected
* m9g.2xl takes 64m ($0.417/build)

For now I've chosen a balance between cost and speed (c9g.4xl). Once we
decide where to enable this (e.g., in try builds by default) we can
consider aligning with other tasks and saving $/build if we're not able
to benefit from increased speed (e.g., because perf won't run until the
try build as a whole finishes).

For dist-x86_64-linux-full we have this breakdown:

* c8a.8xl takes 1h34m ($2.64/build) - current
* c8a.4xl takes 1h45m ($1.51/build) - selected
* m8a.2xl takes 2h10m ($1.05/build)

I'll re-benchmark dist-x86_64-linux-quick in a future PR, for now it
will stay on c8a.8xl. This drops codebuild configuration (but not yet
cleaning up various related pieces that are more tied into our CI) since
it doesn't seem relevant anymore.
2026-08-31 09:00:24 -04:00

108 lines
2.6 KiB
TOML

# 6 hours timeout for CI builds
timeout = 21600
# Do not allow approving PRs with certain labels
labels_blocking_approval = [
# Waiting for an FCP to finish
"final-comment-period",
"proposed-final-comment-period",
# PRs that were closed or postponed by an FCP
"disposition-close",
"disposition-postpone",
# Waiting for library ACP
"S-waiting-on-ACP",
"S-waiting-on-concerns",
"S-waiting-on-crater",
"S-waiting-on-fcp",
"S-waiting-on-MCP",
"S-waiting-on-t-lang",
"S-waiting-on-t-compiler",
"S-waiting-on-t-libs",
"S-waiting-on-t-types",
"S-waiting-on-t-opsem",
"S-waiting-on-t-rustdoc",
"S-waiting-on-t-rustdoc-frontend",
"S-waiting-on-t-clippy",
# PR manually set to blocked
"S-blocked",
# Needs a Crater run before being approved
"needs-crater",
# Needs a formal decision to be made
"needs-rfc",
"needs-fcp",
"needs-acp",
"needs-mcp",
# A PR in the Rust reference must be done first
"needs-reference-pr"
]
# If CI runs quicker than this duration, consider it to be a failure
min_ci_time = 600
merge_queue_enabled = true
report_merge_conflicts = true
[labels]
approved = [
"+S-waiting-on-bors",
"-S-blocked",
"-S-waiting-on-author",
"-S-waiting-on-crater",
"-S-waiting-on-review",
"-S-waiting-on-team",
]
unapproved = [
"+S-waiting-on-author",
"-S-blocked",
"-S-waiting-on-bors",
"-S-waiting-on-crater",
"-S-waiting-on-review",
"-S-waiting-on-team",
]
try_failed = [
"+S-waiting-on-author",
"-S-waiting-on-review",
"-S-waiting-on-crater",
]
auto_build_succeeded = [
"+merged-by-bors",
"-S-waiting-on-bors",
]
auto_build_failed = [
"+S-waiting-on-review",
"-S-blocked",
"-S-waiting-on-bors",
"-S-waiting-on-author",
"-S-waiting-on-crater",
"-S-waiting-on-team",
]
# Enable management of EC2 self-hosted runners
[ec2_runners]
runner_group_id = 8
label_prefix = "ec2"
region = "us-east-2"
images = {
"x86_64ami" = "latest-gha-runner-ami",
"arm64ami" = "latest-gha-runner-ami-arm64",
}
jit_runner = "organization"
# Prices per hour of on-demand compute in us-east-2 (as of Aug 2026)
# See build speed estimates in https://github.com/rust-lang/simpleinfra/issues/1132
allowed_instances = [
# AMD Zen 5 (x86_64)
"m8a.2xlarge", # $0.48688/hr
"c8a.4xlarge", # $0.86216/hr
"c8a.8xlarge", # $1.72432/hr
"c8a.12xlarge", # $2.58648/hr
# Graviton (aarch64)
"m9g.2xlarge", # $0.39136/hr
"c9g.4xlarge", # $0.69312/hr
"c9g.8xlarge", # $1.38624/hr
"c9g.12xlarge", # $2.07936/hr
]
# Enable unrolling of rollup member PRs after rollup merge
[unroll]