feat(ci): add GC CronJob for runner cleanup, expand reg PVCs to 20Gi

- Add gc-cronjob.yaml: daily prune of DinD Docker images/volumes/build-cache
  and actcache across all forgejo-runner pods. Keeps :latest tagged images,
  deletes non-latest older than 72h.
- Expand runner reg PVCs from 1Gi to 20Gi (all three runners) to prevent
  action tool cache from filling disk.
- Rust runner gets explicit 20Gi persistence override.
- GC only renders from golang (default) values to avoid duplicate resources.
This commit is contained in:
2026-08-30 07:08:59 -07:00
parent bde6c740ec
commit 91729f65e9
4 changed files with 171 additions and 1 deletions
@@ -7,3 +7,7 @@
runner:
name: node-runner
labels: "node:docker://node:22-bookworm"
# GC CronJob renders only from the default (golang) values to avoid duplicates
gc:
enabled: false