Skip to content
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

goreleaser: default to CGO_ENABLED=0 allow override #17680

Merged

Conversation

andrewhsu
Copy link
Member

follow-on to PR #17676, this PR fixes https://redpandadata.atlassian.net/browse/PESDLC-1079

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v23.3.x
  • v23.2.x

Release Notes

  • none

@andrewhsu andrewhsu marked this pull request as ready for review April 5, 2024 17:40
@andrewhsu andrewhsu requested review from a team and gousteris and removed request for a team April 5, 2024 17:41
@andrewhsu andrewhsu merged commit 8c5c90e into redpanda-data:dev Apr 5, 2024
12 checks passed
@andrewhsu andrewhsu deleted the PESDLC-1079-default-cgo-enabled branch April 5, 2024 17:50
@@ -32,7 +32,7 @@ builds:
- -X github.com/redpanda-data/redpanda/src/go/rpk/pkg/cli/version.hostArch={{.Arch}}
- -X github.com/redpanda-data/redpanda/src/go/rpk/pkg/cli/container/common.tag={{.Tag}}
env:
- CGO_ENABLED=1
- 'CGO_ENABLED={{ if index .Env "CGO_ENABLED" }}{{ .Env.CGO_ENABLED }}{{ else }}0{{ end }}'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants