diff --git a/hack/verify-conformance-requirements.sh b/hack/verify-conformance-requirements.sh index 881be8c8a47..8f36a9eb46c 100755 --- a/hack/verify-conformance-requirements.sh +++ b/hack/verify-conformance-requirements.sh @@ -27,12 +27,13 @@ source "${KUBE_ROOT}/hack/lib/init.sh" source "${KUBE_ROOT}/hack/lib/util.sh" kube::golang::verify_go_version +kube::golang::new::setup_env cd "${KUBE_ROOT}" errors=() # Check conformance tests follow the requirements as https://git.k8s.io/community/contributors/devel/sig-architecture/conformance-tests.md#conformance-test-requirements -if ! failedLint=$(GO111MODULE=on GOPROXY=off go run hack/conformance/check_conformance_test_requirements.go "${KUBE_ROOT}"/test/e2e/) +if ! failedLint=$(GOPROXY=off go run hack/conformance/check_conformance_test_requirements.go "${KUBE_ROOT}"/test/e2e/) then errors+=( "${failedLint}" ) fi