-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
test: Use stable tags instead of :latest #14093
Conversation
e93eead
to
3d3064b
Compare
We use the latest tag for several of the Docker images in tests. That has two drawbacks: (1) unless imagePullPolicy is specified, we always attempts to pull the image and (2) we will start using new latest images as soon as they are available, which can cause our tests to flake. This commit avoids such use of latest to prefer an equivalent stable tag. When a stable tag did not already exist, 1.0 was created. When a source code repository existed for the image, a 1.0 GitHub release was created. When the source code wasn't available, the 1.0 image tag is simply a copy of current latest tag. Signed-off-by: Paul Chaignon <paul@cilium.io>
3d3064b
to
186902d
Compare
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.
🥳 🥳 🥳 🥳 🥳 🥳 🥳 🥳 🥳 🥳
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.
🎉
None of the runtime tests cover changes in this PR, so the RuntimePrivilegedUnitTests failure appears to be a flake. I filed #14125 for it. Marking as ready to merge. |
Pull request cilium/cilium#14093 removed all references to :latest in our tests, prefering stable image tags. This pull request updates the list of pre-pulled images accordingly. Signed-off-by: Paul Chaignon <paul@cilium.io>
Pull request cilium/cilium#14093 removed all references to :latest in our tests, preferring stable image tags. This pull request updates the list of pre-pulled images accordingly. Signed-off-by: Paul Chaignon <paul@cilium.io>
Pull request cilium/cilium#14093 removed all references to :latest in our tests, preferring stable image tags. This pull request updates the list of pre-pulled images accordingly. Signed-off-by: Paul Chaignon <paul@cilium.io>
We use the
latest
tag for several of the Docker images in tests. That has two drawbacks: (1) unlessimagePullPolicy
is specified, we always attempts to pull the image and (2) we will start using newlatest
images as soon as they are available, which can cause our tests to flake.This pull request avoids such use of
latest
to prefer an equivalent stable tag. When a stable tag did not already exist,1.0
was created. When a source code repository existed for the image, a1.0
GitHub release was created. When the source code wasn't available, the1.0
image tag is simply a copy of currentlatest
tag.Fixes: #4483