-
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
🌱 Install hack/tools with temporary go module #5741
Conversation
Hi @kaitoii11. 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. |
/ok-to-test |
Makefile
Outdated
|
||
YQ_VER := v4.13.5 | ||
YQ_BIN := yq | ||
YQ := $(abspath $(TOOLS_BIN_DIR)/$(YQ_BIN)-$(YQ_VER)) |
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.
I think we should now be able to drop hack/tools/tools.go
. After make modules
hack/tools/go.mod
should then only contain dependencies of our own tools in hack/tools
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.
@kaitoii11 I think this comment still applies
The test is failing because the naming convention changed for the command binary. |
/test pull-cluster-api-e2e-main EDIT: Okay that's a merge conflict not a test flake |
dc8f292
to
30fe95a
Compare
@kaitoii11 I found a solution that I would be happy with
This way we are using the symlink generated by the go install script. That is enough because conversion-gen is This has the downside that on every conversion the binary has to be rebuilt, but it's very fast with the go cache and only takes a few seconds, which is way faster than the conversion generation itself. /cc @CecileRobertMichon @vincepri WDYT? |
SGTM |
3e718f8
to
3ccfabd
Compare
3ccfabd
to
63cf8e7
Compare
63cf8e7
to
f42004e
Compare
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.
Thank you very much. Last round of nits from my side. Otherwise lgtm!!
f42004e
to
7de8c01
Compare
@kaitoii11 Thank you very much!! I know it has been a lot of work, probably more than expected, but thx for staying on it and getting it done! :) /lgtm |
/lgtm |
[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 |
* Fixes regression for make help introduced in kubernetes-sigs#5741 Signed-off-by: Christian Schlotter <[email protected]>
What this PR does / why we need it:
Install hack/tools with temporary go modules.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #5569