Commit Graph

8 Commits

Author SHA1 Message Date
admin 761dc3856e Add gitea-image-prune.sh: inspect/prune Gitea container images + reclaim disk
New operator CLI (curl+jq, dry-run default) to list, prune (keep-N or
older-than), and reclaim old container images in the self-hosted Gitea
registry. Reclaim implements the three-step mechanism proven live on
Gitea 1.26.2: delete tag (frees only the index pointer) -> delete the
orphaned sha256 manifest versions (default cleanup_packages does NOT
remove untagged manifests) -> cleanup_packages cron GCs the now
unreferenced blobs. Orders by upload date, protects ^latest$, fail-closed
orphan detection, audit log, never logs the token.

Live-verified: single-version spike freed 5.1 MiB; cleaning felhom-hub's
16 orphan manifests freed 86 MiB; surviving tags still docker-pull.
felhom-controller and other packages left untouched for the operator.

Adds README section (usage, minimal token scopes, reclaim caveat, native
cleanup-rule recommendation), CHANGELOG, REPORT, and .gitattributes (LF).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 09:16:07 +02:00
admin 3db14bf5f9 chore: point build-felhom-controller.sh at renamed repo (felhom-controller)
Updates REPO_DIR clone dir and clone URL after the deploy-felhom-compose ->
felhom-controller rename. collect-repos.sh needs no change (auto-discovers dirs).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 13:39:54 +02:00
admin b97791df7e updated build scripts 2026-02-16 13:39:26 +01:00
admin 571362d9fb updated scripts 2026-02-16 08:11:47 +01:00
admin 49e8a9794a modified output filename 2026-02-12 12:15:19 +01:00
admin 7b0dcd6c9d added force option 2026-02-12 12:10:16 +01:00
admin ef122ba2a7 collecting readme.mds 2026-02-12 12:06:20 +01:00
admin fdfa87a54b misc-scripts created 2026-02-12 11:57:07 +01:00