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

Commit

Permalink
Change CGO_ENABLED var in binary task (#977)
Browse files Browse the repository at this point in the history
* Change CGO_ENABLED var in binary task

* Fix permissions issue
  • Loading branch information
andresmgot authored Dec 11, 2018
1 parent 026071a commit 38ddb05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit 38ddb05

Please sign in to comment.