Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Change CGO_ENABLED var in binary task #977

Merged
merged 2 commits into from
Dec 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
steps:
- checkout
- <<: *exports
# go build creates files under /usr/local/go where the running user doesn't have permissions to write
- run: sudo chown -R circleci:circleci /usr/local/go/
- run: go get -u golang.org/x/lint/golint
- run: make bootstrap
- run: make VERSION=${CONTROLLER_TAG} binary
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ KUBELESS_ENVS := \
default: binary

all:
CGO_ENABLED=1 ./script/make.sh
CGO_ENABLED=0 ./script/make.sh

binary:
CGO_ENABLED=1 ./script/binary
CGO_ENABLED=0 ./script/binary

binary-cross:
./script/binary-cli
Expand Down