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

feat: allow CGO_ENABLED to be configurable for development #676

Merged
merged 5 commits into from
Oct 18, 2023

Conversation

malept
Copy link
Member

@malept malept commented Oct 18, 2023

What this PR does / why we need it

We should not default to compile builds with CGo. This makes it difficult to build a service on a Linux host and run it in a container, particularly if the host and container have different glibc versions. Instead, use service.yaml to configure whether CGo compilation is enabled, defaulting to false.

Jira ID

DT-4070

Notes for your reviewers

A corresponding PR will need to be written for production builds, in stencil-golang.

@malept malept requested review from a team as code owners October 18, 2023 20:44
@swarmia
Copy link

swarmia bot commented Oct 18, 2023

shell/cgo-enabled.sh Outdated Show resolved Hide resolved
shell/cgo-enabled.sh Outdated Show resolved Hide resolved
@malept malept requested a review from jaredallard October 18, 2023 21:28
@getoutreach-ci-1
Copy link
Contributor

Link to code coverage report (posted by coverbot 🤖)

@malept malept merged commit 4c0de11 into main Oct 18, 2023
1 check passed
@malept malept deleted the malept/dt-4070/feat/configurable-cgo-enabled branch October 18, 2023 23:42
@getoutreach-ci-2
Copy link

🎉 This PR is included in version 2.21.0-rc.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@getoutreach-ci-2
Copy link

🎉 This PR is included in version 2.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants