-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add pipefail for etcd verify presubmit #32563
Conversation
link to the issue: |
Thanks - For this PR I just want to test if we can fix the job not failing. We will need a further pr / investigation into why the golangci-lint command is not found. |
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.
Hi @jmhbnz, thanks for investigating why it was failing. As part of etcd-io/etcd#17929 (and unaware that etcd-io/etcd#17637 existed). I investigated why golangci-lint
was failing. My suggestion addresses this issue and will avoid having failure builds until a follow-up PR.
However, if you think it's better to address it in a follow-up, we can do it that way. Let me know what you think.
I just verified that it has a different message at the exit with your changes 🎉 (note the last line, that wasn't in previous runs):
If you decide to merge without my suggestion, I think it's fine with me, and I can address my suggestion in a follow-up. In that case /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
@ivanvc: changing LGTM is restricted to collaborators 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-sigs/prow repository. |
Oh yeah, I don't have rights in this repository 😅 |
Signed-off-by: James Blair <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, ivanvc, jmhbnz 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 |
@jmhbnz: Updated the
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-sigs/prow repository. |
Completely agree - more than happy to be the second sponsor. @ivanvc please complete the issue template here requesting |
This workflow is stable and running on Prow's infrastructure, refer to: * PR: kubernetes/test-infra#32563 * Code: https://github.com/kubernetes/test-infra/blob/0dc2e876292f8bc237ffbe0fcbfd0c81066b6eae/config/jobs/etcd/etcd-presubmits.yaml#L53-L87 Signed-off-by: Ivan Valdes <[email protected]>
Done in kubernetes/org#4946. Thanks for the sponsorship guys ❤️ |
As part of the etcd
make verify
,golangci-lint
installs successfully:Yet then goes on to error saying golangci-lint not found:
Interestingly the job passes despite this failure. I think we should align with github actions where this does fail, the only difference I can see is that in github actions we set pipefail before calling
make verify
.