activity-core/activity-definitions/weekly-forgejo-package-prune.md
tegwick a35997878b
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s
Build and Publish Container Image / build-and-push (push) Successful in 28s
Finish ACTIVITY-WP-0020: enable weekly Forgejo package prune
First apply deleted 38 stale versions; enable schedule with live-images
protection file for worker pods without kubectl; restore path for live
state-hub tags after an unprotected worker apply.
2026-07-21 19:20:42 +02:00

1.2 KiB

id name enabled owner governance status trigger context_sources
weekly-forgejo-package-prune Weekly Forgejo Package Prune true custodian-agent custodian active
type cron_expression timezone misfire_policy
cron 30 3 * * 0 UTC skip
type query required params bind_to
shell forgejo_package_prune true
prune_script live_images_file apply max_versions evidence_sinks
/opt/railiance-platform/tools/cmd/forgejo-package-prune /opt/railiance-platform/docs/evidence/live-images-all.txt true 3
type event_type author
state-hub-progress forgejo_package_prune activity-core
context.prune

Weekly Forgejo Package Prune

Runs every Sunday at 03:30 UTC (after the 02:15 forgejo-backup cron). Invokes railiance-platform/tools/cmd/forgejo-package-prune to retain the newest 3 versions per coulomb package (OCI, PyPI, npm, generic). Production image tags (live cluster + Helm values) are protected.

Enabled 2026-07-21 (ACTIVITY-WP-0020 T05/T06): first apply deleted 38 stale package versions; worker has FORGEJO_TOKEN + host-mounted /opt/railiance-platform prune tools.