-
Notifications
You must be signed in to change notification settings - Fork 9
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
INVALIDATE_DOCKER_CACHE in Bionic and Focal for the next two months #1067
Conversation
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
# that poisoned a lot of docker cache in different builds and nodes. Force invalidation | ||
# during a couple of month to rotate images | ||
if [[ "${DISTRO}" == 'bionic' || "${DISTRO}" == 'focal' ]] && \ | ||
[[ "$(date '+%s')" -lt "$(date -d '+60 days' '+%s')" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this always be 60 days in the future instead of 60 days from a fixed date?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just expect to see a specific date like 2023-12-31
or 2024-01-10
or something
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eeeeeeeeeek 😓 do not code late on Fridays. 33e8fe3 sorry for that
Signed-off-by: Jose Luis Rivero <[email protected]>
Seems more reasonable to me. Need to merge so we can test other problems like #1059 . |
After many problems related to an apt-key failure that has poisoned many of our docker cache, this PR should invalidate docker cache. This PR will help to keep the cache clean for a couple of months to facilitate image rotation.
See #1069