mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 14:45:28 +00:00
opt out of module mode for builds
This commit is contained in:
@@ -38,6 +38,11 @@ retry() {
|
||||
|
||||
export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
|
||||
|
||||
# Until all GOPATH references are removed from all build scripts as well,
|
||||
# explicitly disable module mode to avoid picking up user-set GO111MODULE preferences.
|
||||
# As individual scripts make use of go modules, they can explicitly set GO111MODULE=on
|
||||
export GO111MODULE=off
|
||||
|
||||
go install k8s.io/kubernetes/vendor/github.com/cespare/prettybench
|
||||
go install k8s.io/kubernetes/vendor/gotest.tools/gotestsum
|
||||
|
||||
|
@@ -37,6 +37,11 @@ retry() {
|
||||
|
||||
export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
|
||||
|
||||
# Until all GOPATH references are removed from all build scripts as well,
|
||||
# explicitly disable module mode to avoid picking up user-set GO111MODULE preferences.
|
||||
# As individual scripts make use of go modules, they can explicitly set GO111MODULE=on
|
||||
export GO111MODULE=off
|
||||
|
||||
go install k8s.io/kubernetes/vendor/gotest.tools/gotestsum
|
||||
|
||||
# Enable the Go race detector.
|
||||
|
Reference in New Issue
Block a user