• Stefy Lanza (nextime / spora )'s avatar
    packaging: keep only the most recent base backup · 687c14c8
    Stefy Lanza (nextime / spora ) authored
    Every `base-pre-<stamp>` rollback tag pins a whole ~26 GB image, and they
    were never retired: twenty builds had accumulated 245 GB of bases that
    nothing would ever read. The flatten now keeps KEEP_BACKUPS (default 1)
    and retires the rest, so there is always exactly one image to roll back
    to. KEEP_BACKUPS=0 keeps none.
    
    It also drops the intermediate `flat-<stamp>` tag by default
    (KEEP_FLAT_TAG=1 to keep it): it points at the same image the base tag
    does, so it frees nothing and only makes `docker image ls` unreadable.
    
    Tested end to end against ubuntu:24.04 — a real export/import/verify
    cycle in seconds rather than six minutes: config equality passes, the new
    backup is made, three older ones are retired, and KEEP_BACKUPS=0 leaves
    none.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    687c14c8
Name
Last commit
Last update
..
common Loading commit data...
dinov2cpp Loading commit data...
linux Loading commit data...
runpod Loading commit data...
patch-colibri.py Loading commit data...
patch-k3.py Loading commit data...
setup-salad-venv.sh Loading commit data...
versions.env Loading commit data...