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

test: Fix local runs of K8sUpdates #16802

Merged
merged 1 commit into from Jul 15, 2021

Conversation

pchaigno
Copy link
Member

@pchaigno pchaigno commented Jul 6, 2021

When run locally with the default arguments, K8sUpdates fails because the cilium-operator image for downgrades is downloaded at quay.io/cilium/operator-generic instead of quay.io/cilium/operator-generic-ci. Unfortunately, passing cilium.operator-suffix="-ci" as an argument to ginkgo is not enough because, for local test runs, the image is pushed to k8s1:5000/cilium/operator-generic.

This pull request fixes those issues and makes -ci the default value of cilium.operator-suffix.

@pchaigno pchaigno added kind/bug/CI This is a bug in the testing code. area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. labels Jul 6, 2021
When run locally with the default arguments, K8sUpdates fails because
the cilium-operator image for downgrades is downloaded at
quay.io/cilium/operator-generic instead of
quay.io/cilium/operator-generic-ci. Unfortunately, passing
cilium.operator-suffix="-ci" as an argument to ginkgo is not enough
because, for local test runs, the image is pushed to
k8s1:5000/cilium/operator-generic.

This commit fixes those issues and makes "-ci" the default value of
cilium.operator-suffix.

Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno
Copy link
Member Author

test-me-please

@pchaigno pchaigno marked this pull request as ready for review July 13, 2021 15:20
@pchaigno pchaigno requested a review from a team as a code owner July 13, 2021 15:20
@pchaigno pchaigno requested a review from tklauser July 13, 2021 15:20
@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 14, 2021
@nebril nebril merged commit 8e9321c into cilium:master Jul 15, 2021
@pchaigno pchaigno deleted the fix-local-run-k8supdates branch July 15, 2021 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake kind/bug/CI This is a bug in the testing code. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants