mirror of https://github.com/k3s-io/k3s
Require at least one healthy startup pod in GCE Jenkins e2e tests.
parent
3f2ac7864b
commit
e7547b9792
|
@ -99,5 +99,6 @@ export PATH=$(dirname "${e2e_test}"):"${PATH}"
|
|||
--node-instance-group="${NODE_INSTANCE_GROUP:-}" \
|
||||
--num-nodes="${NUM_MINIONS:-}" \
|
||||
--prefix="${KUBE_GCE_INSTANCE_PREFIX:-e2e}" \
|
||||
${E2E_MIN_STARTUP_PODS+"--minStartupPods=${E2E_MIN_STARTUP_PODS}"} \
|
||||
${E2E_REPORT_DIR+"--report-dir=${E2E_REPORT_DIR}"} \
|
||||
"${@:-}"
|
||||
|
|
|
@ -48,6 +48,7 @@ E2E_OPT=${E2E_OPT:-""}
|
|||
# Set environment variables shared for all of the GCE Jenkins projects.
|
||||
if [[ ${JOB_NAME} =~ ^kubernetes-.*-gce ]]; then
|
||||
KUBERNETES_PROVIDER="gce"
|
||||
: ${E2E_MIN_STARTUP_PODS:="1"}
|
||||
: ${E2E_ZONE:="us-central1-f"}
|
||||
: ${MASTER_SIZE:="n1-standard-2"}
|
||||
: ${MINION_SIZE:="n1-standard-2"}
|
||||
|
@ -221,6 +222,7 @@ export ZONE=${E2E_ZONE}
|
|||
export KUBE_GKE_NETWORK=${E2E_NETWORK}
|
||||
|
||||
# Shared cluster variables
|
||||
export E2E_MIN_STARTUP_PODS=${E2E_MIN_STARTUP_PODS:-}
|
||||
export MASTER_SIZE=${MASTER_SIZE:-}
|
||||
export MINION_SIZE=${MINION_SIZE:-}
|
||||
export NUM_MINIONS=${NUM_MINIONS:-}
|
||||
|
|
Loading…
Reference in New Issue