-
Notifications
You must be signed in to change notification settings - Fork 2.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
Fix windows build, add clarity to goreleaser build (due to race conditions). #4262
Fix windows build, add clarity to goreleaser build (due to race conditions). #4262
Conversation
@patricknelson: This PR has multiple commits, and the default merge method is: merge. 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. |
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
Welcome @patricknelson! |
Hi @patricknelson. 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. |
Fixing my commits right now, will also sign the agreement in a moment. |
e879cf7
to
fd278e3
Compare
I signed the agreement but it doesn't appear to be going through automatically. It should be under my personal email account, however the initial comments were using my globally configured email address. Edit: Never mind 😄 |
p.s. Thanks to @olljanat, since I'm not a Go developer per se, I just used a modified version of the command in #4028 (comment) for the releases documentation (using the |
/hold for a bit, need to do some research first actually before this can be merged. |
fd278e3
to
760d3a5
Compare
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
Swapping over to new Linux Foundation account (patricknelson-ebay) associated with my eBay email account instead of personal, since that will be more appropriate for this situation (dotting i's, crossing t's, etc). 🙂 |
/unhold |
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 so much for digging into what is going on here and helping us improve the release process!
…commit history) to make way for new localbuild.sh which will actually be entirely local, since this script is still very specific to Cloud Build.
760d3a5
to
9c4a797
Compare
Ok done @natasha41575 and @KnVerey: Retaining the original Unfortunately, a side effect of those two factors above working together is that GitHub's diff viewer makes it look way more dramatic than it actually is 😕. Specifically:
This is easily revealed when you look at the two commits individually, however 😄. Also, if you manually diff
|
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.
A couple small asks/questions, then this is good to go! I'm ok with the refactor to share code between the files being a follow-up, assuming you're up for doing it. 😄
I'd like to see the local build added to our CI, but that can definitely be its own PR as well.
… goreleaser builds locally (localbuild.sh) in a way exactly consistent with Cloud Build (cloudbuild.sh) but as a *build* only, without being coupled to Cloud Build or it's dependencies (like Cloud KMS, GitHub, etc).
9c4a797
to
a511708
Compare
/ok-to-test |
Apologies for the delay... ok, updates were:
|
p.s. @KnVerey I'll take a shot at those two items in the next few days when I get a chance 😄
I'm much more confident about item 1, but item 2 not so much since I'm not very familiar with |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KnVerey, patricknelson 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 |
Yes, the test infra will invoke the |
Alright, thanks so much for the tips @KnVerey. I'll put these on my list to tackle in the next few days; if I end up stumped on that second item, instead of a PR I'll just submit an issue instead so it will (hopefully) be addressed by someone. |
Reverts a change made by #4027 but adds clarity to
goreleaser
builds with more debug output in case fails occur again (such as failures which could occur from config errors that might trigger ambiguous errors which may be subject to race conditions). Also allows the ability to directly testgoreleaser
builds locally the same way they're currently run in Cloud Build, decoupling from cloud services (e.g. Cloud Builder, Cloud KMS and GithHub itself) by removing the actual release phase.Please see #4028 (comment) for an in-depth explanation.
Note: To simplify review,
local-build.sh
is effectively just a copy ofcloudbuild.sh
withgoreleaser release
changed togoreleaser build
.