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

CI: Local CI runs don't set CILIUM_REGISTRY #10077

Merged
merged 1 commit into from Feb 7, 2020

Conversation

raybejjani
Copy link
Contributor

@raybejjani raybejjani commented Feb 6, 2020

We need to indicate whether to build cilium. This is only relevant when
running tests locally and cilium needs to be compiled. Historically,
the image has been pushed to k8s1:5000, a repository that runs on the
k8s1 host. We now use the global.registry value, piped into
CILIUM_REGISTRY, to indicate whether to build cilium. This was being set
to a default of "k8s1:5000" thus forcing compile.sh into pulling a
prebuilt image from CILIUM_REGISTRY. This is the intended behaviour on
CI and when running on managed k8s. In this one case, however, it is
incorrect.


This change is Reviewable

We need to indicate whether to build cilium. This is only relevant when
running tests locally and cilium needs to be compiled. Historically,
the image has been pushed to k8s1:5000, a repository that runs on the
k8s1 host. We now use the global.registry value, piped into
CILIUM_REGISTRY, to indicate whether to build cilium. This was being set
to a default of "k8s1:5000" thus forcing compile.sh into pulling a
prebuilt image from CILIUM_REGISTRY. This is the intended behaviour on
CI and when running on managed k8s. In this one case, however, it is
incorrect.

Signed-off-by: Ray Bejjani <ray@isovalent.com>
@raybejjani raybejjani added wip kind/bug/CI This is a bug in the testing code. area/CI Continuous Integration testing issue or flake labels Feb 6, 2020
@raybejjani raybejjani requested a review from a team as a code owner February 6, 2020 15:48
@maintainer-s-little-helper
Copy link

Release note label not set, please set the appropriate release note.

2 similar comments
@maintainer-s-little-helper
Copy link

Release note label not set, please set the appropriate release note.

@maintainer-s-little-helper
Copy link

Release note label not set, please set the appropriate release note.

@raybejjani
Copy link
Contributor Author

test-focus K8sDemosTest*

@raybejjani
Copy link
Contributor Author

test-gke K8sDemosTest*

Copy link
Member

@nebril nebril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it works locally, let's ship it

@raybejjani raybejjani added release-note/ci This PR makes changes to the CI. and removed dont-merge/needs-release-note labels Feb 6, 2020
@raybejjani
Copy link
Contributor Author

test-gke K8sDemosTest*

1 similar comment
@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 44.682% when pulling a0cc46a on raybejjani:ci-local into 8ee8815 on cilium:master.

@raybejjani
Copy link
Contributor Author

test-gke K8sDemosTest*

1 similar comment
@raybejjani
Copy link
Contributor Author

test-gke K8sDemosTest*

@raybejjani
Copy link
Contributor Author

test-gke K8sDemosTest*

7 similar comments
@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@nebril
Copy link
Member

nebril commented Feb 6, 2020

test-gke K8sDemosTest*

@aanm
Copy link
Member

aanm commented Feb 7, 2020

ok, I'll join the party

@aanm
Copy link
Member

aanm commented Feb 7, 2020

test-gke K8sDemosTest*

@aanm aanm added this to the 1.7 milestone Feb 7, 2020
@raybejjani
Copy link
Contributor Author

test-gke K8sDemosTest*

@raybejjani raybejjani merged commit e6f8c65 into cilium:master Feb 7, 2020
1.8.0 automation moved this from In progress to Merged Feb 7, 2020
@raybejjani raybejjani deleted the ci-local branch February 7, 2020 11:28
@joestringer
Copy link
Member

@raybejjani @nebril Does this need backporting to v1.7?

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. release-note/ci This PR makes changes to the CI.
Projects
No open projects
1.8.0
  
Merged
Development

Successfully merging this pull request may close these issues.

None yet

5 participants