mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Merge pull request #127753 from skitt/missing-go-env
hack: configure Go environments where necessary
This commit is contained in:
		| @@ -26,6 +26,8 @@ set -o pipefail | ||||
| KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. | ||||
| source "${KUBE_ROOT}/hack/lib/init.sh" | ||||
|  | ||||
| kube::golang::setup_env | ||||
|  | ||||
| cd "${KUBE_ROOT}" | ||||
|  | ||||
| if ! go run test/featuregates_linter/main.go feature-gates verify; then | ||||
|   | ||||
| @@ -28,6 +28,8 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. | ||||
| source "${KUBE_ROOT}/hack/lib/init.sh" | ||||
| cd "${KUBE_ROOT}" | ||||
|  | ||||
| kube::golang::setup_env | ||||
|  | ||||
| RELEASE_BIN_PKGS=( | ||||
|   "${KUBE_ROOT}/cmd/cloud-controller-manager" | ||||
|   "${KUBE_ROOT}/cmd/kube-apiserver" | ||||
|   | ||||
| @@ -22,5 +22,9 @@ set -o pipefail | ||||
| KUBE_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")"/../.. && pwd -P) | ||||
| cd "${KUBE_ROOT}" | ||||
|  | ||||
| source "${KUBE_ROOT}/hack/lib/init.sh" | ||||
|  | ||||
| kube::golang::setup_env | ||||
|  | ||||
| # convert dumped spec (see dump-spec.sh) to conformance.yaml | ||||
| go run ./test/conformance/walk.go --source="${KUBE_ROOT}" ./_output/specsummaries.json > ./_output/conformance.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot