Skip to content

Commit b08fc6f

Browse files
authored
ci: run the post-merge light jobs on GKE runner pods (#592)
Replaces #582 as one commit on current main. The secret-free light jobs of ci-post, corpus-parity and native-live (authz, changes, gates and the aggregates) move from the hosted image to bare gke-<size>-<arch> labels; promote-guard, docs-post and the release probe authz follow where the per-label cap of eight allows. ci-post's seven light jobs take gke-2cpu-4gb-amd64, native-live and corpus-parity's five take gke-4cpu-8gb-amd64. fleet-post-capability.yml is retired. docs/ci.md replaces sentences by name: - 3ea5a0d: "Hosted ubuntu-24.04 runs all eight authz jobs, both CI changes/build-gate jobs, all post/native aggregates and docs.yml's build". - b0f4341: "These light, secret-free jobs need no VM-only tools, mounts or caches". - c85a40b: "Hosted exceptions include the named light jobs and the existing release/promotion pins"; "The four amd64 post legs, arm64 cells, preflight, parity and native verification use gke-runners; their aggregates use the light image"; "Light jobs and four aggregates"; "authz: hosted ubuntu-24.04"; "authz and both aggregates: hosted ubuntu-24.04"; "GKE jobs start only from ci-post.yml, corpus-parity.yml and native-live.yml at refs/heads/main". The promotion-guard workflow-env test also expects the two credential findings that promote-guard on a pod now raises. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent 482b000 commit b08fc6f

12 files changed

Lines changed: 355 additions & 305 deletions

‎.github/actionlint.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ self-hosted-runner:
77
- pf-gcp-pr
88
- pf-gcp-post
99
- pf-gcp-main
10+
- gke-2cpu-4gb-amd64
11+
- gke-4cpu-8gb-amd64
1012
- gke-32cpu-64gb-amd64
1113
- gke-16cpu-32gb-amd64
1214
- gke-8cpu-16gb-amd64

‎.github/workflows/ci-post.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ env:
3232
PINEFORGE_REQUIRE_RELEASE_TAGS: "1"
3333

3434
# The canon authz gate admits our events before any checkout.
35-
# Light jobs and per-leg aggregates use hosted ubuntu-24.04; Linux proof jobs use
36-
# the gke-runners group with separate amd64 and arm64 size labels.
35+
# Light jobs and per-leg aggregates use bare gke-2cpu-4gb-amd64; Linux proof jobs
36+
# use bare GKE scale-set names with fixed amd64 and arm64 sizes.
3737
# Jobs run directly in runner pods carrying the engine toolchain image and sudo.
3838
# Each verification sizes its parallelism to the runner that took it.
3939
# scripts/ci_preflight.py pins every runner and shard count. GitHub's platform
@@ -42,7 +42,7 @@ jobs:
4242
authz:
4343
name: authz
4444
# Fleet routing is fixed for this workflow; releases use pf-gcp-main.
45-
runs-on: ubuntu-24.04
45+
runs-on: gke-2cpu-4gb-amd64
4646
permissions: {}
4747
# No timeout-minutes: the owner's no-time-limits rule (check-no-time-limits refuses new ones).
4848
steps:
@@ -108,7 +108,7 @@ jobs:
108108
# builds the site as before. Classification uses the light pool class.
109109
changes:
110110
needs: [authz]
111-
runs-on: ubuntu-24.04
111+
runs-on: gke-2cpu-4gb-amd64
112112
permissions:
113113
contents: read
114114
env:
@@ -440,7 +440,7 @@ jobs:
440440
name: build (ubuntu-24.04, Release)
441441
needs: [authz, changes, build]
442442
if: ${{ always() && needs.authz.result == 'success' && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }}
443-
runs-on: ubuntu-24.04
443+
runs-on: gke-2cpu-4gb-amd64
444444
steps:
445445
- name: Refuse an unauthorised run before anything else
446446
if: ${{ needs.authz.result != 'success' }}
@@ -460,7 +460,7 @@ jobs:
460460
name: build (ubuntu-24.04, Debug)
461461
needs: [authz, changes, build-debug]
462462
if: ${{ always() && needs.authz.result == 'success' && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }}
463-
runs-on: ubuntu-24.04
463+
runs-on: gke-2cpu-4gb-amd64
464464
steps:
465465
- name: Refuse an unauthorised run before anything else
466466
if: ${{ needs.authz.result != 'success' }}
@@ -661,7 +661,7 @@ jobs:
661661
name: sanitizers
662662
needs: [authz, changes, sanitizers]
663663
if: ${{ always() && needs.authz.result == 'success' && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }}
664-
runs-on: ubuntu-24.04
664+
runs-on: gke-2cpu-4gb-amd64
665665
steps:
666666
- name: Refuse an unauthorised run before anything else
667667
if: ${{ needs.authz.result != 'success' }}
@@ -765,7 +765,7 @@ jobs:
765765
name: kernel-only
766766
needs: [authz, changes, kernel-only]
767767
if: ${{ always() && needs.authz.result == 'success' && (needs.changes.result != 'success' || needs.changes.outputs.docs_only != 'true') }}
768-
runs-on: ubuntu-24.04
768+
runs-on: gke-2cpu-4gb-amd64
769769
steps:
770770
- name: Refuse an unauthorised run before anything else
771771
if: ${{ needs.authz.result != 'success' }}
@@ -815,7 +815,7 @@ jobs:
815815
needs: [authz, changes, preflight, build, build-debug, build-release-gate, build-debug-gate, build-arm, sanitizers, sanitizers-gate, native-live, kernel-only, kernel-only-gate, corpus-parity-subset, preflight-slow, corpus-parity]
816816
if: always()
817817
# The aggregate runs inline Python and shell on the light pool class.
818-
runs-on: ubuntu-24.04
818+
runs-on: gke-2cpu-4gb-amd64
819819
permissions:
820820
contents: read
821821
env:

‎.github/workflows/corpus-parity.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
authz:
7676
name: authz
7777
# Fleet routing is fixed for this workflow; releases use pf-gcp-main.
78-
runs-on: ubuntu-24.04
78+
runs-on: gke-4cpu-8gb-amd64
7979
permissions: {}
8080
# No timeout-minutes: the owner's no-time-limits rule (check-no-time-limits refuses new ones).
8181
steps:

‎.github/workflows/docs-post.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
authz:
2828
name: authz
2929
# Fleet routing is fixed for this workflow; releases use pf-gcp-main.
30-
runs-on: ubuntu-24.04
30+
runs-on: gke-2cpu-4gb-amd64
3131
permissions: {}
3232
# No timeout-minutes: the owner's no-time-limits rule (check-no-time-limits refuses new ones).
3333
steps:

‎.github/workflows/fleet-post-capability.yml‎

Lines changed: 0 additions & 178 deletions
This file was deleted.

‎.github/workflows/native-live.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
authz:
4141
name: authz
4242
# Fleet routing is fixed for this workflow; releases use pf-gcp-main.
43-
runs-on: ubuntu-24.04
43+
runs-on: gke-4cpu-8gb-amd64
4444
permissions: {}
4545
# No timeout-minutes: the owner's no-time-limits rule (check-no-time-limits refuses new ones).
4646
steps:
@@ -318,7 +318,7 @@ jobs:
318318
name: native-live (native)
319319
needs: [authz, native-live-shards]
320320
if: always()
321-
runs-on: ubuntu-24.04
321+
runs-on: gke-4cpu-8gb-amd64
322322
steps:
323323
- name: Refuse an unauthorised run before anything else
324324
if: ${{ needs.authz.result != 'success' }}
@@ -348,7 +348,7 @@ jobs:
348348
native-live-gate:
349349
needs: [authz, native-live, native-live-native]
350350
if: always()
351-
runs-on: ubuntu-24.04
351+
runs-on: gke-4cpu-8gb-amd64
352352
steps:
353353
- name: Refuse an unauthorised run before anything else
354354
if: ${{ needs.authz.result != 'success' }}

‎.github/workflows/promote-baseline.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ permissions:
109109
jobs:
110110
promote-guard:
111111
name: promote-guard
112-
runs-on: ubuntu-latest
112+
runs-on: gke-2cpu-4gb-amd64
113113
# Resolution needs read access in private repos; no secrets or OIDC here.
114114
permissions:
115115
pull-requests: read

‎.github/workflows/release-ruleset-probe.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
authz:
1313
name: authz
1414
# Preflight pins executable workflow lines after removing comment-only lines.
15-
# authz uses hosted ubuntu-24.04; the App-token probe uses pf-gcp-post.
16-
runs-on: ubuntu-24.04
15+
# authz uses gke-2cpu-4gb-amd64; the App-token probe uses pf-gcp-post.
16+
runs-on: gke-2cpu-4gb-amd64
1717
permissions: {}
1818
# No timeout-minutes: the owner's no-time-limits rule (check-no-time-limits refuses new ones).
1919
steps:

0 commit comments

Comments
 (0)