You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OSTree cleanup prunes live images from bootc storage after an untagged switch #2684
Retention means keeping the container image in bootc storage through cleanup. The existing test-switch-to-unified already verified that the derived deployment boots. We extended it to also check what happens to the container images immediately after the switch.
Boot the base deployment and run bootc image set-unified to put its image in bootc storage.
Build localhost/bootc-unified-derived in that store and record the full image IDs for the base and derived images.
Switch to the derived image with its untagged name. The switch stages it and runs cleanup. Check that both IDs are still in bootc storage.
Reboot and check that the derived deployment is running and that its marker file is present.
Expected behavior
Cleanup should keep the images used by the booted and staged deployments. Retaining them by their OCI config IDs would work even when an origin omits :latest or a tag moves.
Activity