From 9005252efb82f35746a1c0e199ddde8083ed84b1 Mon Sep 17 00:00:00 2001 From: Joe Finney Date: Thu, 21 Jan 2016 10:41:37 -0800 Subject: [PATCH] Export variables needed by e2e-runner.sh in the release-1.1 branch. --- hack/jenkins/e2e.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index 284431fab990..6d36b292ec1e 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -19,7 +19,6 @@ set -o errexit set -o nounset set -o pipefail -set -o xtrace # Join all args with | # Example: join_regex_allow_empty a b "c d" e => a|b|c d|e @@ -927,6 +926,7 @@ export KUBE_GCE_MINION_PROJECT=${KUBE_GCE_MINION_PROJECT:-} export KUBE_GCE_MINION_IMAGE=${KUBE_GCE_MINION_IMAGE:-} export KUBE_OS_DISTRIBUTION=${KUBE_OS_DISTRIBUTION:-} export GCE_SERVICE_ACCOUNT=$(gcloud auth list 2> /dev/null | grep active | cut -f3 -d' ') +export FAIL_ON_GCP_RESOURCE_LEAK="${FAIL_ON_GCP_RESOURCE_LEAK:-false}" # GKE variables export CLUSTER_NAME=${E2E_CLUSTER_NAME} @@ -935,6 +935,7 @@ export KUBE_GKE_NETWORK=${E2E_NETWORK} export E2E_SET_CLUSTER_API_VERSION=${E2E_SET_CLUSTER_API_VERSION:-} export CMD_GROUP=${CMD_GROUP:-} export MACHINE_TYPE=${MINION_SIZE:-} # GKE scripts use MACHINE_TYPE for the node vm size +export CLOUDSDK_BUCKET="${CLOUDSDK_BUCKET:-}" if [[ ! -z "${GKE_API_ENDPOINT:-}" ]]; then export CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER=${GKE_API_ENDPOINT} @@ -948,6 +949,7 @@ export KUBE_ENABLE_HORIZONTAL_POD_AUTOSCALER=${ENABLE_HORIZONTAL_POD_AUTOSCALER: export KUBE_ENABLE_DEPLOYMENTS=${ENABLE_DEPLOYMENTS:-} export KUBE_ENABLE_EXPERIMENTAL_API=${ENABLE_EXPERIMENTAL_API:-} export MASTER_SIZE=${MASTER_SIZE:-} +export NUM_NODES="${NUM_NODES:-}" export MINION_SIZE=${MINION_SIZE:-} export MINION_DISK_SIZE=${MINION_DISK_SIZE:-} export NUM_MINIONS=${NUM_MINIONS:-} @@ -970,6 +972,7 @@ export E2E_UP="${E2E_UP:-true}" export E2E_TEST="${E2E_TEST:-true}" export E2E_DOWN="${E2E_DOWN:-true}" export E2E_CLEAN_START="${E2E_CLEAN_START:-}" +export E2E_PUBLISH_GREEN_VERSION="${E2E_PUBLISH_GREEN_VERSION:-false}" # Used by hack/ginkgo-e2e.sh to enable ginkgo's parallel test runner. export GINKGO_PARALLEL=${GINKGO_PARALLEL:-} export GINKGO_TEST_ARGS="${GINKGO_TEST_ARGS:-}"