mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Make verify-conformance-requirements use new setup_env
This commit is contained in:
parent
08622aa685
commit
3be358ecc1
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue