banger/internal/imagecat
Thales Maciel ab5627aec2
imagecat: publish debian-bookworm golden image
First entry in the image catalog. Verified end-to-end:
  - https://images.thaloco.com/debian-bookworm-x86_64.tar.zst reachable
  - sha256 071495e6... matches
  - bundle unpacks to rootfs.ext4 (4 GiB) + manifest.json with the
    expected name/distro/arch/kernel_ref.

publish-golden-image.sh tweaks:
  - default RCLONE_REMOTE from 'r2' to 'banger-images' (matches the
    rclone config actually in use here).
  - rclone copyto now passes --s3-no-check-bucket and --no-check-dest
    so scoped R2 tokens without HeadBucket/HeadObject permission
    still upload cleanly.

To use: restart bangerd so it picks up the new embedded catalog,
then `banger image pull debian-bookworm`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 13:25:42 -03:00
..
catalog.go imagecat: catalog + fetch for banger image bundles 2026-04-17 15:11:52 -03:00
catalog.json imagecat: publish debian-bookworm golden image 2026-04-18 13:25:42 -03:00
catalog_test.go imagecat: catalog + fetch for banger image bundles 2026-04-17 15:11:52 -03:00
fetch.go imagecat: catalog + fetch for banger image bundles 2026-04-17 15:11:52 -03:00
fetch_test.go imagecat: catalog + fetch for banger image bundles 2026-04-17 15:11:52 -03:00