2026-07-12 11:35:04 +02:00
|
|
|
---
|
|
|
|
|
id: weekly-forgejo-package-prune
|
|
|
|
|
name: Weekly Forgejo Package Prune
|
2026-07-21 19:20:42 +02:00
|
|
|
enabled: true
|
2026-07-12 11:35:04 +02:00
|
|
|
owner: custodian-agent
|
|
|
|
|
governance: custodian
|
2026-07-21 19:20:42 +02:00
|
|
|
status: active
|
2026-07-12 11:35:04 +02:00
|
|
|
trigger:
|
|
|
|
|
type: cron
|
|
|
|
|
cron_expression: "30 3 * * 0"
|
|
|
|
|
timezone: UTC
|
|
|
|
|
misfire_policy: skip
|
|
|
|
|
context_sources:
|
|
|
|
|
- type: shell
|
|
|
|
|
query: forgejo_package_prune
|
2026-08-23 12:31:13 +02:00
|
|
|
operation: forgejo_package_prune
|
2026-07-12 11:35:04 +02:00
|
|
|
required: true
|
|
|
|
|
params:
|
2026-07-21 19:20:42 +02:00
|
|
|
prune_script: /opt/railiance-platform/tools/cmd/forgejo-package-prune
|
|
|
|
|
live_images_file: /opt/railiance-platform/docs/evidence/live-images-all.txt
|
|
|
|
|
apply: true
|
2026-07-12 11:35:04 +02:00
|
|
|
max_versions: 3
|
|
|
|
|
evidence_sinks:
|
|
|
|
|
- type: state-hub-progress
|
|
|
|
|
event_type: forgejo_package_prune
|
|
|
|
|
author: activity-core
|
|
|
|
|
bind_to: 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
|
2026-07-21 19:20:42 +02:00
|
|
|
(live cluster + Helm values) are protected.
|
2026-07-12 11:35:04 +02:00
|
|
|
|
2026-07-21 19:20:42 +02:00
|
|
|
**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.
|