fix(ci): aggressive GC for heavy Rust cargo builds

- GC CronJob runs 2x daily (02:00 & 05:00 UTC) instead of once (03:00)
- Delete incomplete actcache uploads immediately (tmp/ dirs from failed writes)
- Reduce actcache retention from 3 days to 1 day
- Prevents cargo cache backlog on rust runner under heavy commit load
- Incomplete entries were accumulating 900MB+ each, filling 1Gi PVC instantly
This commit is contained in:
2026-08-30 09:23:09 -07:00
parent 136bfaf0f2
commit 686c962ea9
2 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -63,4 +63,4 @@ gc:
image: alpine/k8s:1.31.0
pruneAge: "72h" # Docker artifacts unused longer than this get pruned
pruneAgeHours: 72 # Same as pruneAge but numeric for date arithmetic in shell
actcacheMaxAgeDays: 3 # actcache files older than N days get deleted
actcacheMaxAgeDays: 1 # actcache files older than N days (aggressive for heavy Rust cargo builds)