Commit 65666d9
authored
feat(arc): replace dind runner with arc-tf scale set on tfroot-runner (#25)
## Summary
Single GitHub Actions runner-set running the rebuilt tfroot-runner image
(based on \`ghcr.io/actions/actions-runner\`). No docker-in-docker, no
nested \`container:\` blocks in caller workflows. Consumers move to
\`runs-on: arc-tf\`.
### Removed (legacy summerwind ARC + dind plumbing)
- \`operators/arc/dind-application.yaml\` — summerwind controller
install
- \`operators/arc/github-token-secret.yaml\` — its \`arc-dind-systems\`
token
- \`operators/arc/namespace.yaml\` — \`arc-dind-systems\` ns
- \`operators/arc/ksops-arc-secrets.yaml\` — only listed the deleted
token
- \`workloads/arc/runner-application.yaml\` — old runner-set with
\`docker:dind\` sidecar
- \`workloads/arc/docker-daemon-config.yaml\` — dind registry-mirror
config
- \`workloads/arc/registry.yaml\` — internal docker-registry ns + SA +
RB
- \`workloads/arc/rbac.yaml\` — \`system:openshift:scc:privileged\`
binding (the SCC ClusterRole doesn't exist on k3s)
### Added
- \`workloads/arc/arc-tf-application.yaml\` — \`gha-runner-scale-set\`
Helm Application, \`releaseName / runnerScaleSetName: arc-tf\`, \`image:
ghcr.io/makeitworkcloud/tfroot-runner:latest\`. \`ignoreDifferences\`
for the controller-mutated listener resources (same fix that was applied
to the old generic runner-set in #11).
### Tidied
- \`workloads/apps/arc-app.yaml\` — drop the OpenShift ImageStream
\`ignoreDifferences\` block.
- Both \`operators/arc/\` and \`workloads/arc/\` \`kustomization.yaml\`
files trimmed to the surviving resources.
### Kept
- \`operators/arc/arcsystem.yaml\` — the
\`gha-runner-scale-set-controller\` Application (the new arc-tf
runner-set depends on it).
- \`workloads/arc/namespace.yaml\` — \`arc-runners\` ns reused for the
new runner-set.
- \`workloads/arc/github-token-secret.yaml\` +
\`ksops-arc-secrets.yaml\` — \`arc-runner-github-token\` Secret reused
as \`githubConfigSecret\`.
## Pairs with
- images PR #6 (merged) — tfroot-runner image rebased onto
\`ghcr.io/actions/actions-runner\`.
- shared-workflows (incoming) — drop the nested \`container:\` block;
default \`runs-on: arc-tf\`.
- tfroot-libvirt (incoming) — caller switches from \`runs-on: arc-dind\`
+ \`container:\` to plain \`runs-on: arc-tf\`.
## Test plan
- [x] After merge: \`kubectl -n arc-runners get autoscalingrunnerset
arc-tf\` exists; listener pod registers with GitHub
- [x] After merge: GitHub org → Actions → Runners shows an \`arc-tf\`
runner set
- [x] After merge: a job with \`runs-on: arc-tf\` spawns an ephemeral
pod in arc-runners, runs to completion, pod terminates
- [x] After merge: legacy \`arc-dind\` Application is pruned by
gitops-operators; \`arc-dind-systems\` ns gone
- [x] After merge: \`docker-registry\` ns gone (pruned)
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent d460fc0 commit 65666d9
12 files changed
Lines changed: 57 additions & 391 deletions
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 17 | | |
28 | 18 | | |
29 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
This file was deleted.
0 commit comments