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: Check kubectl with 'which' instead of 'dpkg -l' #10998

Merged
merged 1 commit into from Apr 16, 2020

Conversation

jrajahalme
Copy link
Member

@jrajahalme jrajahalme commented Apr 15, 2020

When k8s install falls back to binary install kubelet does not exist
as a package, but exists in the path. Use 'which kubelet' to check k8s
install instead of 'dpkg -l' to cover both install methods.

This change fixes the failure to run ginkgo again on an already
running set of k8s nodes when k8s has been installed as binaries.

Signed-off-by: Jarno Rajahalme jarno@covalent.io

When k8s install falls back to binary install kubelet does not exist
as a package, but exists in the path. Use 'which kubelet' to check k8s
install instead of 'dpkg -l' to cover both install methods.

This change fixes the failure to run ginkgo again on an already
running set of k8s nodes when k8s has been installed as binaries.

Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
@jrajahalme jrajahalme 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 Apr 15, 2020
@jrajahalme jrajahalme requested a review from a team as a code owner April 15, 2020 15:08
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.8.0 Apr 15, 2020
@jrajahalme
Copy link
Member Author

test-me-please

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 46.797% when pulling 125603d on pr/jrajahalme/test-k8s-use-which into 263fbd5 on master.

@aanm aanm merged commit f69498b into master Apr 16, 2020
1.8.0 automation moved this from In progress to Merged Apr 16, 2020
@aanm aanm deleted the pr/jrajahalme/test-k8s-use-which branch April 16, 2020 10:02
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

4 participants