-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rollback
verb
#383
Comments
We chatted about this in realtime, I was pushing for a "rollback via targeting previous image tag or sha256 digest" flow. The problem with doing this via sha256 digest is that many default registry configurations aggressively GC untagged images. So our entrypoint docs should probably push for a workflow of pushing at least two versioned tags per build, a This all said, there's still a clear use case and value for the low-level technique of reverting to the previous boot entry; it's particularly needed for cases where networking breaks after upgrade, etc. |
Hello, I'm trying to help out with the support of greenboot with bootc. I had similar thought regarding adding the Does bootc or ostree native containers keeps (caches) the rollback image? My understanding is that the variant with ostree keeps the deployment in the systems for a rollback. Can that be done in similar way with the bootc-compatible container images (if the idea is to have bootc "engine" agnostic or not having hard dependency on ostree)? Thank you. cc @beav |
@vkrizan Greenboot does have a rollback feature and it works the way you understand, under hood greenboot uses |
@say-paul My idea was to extend greenboot to use |
PR in #447 |
closed with #447 (?) |
My original hope was that we'd get away from an imperative-style interface;
bootc edit
should allow programmatic targeting for scripting cases.However, a
bootc rollback
verb would be highly convenient.The text was updated successfully, but these errors were encountered: