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

[build] goreleaser: ensure cgo disabled in build #2005

Merged
merged 3 commits into from
Oct 16, 2019

Conversation

schallert
Copy link
Collaborator

We set CGO_ENABLED=0 in our make targets, but hadn't been doing so in
our goreleaser config. Disabling cgo ensures our builds will work
across OS's that may use different libc implementations.

What this PR does / why we need it:

Fixes #2003

Special notes for your reviewer:

Does this PR introduce a user-facing and/or backwards incompatible change?:

Ensure cgo is disabled in release binaries

Does this PR require updating code package or user-facing documentation?:


We set `CGO_ENABLED=0` in our make targets, but hadn't been doing so in
our `goreleaser` config. Disabling cgo ensures our builds will work
across OS's that may use different libc implementations.
@codecov
Copy link

codecov bot commented Oct 16, 2019

Codecov Report

Merging #2005 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2005   +/-   ##
=======================================
  Coverage    63.6%    63.6%           
=======================================
  Files        1124     1124           
  Lines      106752   106752           
=======================================
  Hits        67919    67919           
  Misses      34485    34485           
  Partials     4348     4348
Flag Coverage Δ
#aggregator 79.7% <0%> (ø) ⬆️
#cluster 56.3% <0%> (ø) ⬆️
#collector 63.7% <0%> (ø) ⬆️
#dbnode 65% <0%> (ø) ⬆️
#m3em 59.6% <0%> (ø) ⬆️
#m3ninx 61.1% <0%> (ø) ⬆️
#m3nsch 51.1% <0%> (ø) ⬆️
#metrics 17.7% <0%> (ø) ⬆️
#msg 74.9% <0%> (ø) ⬆️
#query 68.6% <0%> (ø) ⬆️
#x 75% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 14d449a...ca89e43. Read the comment docs.

Copy link
Collaborator

@robskillington robskillington left a comment

Choose a reason for hiding this comment

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

LGTM

@robskillington robskillington merged commit fc7560e into master Oct 16, 2019
@robskillington robskillington deleted the schallert/build_fix branch October 16, 2019 20:41
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.

-bash: ./m3dbnode: /lib/ld-musl-x86_64.so.1: bad ELF interpreter: No such file or directory
2 participants