What I want to do is an upgrade test, some rough thoughts on how this maybe could look like:
bootc install-to-disk last weeks :stable image
- setup ssh (modify the image, don't actually enable sshd by default on builds we ship to users)
- push that image to a staging tag like
ghcr.io/get-aurora-dev/aurora:stable-x86_64 (sign with corresponding key, not ublue one)
- upgrade to
ghcr.io/get-aurora-dev/aurora:stable-x86_64 (which is the freshly built image)
- Make some (bogus) small change to the current image to verify if we can upgrade to future images from the current image
- actually push to a production tag like
ghcr.io/ublue-os/aurora:stable if things worked out
This needs some changes on how we push our images currently (ties into #2538), ideally we would be doing tests with images on ghcr.io/ublue-os/ to mimic actual systems as close as possible (especially regarding signing and containers-policy.json).
Even if we only upgrade to images that are in the containers-storage (and are not signed), at least this would detect issues like
We should probably heavily look at what bootc does already:
https://github.com/bootc-dev/bootc/blob/main/Justfile
https://github.com/bootc-dev/bootc/blob/main/bcvk.just
What I want to do is an upgrade test, some rough thoughts on how this maybe could look like:
bootc install-to-disklast weeks:stableimageghcr.io/get-aurora-dev/aurora:stable-x86_64(sign with corresponding key, not ublue one)ghcr.io/get-aurora-dev/aurora:stable-x86_64(which is the freshly built image)ghcr.io/ublue-os/aurora:stableif things worked outThis needs some changes on how we push our images currently (ties into #2538), ideally we would be doing tests with images on
ghcr.io/ublue-os/to mimic actual systems as close as possible (especially regarding signing and containers-policy.json).Even if we only upgrade to images that are in the containers-storage (and are not signed), at least this would detect issues like
We should probably heavily look at what bootc does already:
https://github.com/bootc-dev/bootc/blob/main/Justfile
https://github.com/bootc-dev/bootc/blob/main/bcvk.just