Skip to content

Commit

Permalink
Unset certain environment variables before testing
Browse files Browse the repository at this point in the history
Fixes #2657
  • Loading branch information
rifelpet committed Mar 8, 2018
1 parent 2db1d17 commit 1175761
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ API_OPTIONS?=
# See http://stackoverflow.com/questions/18136918/how-to-get-current-relative-directory-of-your-makefile
MAKEDIR:=$(strip $(shell dirname "$(realpath $(lastword $(MAKEFILE_LIST)))"))

# Unexport environment variables that can affect tests and are not used in builds
unexport KOPS_BASE_URL KOPS_CLUSTER_NAME KOPS_RUN_OBSOLETE_VERSION KOPS_STATE_STORE CNI_VERSION_URL DNS_IGNORE_NS_CHECK DNSCONTROLLER_IMAGE KUBE_API_VERSIONS NODEUP_URL PROTOKUBE_IMAGE SKIP_PACKAGE_UPDATE
unexport AWS_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_SESSION_TOKEN AWS_PROFILE KOPS_STATE_S3_ACL S3_ACCESS_KEY_ID S3_SECRET_ACCESS_KEY S3_ENDPOINT S3_REGION SKIP_REGION_CHECK
unexport DO_ACCESS_TOKEN GOOGLE_APPLICATION_CREDENTIALS OPENSTACK_CREDENTIAL_FILE VSPHERE_USERNAME VSPHERE_PASSWORD

# Keep in sync with upup/models/cloudup/resources/addons/dns-controller/
DNS_CONTROLLER_TAG=1.9.0-alpha.1

Expand Down

0 comments on commit 1175761

Please sign in to comment.