mirror of https://github.com/kubernetes/kops.git
Merge pull request #7595 from justinsb/skip_dev_vars_in_update_expected
hack/update-expected.sh: mask development env vars
This commit is contained in:
commit
17358d711a
|
@ -23,5 +23,9 @@ cd ${KOPS_ROOT}
|
||||||
# Update gobindata to reflect any yaml changes
|
# Update gobindata to reflect any yaml changes
|
||||||
make kops-gobindata
|
make kops-gobindata
|
||||||
|
|
||||||
|
# Don't override variables that are commonly used in dev, but shouldn't be in our tests
|
||||||
|
export KOPS_BASE_URL=
|
||||||
|
export DNSCONTROLLER_IMAGE=
|
||||||
|
|
||||||
# Run the tests in "autofix mode"
|
# Run the tests in "autofix mode"
|
||||||
HACK_UPDATE_EXPECTED_IN_PLACE=1 go test ./... -count=1
|
HACK_UPDATE_EXPECTED_IN_PLACE=1 go test ./... -count=1
|
||||||
|
|
Loading…
Reference in New Issue