-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
🌱 make ensure scripts fail if GOPATH/bin not in PATH #8017
🌱 make ensure scripts fail if GOPATH/bin not in PATH #8017
Conversation
Hi @tuminoid. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/ok-to-test
/lgtm |
LGTM label has been added. Git tree hash: c42d2beef84fd72ae4b933f4a4f4141aa61372d6
|
/assign @CecileRobertMichon |
e6530a3
to
ff68964
Compare
/lgtm |
LGTM label has been added. Git tree hash: be59b7912822e64ebb578166035ade2726127c80
|
ff68964
to
a613749
Compare
a613749
to
16647b5
Compare
Moved the logic to |
16647b5
to
128a27b
Compare
Move logic to function in |
ensure-kind.sh and ensure-kubectl.sh install binaries into $GOPATH/bin, but nowhere it checks that $GOPATH/bin is in user's PATH. In this case, the newly installed binaries won't be found later on.
128a27b
to
1eb729b
Compare
Thank you! /lgtm |
LGTM label has been added. Git tree hash: bd61588f209f3b8253063e37105288e3a8a210e6
|
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.
thanks!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@tuminoid @CecileRobertMichon @furkatgofurov7 Here is the fix: kubernetes/test-infra#28602 |
Interesting, not sure I understand how the preriodics were working before that but in any case, thanks for fixing it! |
I guess the images had the binaries built in (and not sure what the unit tests actually need) and we weren't depending on runner.sh in those jobs (as we are not using kind/ dind there) |
ensure-kind.sh and ensure-kubectl.sh install binaries into $GOPATH/bin, but nowhere it checks that $GOPATH/bin is in user's PATH. In this case, the newly installed binaries won't be found later on.