-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Expand file tree
/
Copy pathrust-bors.toml
More file actions
118 lines (110 loc) · 3.03 KB
/
Copy pathrust-bors.toml
File metadata and controls
118 lines (110 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# 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"
allowed_instances = [
# AMD Zen 5 (x86_64) instances, a subset of these is used in production.
# Prices per hour of on-demand compute in us-east-2 (as of Aug 2026)
# See rough assessment of build speed for dist-x86_64-quick in https://github.com/rust-lang/simpleinfra/issues/1132
# m8a.2x 8 vCPU, 32 GB $0.48688/hr
# c8a.4x 16 vCPU, 32 GB $0.86216/hr
# c8a.8x 32 vCPU, 64 GB $1.72432/hr
# c8a.12x 48 vCPU, 96 GB $2.58648/hr
# CodeBuild 36 vCPU $4.78799/hr
"m8a.2xlarge",
"c8a.4xlarge",
"c8a.8xlarge",
"c8a.12xlarge",
# Graviton 4 (aarch64) instances, currently just for experimentation
"m8g.2xlarge",
"c8g.4xlarge",
"c8g.8xlarge",
"c8g.12xlarge",
# Graviton 5 (aarch64) instances, currently just for experimentation
"m9g.2xlarge",
"c9g.4xlarge",
"c9g.8xlarge",
"c9g.12xlarge",
]
# Enable unrolling of rollup member PRs after rollup merge
[unroll]