mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Remove some references to GOPATH
This commit is contained in:
		@@ -25,7 +25,7 @@ set -o pipefail
 | 
			
		||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
 | 
			
		||||
source "${KUBE_ROOT}/hack/lib/init.sh"
 | 
			
		||||
 | 
			
		||||
# Explicitly opt into go modules, even though we're inside a GOPATH directory
 | 
			
		||||
# Explicitly opt into go modules
 | 
			
		||||
export GO111MODULE=on
 | 
			
		||||
# Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
 | 
			
		||||
export GOFLAGS=-mod=mod
 | 
			
		||||
 
 | 
			
		||||
@@ -25,7 +25,7 @@ set -o pipefail
 | 
			
		||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
 | 
			
		||||
source "${KUBE_ROOT}/hack/lib/init.sh"
 | 
			
		||||
 | 
			
		||||
# Explicitly opt into go modules, even though we're inside a GOPATH directory
 | 
			
		||||
# Explicitly opt into go modules
 | 
			
		||||
export GO111MODULE=on
 | 
			
		||||
# Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
 | 
			
		||||
export GOFLAGS=-mod=mod
 | 
			
		||||
 
 | 
			
		||||
@@ -29,7 +29,7 @@ MODULES=(
 | 
			
		||||
    staging/src/k8s.io/kms/internal/plugins/_mock
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
# Explicitly opt into go modules, even though we're inside a GOPATH directory
 | 
			
		||||
# Explicitly opt into go modules
 | 
			
		||||
export GO111MODULE=on
 | 
			
		||||
 | 
			
		||||
# Detect problematic GOPROXY settings that prevent lookup of dependencies
 | 
			
		||||
 
 | 
			
		||||
@@ -23,7 +23,7 @@ set -o pipefail
 | 
			
		||||
 | 
			
		||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
 | 
			
		||||
source "${KUBE_ROOT}/hack/lib/init.sh"
 | 
			
		||||
# Explicitly opt into go modules, even though we're inside a GOPATH directory
 | 
			
		||||
# Explicitly opt into go modules
 | 
			
		||||
export GO111MODULE=on
 | 
			
		||||
 | 
			
		||||
kube::golang::verify_go_version
 | 
			
		||||
 
 | 
			
		||||
@@ -34,7 +34,7 @@ kube::golang::verify_go_version
 | 
			
		||||
export GOBIN="${KUBE_OUTPUT_BIN}"
 | 
			
		||||
PATH="${GOBIN}:${PATH}"
 | 
			
		||||
 | 
			
		||||
# Explicitly opt into go modules, even though we're inside a GOPATH directory
 | 
			
		||||
# Explicitly opt into go modules
 | 
			
		||||
export GO111MODULE=on
 | 
			
		||||
 | 
			
		||||
# Install golangci-lint
 | 
			
		||||
 
 | 
			
		||||
@@ -30,7 +30,7 @@ kube::golang::verify_go_version
 | 
			
		||||
 | 
			
		||||
# Turn off workspaces until we are ready for them later
 | 
			
		||||
export GOWORK=off
 | 
			
		||||
# Explicitly opt into go modules, even though we're inside a GOPATH directory
 | 
			
		||||
# Explicitly opt into go modules
 | 
			
		||||
export GO111MODULE=on
 | 
			
		||||
# Explicitly set GOFLAGS to ignore vendor, since GOFLAGS=-mod=vendor breaks dependency resolution while rebuilding vendor
 | 
			
		||||
export GOFLAGS=-mod=mod
 | 
			
		||||
 
 | 
			
		||||
@@ -128,7 +128,7 @@ done
 | 
			
		||||
 | 
			
		||||
kube::golang::verify_go_version
 | 
			
		||||
 | 
			
		||||
# Explicitly opt into go modules, even though we're inside a GOPATH directory
 | 
			
		||||
# Explicitly opt into go modules
 | 
			
		||||
export GO111MODULE=on
 | 
			
		||||
 | 
			
		||||
# Install golangci-lint
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user