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

Flush-ContainerHelperCache Deletes Images that Are Currently In Use #3465

Closed
MattTraxinger opened this issue Apr 4, 2024 · 1 comment · Fixed by #3466
Closed

Flush-ContainerHelperCache Deletes Images that Are Currently In Use #3465

MattTraxinger opened this issue Apr 4, 2024 · 1 comment · Fixed by #3466
Assignees

Comments

@MattTraxinger
Copy link
Contributor

Describe the issue
Flush-ContainerHelperCache is deleting images in the middle of pipelines.

Pipeline 1
image

Pipeline 2
image

I'm guessing this is because the function isn't taking the new URLs into account.

image

If I'm running two pipelines simultaneously, one can finish and delete the image while the other still needs it.

Scripts used to create container and cause the issue
Flush-ContainerHelperCache -KeepDays 2

Additional context
This failed with the release today.

freddydk added a commit to freddydk/navcontainerhelper that referenced this issue Apr 5, 2024
@freddydk freddydk mentioned this issue Apr 5, 2024
@freddydk
Copy link
Contributor

freddydk commented Apr 5, 2024

It calculates the cachefolder wrongly - 6.0.14 will ship asap

freddydk added a commit that referenced this issue Apr 5, 2024
Fixes #3465

Co-authored-by: freddydk <freddydk@users.noreply.github.com>
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

Successfully merging a pull request may close this issue.

2 participants