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:
Kubernetes Prow Robot 2019-09-14 12:30:38 -07:00 committed by GitHub
commit 17358d711a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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