mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Do not overwrite bash variables in jenkins for scalability tests
This commit is contained in:
parent
51ffa203e3
commit
b999e6655c
@ -42,19 +42,19 @@ GINKGO_TEST_ARGS=${GINKGO_TEST_ARGS:-""}
|
|||||||
|
|
||||||
if [[ "${PERFORMANCE:-}" == "true" ]]; then
|
if [[ "${PERFORMANCE:-}" == "true" ]]; then
|
||||||
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
||||||
export MASTER_SIZE="m3.xlarge"
|
export MASTER_SIZE=${MASTER_SIZE:-"m3.xlarge"}
|
||||||
else
|
else
|
||||||
export MASTER_SIZE="n1-standard-4"
|
export MASTER_SIZE=${MASTER_SIZE:-"n1-standard-4"}
|
||||||
fi
|
fi
|
||||||
export NUM_MINIONS="100"
|
export NUM_MINIONS=${NUM_MINIONS:-"100"}
|
||||||
GINKGO_TEST_ARGS="--ginkgo.focus=\[Performance suite\] "
|
GINKGO_TEST_ARGS=${GINKGO_TEST_ARGS:-"--ginkgo.focus=\[Performance suite\] "}
|
||||||
else
|
else
|
||||||
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
||||||
export MASTER_SIZE="t2.small"
|
export MASTER_SIZE=${MASTER_SIZE:-"t2.small"}
|
||||||
else
|
else
|
||||||
export MASTER_SIZE="g1-small"
|
export MASTER_SIZE=${MASTER_SIZE:-"g1-small"}
|
||||||
fi
|
fi
|
||||||
export NUM_MINIONS="2"
|
export NUM_MINIONS=${NUM_MINIONS:-"2"}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user