mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Change update-generated-api-compatibility-data test to new setup_env
This commit is contained in:
parent
25b97dae82
commit
854037d5b5
@ -21,10 +21,7 @@ set -o pipefail
|
|||||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||||
source "${KUBE_ROOT}/hack/lib/init.sh"
|
source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||||
|
|
||||||
kube::golang::old::setup_env
|
kube::golang::new::setup_env
|
||||||
|
|
||||||
# run in module mode to match test command in readme.md
|
|
||||||
export GO111MODULE=on
|
|
||||||
|
|
||||||
# Nuke old files so we don't accidentally carry stuff forward.
|
# Nuke old files so we don't accidentally carry stuff forward.
|
||||||
rm -f staging/src/k8s.io/api/testdata/HEAD/*.{yaml,json,pb}
|
rm -f staging/src/k8s.io/api/testdata/HEAD/*.{yaml,json,pb}
|
||||||
|
Loading…
Reference in New Issue
Block a user