-
Notifications
You must be signed in to change notification settings - Fork 867
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: set GOPATH in Makefile #2398
Conversation
We currently assume that GOPATH is set within the developers environment go has some defaults that get used when no GOPATH is defined. If we use `go env GOPATH` to set the env var for the Makefile we will then also fall back to golang defaults which help contributior experiance. Signed-off-by: zachaller <[email protected]>
@@ -23,6 +23,7 @@ E2E_INSTANCE_ID ?= argo-rollouts-e2e | |||
E2E_TEST_OPTIONS ?= | |||
E2E_PARALLEL ?= 1 | |||
E2E_WAIT_TIMEOUT ?= 120 | |||
GOPATH ?= $(shell go env GOPATH) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Codecov ReportBase: 82.76% // Head: 82.76% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #2398 +/- ##
=======================================
Coverage 82.76% 82.76%
=======================================
Files 121 121
Lines 18536 18536
=======================================
Hits 15341 15341
Misses 2410 2410
Partials 785 785 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
We currently assume that GOPATH is set within the developers environment go has some defaults that get used when no GOPATH is defined. If we use `go env GOPATH` to set the env var for the Makefile we will then also fall back to golang defaults which help contributior experiance. Signed-off-by: zachaller <[email protected]> Signed-off-by: zachaller <[email protected]>
We currently assume that GOPATH is set within the developers environment go has some defaults that get used when no GOPATH is defined. If we use `go env GOPATH` to set the env var for the Makefile we will then also fall back to golang defaults which help contributior experiance. Signed-off-by: zachaller <[email protected]> Signed-off-by: zachaller <[email protected]>
We currently assume that GOPATH is set within the developers environment go has some defaults that get used when no GOPATH is defined. If we use
go env GOPATH
to set the env var for the Makefile we will then also fall back to golang defaults which help contributior experiance.Signed-off-by: zachaller [email protected]
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.