-
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
🐛 Restore yq targets accidentally removed in 5785 #6681
🐛 Restore yq targets accidentally removed in 5785 #6681
Conversation
/cherry-pick release-1.2 |
@fabriziopandini: once the present PR merges, I will cherry-pick it on top of release-1.2 in a new PR and assign it to you. In response to this:
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. |
/lgtm |
@@ -970,6 +975,9 @@ $(SETUP_ENVTEST_BIN): $(SETUP_ENVTEST) ## Build a local copy of setup-envtest. | |||
.PHONY: $(KPROMO_BIN) | |||
$(KPROMO_BIN): $(KPROMO) ## Build a local copy of kpromo | |||
|
|||
.PHONY: $(YQ_BIN) |
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'm still getting
➜ cluster-api git:(pr/6681) ./hack/get-project-maintainers.sh
make: *** No rule to make target `hack/tools/bin/yq'. Stop.
Probably because the makefile was refactored and the script runs make hack/tools/bin/yq
but this just has a make yq
target
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.
if you change /hack/get-project-maintainers.sh to
YQ="${REPO_ROOT}/hack/tools/bin/yq"
cd "${REPO_ROOT}" && make "${YQ##*/}" &>/dev/null
it should work
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.
fixed, it worked because first I called make yq, then the binary was already there when testing the script
/lgtm cancel need to fix the script to work with the new target |
1700781
to
5246920
Compare
Works for me locally now /lgtm |
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.
/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 |
@fabriziopandini: new pull request created: #6682 In response to this:
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. |
What this PR does / why we need it:
This PR restores yq targes accidentally removed by #5785
After this PR hack/get-project-maintainers.sh is back to proper functioning
/cc @CecileRobertMichon