List and optionally delete package versions beyond the newest three, protecting production Helm image tags. Adds Make targets and unit tests for ACTIVITY-WP-0020.
5 lines
No EOL
258 B
Bash
Executable file
5 lines
No EOL
258 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# tools/cmd/forgejo-package-prune — retention prune for Forgejo packages (ACTIVITY-WP-0020)
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
|
exec python3 "${ROOT}/scripts/forgejo_package_prune.py" --json "$@" |