mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 20:42:26 +00:00
Make verify-conformance-requirements use new setup_env
This commit is contained in:
parent
08622aa685
commit
3be358ecc1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user