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

Don't delete images if deleteOnExit is false #5391

Merged
merged 6 commits into from
May 24, 2022

Conversation

kiview
Copy link
Member

@kiview kiview commented May 23, 2022

It seems we had a regression in ImageFromDockerfile (maybe already since #2809?), which meant that images built by TC were removed by Ryuk, even if deleteOnExit was set to false.

This PR removes the now superfluous call to registerImageForCleanup() and instead adds the Ryuk cleanup marker labels only if deleteOnExit is set to true.

@kiview kiview requested a review from a team as a code owner May 23, 2022 15:36
@kiview kiview added this to the next milestone May 23, 2022
kiview and others added 2 commits May 24, 2022 09:00
…DockerfileTest.java

Co-authored-by: Eddú Meléndez Gonzales <eddu.melendez@gmail.com>
@eddumelendez eddumelendez merged commit 2bdbc8c into master May 24, 2022
@delete-merged-branch delete-merged-branch bot deleted the delete-on-exit-image-fix branch May 24, 2022 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants