homek8s/apps/base/forgejo
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters f1fcf21a94 forgejo/prune: prune every Docker daemon, cap builder cache by age, alert on growth
The nightly CronJob reported Complete while never reclaiming build cache:
docker 27/buildx 0.20.1 accepts --keep-storage and --max-used-space but
returns 'Total: 0B' for both (measured: 21.44GB cache with a 20GB cap, and
541MB cache with a 100MB cap). The comment claiming 53GB reclaimed was true
on an older CLI and is now false. --filter until= does reclaim, so the cash
cap is enforced by walking age windows down (72h -> 0s) and stopping as soon
as the cache is under the cap.

Coverage is now every daemon, discovered not listed: the Pi host socket and
every in-cluster dind pod matching label app=forgejo-runner with a dind
container, pruned over pods/exec with a namespace-scoped ServiceAccount, so
the arm64 dind migration is picked up without editing this job.

Busy guard skips a daemon with a live build and still exits 0. Named volumes
are never pruned; their sizes are printed every run. Adds PrometheusRule
forgejo-prune: cronjob staleness/failure plus node filesystem high-watermark.
2026-10-27 01:43:20 -04:00
..
cluster.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
deployment.yaml cillium gateway config switch to linode node as gateway 2026-09-14 23:47:48 -04:00
httproute.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
kustomization.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
namespace.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
pg-actions-queries.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
podmonitor.yaml monitoring: custom Forgejo runner, CNPG and workload dashboards from git 2026-10-27 01:32:20 -04:00
prune-cronjob.yaml forgejo/prune: prune every Docker daemon, cap builder cache by age, alert on growth 2026-10-27 01:43:20 -04:00
pvc.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00
runner-amd64.yaml forgejo-runner-amd64: run the runner as root so a raced dind socket chmod cannot crashloop it 2026-10-26 17:38:04 -04:00
runner-arm64.yaml fix(forgejo): arm64 runner back to multi-arch forgejo/runner image 2026-09-18 23:50:30 -04:00
runner-configmap.yaml forgejo: let the deploy runner's init container write runner.ini; cap job memory; prune nightly 2026-10-22 23:55:21 -04:00
runner-deploy-arm64.yaml forgejo: let the deploy runner's init container write runner.ini; cap job memory; prune nightly 2026-10-22 23:55:21 -04:00
service.yaml Add Forgejo app and CNPG cluster (1 replica). 2026-09-11 00:08:31 -04:00