Repository navigation
Commit 8a3eca2
ci: run the secret-free post-merge Linux jobs on the GKE runner group
Move the Linux proof jobs of ci-post.yml, corpus-parity.yml and native-live.yml
from the post-merge GCP VM fleet (and, for the two arm64 builds, the hosted
ubuntu-24.04-arm runner) to the gke-runners group, one size label per job:
gke-32cpu-64gb-amd64 build (Release) x4, sanitizers x4 8 jobs
gke-16cpu-32gb-amd64 build-debug x2, kernel-only x2, native-live x2,
corpus-parity 7 jobs
gke-8cpu-16gb-amd64 preflight, preflight-slow, native-live-shards x4,
corpus-parity-subset 7 jobs
gke-16cpu-32gb-arm64 build-arm (Release, Debug) 2 jobs
A run never asks for more than the group's 8 jobs per size label.
The runner pod is non-root without sudo, so every moved job runs in a root job
container (ubuntu:24.04 pinned by multi-arch index digest) whose first step
installs the base toolchain (git, python3, build-essential, cmake, ninja ...);
the existing dependency steps keep their package lists and only lose "sudo".
Not moved: authz, changes and the aggregate jobs (hosted), ci.yml and
corpus-parity-subset.yml (pull-request reachable), docs.yml, docs-post.yml,
release.yml, promote-baseline.yml, release-ruleset-probe.yml (they hold
credentials) and every macOS leg.
scripts/ci_preflight.py pins each moved job to its exact label, the container
block and the bootstrap step; it refuses the gke-runners group or a gke- label
in any pull-request reachable workflow, a secret, id-token or environment on a
job of the group or on a job that calls a workflow holding such jobs, sudo in a
container job, a paid larger-runner label, and more than 8 jobs on one label
(matrix, include/exclude and reusable-call expansion). actionlint knows the four
labels. docs/ci.md is edited line for line and states that the jobs start only
from the three workflows at refs/heads/main.
docs/ci.md sentences replaced by the GKE routing text, named for the
documentation-revert check by the commit that introduced each:
- "Local reusable calls still cannot mix PR and post-merge verification fleets."
(b0f4341) is replaced by "Local reusable calls cannot mix PR and GKE jobs."
- "A full post run schedules 22 post-fleet jobs; the parity calls share one
concurrency group." (8154993) is replaced by the 24-job GKE count per label.
- "The amd64 post build shards use the post-merge GCP fleet; the two arm64 post
cells run on hosted `ubuntu-24.04-arm`." (8154993) now reads GKE size labels.
- "Credentialed work and the remaining full profiles retain their VM pins."
(3ea5a0d) is replaced by the credentialed-docs pin sentence.
- "The post fleet admits only push, schedule and dispatch on engine `main` and
refuses all PR events." (3a0d150) is superseded by the GKE group-ref sentence.
- "Post-fleet shards require `main` for dispatch; hosted arm64 keeps its fixed
pin." (8154993) is replaced by "GKE jobs start only from ci-post.yml,
corpus-parity.yml and native-live.yml at refs/heads/main".
- "`HOSTED_JOB_RUNNERS` pins hosted jobs and post-fleet verification arrays;
arm64 exceptions exclude PR callers." (8154993) now describes the exact GKE
mappings.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>1 parent 6b33c47 commit 8a3eca2
8 files changed
Lines changed: 911 additions & 204 deletions
File tree
- .github
- workflows
- docs
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
164 | 169 | | |
165 | 170 | | |
166 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
167 | 176 | | |
168 | 177 | | |
169 | 178 | | |
| |||
183 | 192 | | |
184 | 193 | | |
185 | 194 | | |
186 | | - | |
187 | | - | |
| 195 | + | |
| 196 | + | |
188 | 197 | | |
189 | 198 | | |
190 | 199 | | |
| |||
211 | 220 | | |
212 | 221 | | |
213 | 222 | | |
214 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
215 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
216 | 234 | | |
217 | 235 | | |
218 | 236 | | |
| |||
258 | 276 | | |
259 | 277 | | |
260 | 278 | | |
261 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
262 | 285 | | |
263 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
264 | 291 | | |
265 | 292 | | |
266 | 293 | | |
| |||
300 | 327 | | |
301 | 328 | | |
302 | 329 | | |
303 | | - | |
304 | | - | |
| 330 | + | |
| 331 | + | |
305 | 332 | | |
306 | 333 | | |
307 | 334 | | |
| |||
359 | 386 | | |
360 | 387 | | |
361 | 388 | | |
362 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
363 | 395 | | |
364 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
365 | 401 | | |
366 | 402 | | |
367 | 403 | | |
| |||
397 | 433 | | |
398 | 434 | | |
399 | 435 | | |
400 | | - | |
401 | | - | |
| 436 | + | |
| 437 | + | |
402 | 438 | | |
403 | 439 | | |
404 | 440 | | |
| |||
476 | 512 | | |
477 | 513 | | |
478 | 514 | | |
479 | | - | |
| 515 | + | |
480 | 516 | | |
481 | 517 | | |
482 | 518 | | |
| |||
485 | 521 | | |
486 | 522 | | |
487 | 523 | | |
488 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
489 | 530 | | |
490 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
491 | 536 | | |
492 | 537 | | |
493 | 538 | | |
| |||
527 | 572 | | |
528 | 573 | | |
529 | 574 | | |
530 | | - | |
531 | | - | |
| 575 | + | |
| 576 | + | |
532 | 577 | | |
533 | 578 | | |
534 | 579 | | |
| |||
589 | 634 | | |
590 | 635 | | |
591 | 636 | | |
592 | | - | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
593 | 643 | | |
594 | 644 | | |
595 | 645 | | |
596 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
597 | 651 | | |
598 | 652 | | |
599 | 653 | | |
| |||
622 | 676 | | |
623 | 677 | | |
624 | 678 | | |
625 | | - | |
626 | | - | |
| 679 | + | |
| 680 | + | |
627 | 681 | | |
628 | 682 | | |
629 | 683 | | |
| |||
691 | 745 | | |
692 | 746 | | |
693 | 747 | | |
694 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
695 | 754 | | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
696 | 759 | | |
697 | 760 | | |
698 | 761 | | |
| |||
721 | 784 | | |
722 | 785 | | |
723 | 786 | | |
724 | | - | |
725 | | - | |
| 787 | + | |
| 788 | + | |
726 | 789 | | |
727 | 790 | | |
728 | 791 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
150 | 159 | | |
151 | 160 | | |
152 | 161 | | |
| |||
158 | 167 | | |
159 | 168 | | |
160 | 169 | | |
161 | | - | |
162 | | - | |
| 170 | + | |
| 171 | + | |
163 | 172 | | |
164 | 173 | | |
165 | 174 | | |
| |||
219 | 228 | | |
220 | 229 | | |
221 | 230 | | |
222 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
223 | 237 | | |
224 | 238 | | |
225 | 239 | | |
226 | 240 | | |
227 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
228 | 246 | | |
229 | 247 | | |
230 | 248 | | |
| |||
239 | 257 | | |
240 | 258 | | |
241 | 259 | | |
242 | | - | |
243 | | - | |
| 260 | + | |
| 261 | + | |
244 | 262 | | |
245 | 263 | | |
246 | 264 | | |
| |||
0 commit comments