-
Notifications
You must be signed in to change notification settings - Fork 116
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
Use e2e-test
tag for images built in e2e CI
#466
Use e2e-test
tag for images built in e2e CI
#466
Conversation
Currently for the kind CI, Kind deploys Kubernetes version v1.27.3, in this version the `ImagePullpolicy` of containers follow the procedures in [1], this breaks the CI, since the CI uses the `latest` tag when building the images, and Kubernetes tries to pull the images always instead of using the built image. This patch changes the tag of the image built by CI to `e2e-test`, so that K8S will set the image policy to be `IfNotPresent`. [1] https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting Signed-off-by: Abdallah Yasin <[email protected]>
Thanks for your PR,
To skip the vendors CIs use one of:
|
Pull Request Test Coverage Report for Build 5505729041
💛 - Coveralls |
/test-e2e-nvidia-all |
@e0ne @adrianchiris Can you guys PTAL? |
/test-e2e-nvidia-all |
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.
It seems to be a workaround for a CI. From other side I'm OK to have a specific image tag for e2e tests
as the images for e2e tests are built by the alternative is to explicitly add image pull policy when running make deploy. |
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.
lgtm
LGTM |
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.
LGTM
Currently for the kind CI, Kind deploys Kubernetes version v1.27.3, in this version the
ImagePullpolicy
of containers follow the procedures in [1], this breaks the CI, since the CI uses thelatest
tag when building the images, and Kubernetes tries to pull the images always instead of using the built image.This patch changes the tag of the image built by CI to
e2e-test
, so that K8S will set the image policy to beIfNotPresent
.[1] https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting