-
Notifications
You must be signed in to change notification settings - Fork 911
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
build(deps): enable rpm builds and add archs #3403
Conversation
@smitterl, we have received your signed contributor license agreement. The review is usually completed within a week, but may take longer under certain circumstances. Another comment will be added to the pull request to notify you when the merge can proceed. |
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 @smitterl , we should be able to merge this before next release.
.goreleaser.yml
Outdated
@@ -13,6 +14,8 @@ builds: | |||
- arm | |||
- arm64 | |||
- mips64le | |||
- 386 |
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.
We had removed 386 a while back. In part because of bug reports where the problem was folks downloading 386-linux and trying to run on x64 w/o 32-bit toolchain. Are distros still supporting 32-bit installs?
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.
@dougm I installed it on RHEL and Fedora on x86_64 and ran govc --help
without any issues.
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 tried to find out if there's an alternative goarch like 'intel64' but without access.
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.
@dougm Gosh, I just learned that amd64 are the ones for 'x86_64'. My intention was not to add 32-bit. So, I just updated it to only add s390x, not 386.
1. Add nfpm configuration for rpm builds. 2. Add x86_64 and s390x architectures. 3. Skip main.go check as there are several. 4. Rename deprecated `folder` to `directory`. Tested with ``` goreleaser release --clean --snapshot --rm-dist --verbose --skip docker,homebrew ``` Closes: vmware#3404 Signed-off-by: Sebastian Mitterle <[email protected]>
@smitterl, VMware has approved your signed contributor license agreement. |
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 @smitterl
Description
Enable rpm package build for several archs.
Closes: #3404
Type of change
Please mark options that are relevant:
not work as expected)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. If applicable, please also list any relevant
details for your test configuration.
goreleaser release --clean --snapshot --rm-dist --verbose --skip docker,homebrew
; install rpm on x86_64; callgovc --help
Checklist:
CONTRIBUTION
guidelines of this project