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: Always select nodes by label #14867

Merged
merged 1 commit into from
Feb 9, 2021

Conversation

pchaigno
Copy link
Member

@pchaigno pchaigno commented Feb 5, 2021

The node name for nodes in e.g. GKE is not fixed as in Packet nodes. So selecting nodes based on their name, as done in GetCiliumPodOnNode doesn't work there. This commit renames GetCiliumPodOnNode to GetCiliumPodOnNodeWithLabels and ensures we always select nodes by label in tests.

The node name for nodes in e.g. GKE is not fixed as in Packet nodes. So
selecting nodes based on their name, as done in GetCiliumPodOnNode
doesn't work there. This commit renames GetCiliumPodOnNode to
GetCiliumPodOnNodeWithLabels and ensures we always select nodes by label
in tests.

Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno pchaigno added area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/ci This PR makes changes to the CI. labels Feb 5, 2021
@pchaigno pchaigno requested a review from a team February 5, 2021 13:06
@pchaigno pchaigno requested review from a team as code owners February 5, 2021 13:06
@pchaigno pchaigno requested review from a team February 5, 2021 13:06
@pchaigno pchaigno requested a review from a team as a code owner February 5, 2021 13:06
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Feb 5, 2021
@pchaigno pchaigno added the kind/cleanup This includes no functional changes. label Feb 5, 2021
@pchaigno
Copy link
Member Author

pchaigno commented Feb 5, 2021

test-me-please

Copy link
Contributor

@twpayne twpayne left a comment

Choose a reason for hiding this comment

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

LGTM

@pchaigno
Copy link
Member Author

pchaigno commented Feb 8, 2021

This pull request is not touching any SIG-specific code, but only ci-structure's. So I think we're ready to merge without the last few team reviews.

@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 8, 2021
@borkmann borkmann merged commit fce7fe0 into master Feb 9, 2021
@borkmann borkmann deleted the pr/pchaigno/remove-getciliumpodonnode branch February 9, 2021 13:33
@joestringer joestringer moved this from In progress to Done in 1.10.0 Feb 12, 2021
@joestringer joestringer moved this from In progress to Done in 1.10.0 Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI-improvement Topic or proposal to improve the Continuous Integration workflow kind/cleanup This includes no functional changes. 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
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

7 participants