Harden backup credentials and add durable image inventory publication
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a06ecb-456a-71c2-b41e-0755d336e883
This commit is contained in:
parent
62423fd092
commit
0349a08e1b
13 changed files with 365 additions and 23 deletions
8
Makefile
8
Makefile
|
|
@ -471,6 +471,14 @@ forgejo-backup-status: ## Show last Forgejo backup success and 7-day gate
|
|||
forgejo-package-prune-dry-run: ## List Forgejo package versions beyond retention depth (no deletes)
|
||||
tools/cmd/forgejo-package-prune
|
||||
|
||||
LIVE_IMAGES_OUTPUT ?= $(HOME)/.local/state/railiance-platform/live-images/all.txt
|
||||
LIVE_IMAGES_SOURCES ?=
|
||||
.PHONY: live-images-refresh
|
||||
live-images-refresh: ## Atomically preserve and merge image exports outside the checkout
|
||||
@test -n "$(LIVE_IMAGES_SOURCES)" || { echo 'set LIVE_IMAGES_SOURCES to nonempty cluster export files' >&2; exit 2; }
|
||||
python3 scripts/refresh_live_images.py --output "$(LIVE_IMAGES_OUTPUT)" \
|
||||
$(foreach source,$(LIVE_IMAGES_SOURCES),--source "$(source)")
|
||||
|
||||
forgejo-package-prune: ## Prune Forgejo packages — keep newest 3 versions per package
|
||||
tools/cmd/forgejo-package-prune --apply
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue