Skip to content
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

Provide a method to rollback the base image #78

Open
newswangerd opened this issue Dec 13, 2022 · 2 comments
Open

Provide a method to rollback the base image #78

newswangerd opened this issue Dec 13, 2022 · 2 comments

Comments

@newswangerd
Copy link
Collaborator

We've had a few instances where changes to the base image (ghcr.io/pulp/pulp-ci-centos:latest) have caused the developer environment to break (in some cases for up to a week with the user permission changes). Developers should have the option to rollback to a previous base image when this happens so that they can continue working while a fix is created.

@mdellweg
Copy link
Member

FWIW, if you have a tag for this image locally and do not force a pull, it should be used. So you could build your own image from a former commit of the oci images repository.

@newswangerd
Copy link
Collaborator Author

FWIW, if you have a tag for this image locally and do not force a pull, it should be used. So you could build your own image from a former commit of the oci images repository.

Until you unwittingly update the base image, and then you're in trouble, like I did :)

I was thinking we could solve this by giving users the option to customize the base image in compose.env and adding a build command that caches the previous base image. That way if an update goes sideways, you have a backup of the old image and a way to configure the env to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants