mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Move initialization of Jenkins variables for soak tests to hack/jenkins/e2e.sh
This commit is contained in:
parent
908b1e08f1
commit
61d3b250ee
@ -124,6 +124,22 @@ GCE_PARALLEL_FLAKY_TESTS=(
|
|||||||
"Services.*release.*load\sbalancer"
|
"Services.*release.*load\sbalancer"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Tests that should not run on soak cluster.
|
||||||
|
GCE_SOAK_CONTINUOUS_SKIP_TESTS=(
|
||||||
|
"Density.*30\spods"
|
||||||
|
"Elasticsearch"
|
||||||
|
"Etcd.*SIGKILL"
|
||||||
|
"external\sload\sbalancer"
|
||||||
|
"identically\snamed\sservices"
|
||||||
|
"network\spartition"
|
||||||
|
"Reboot"
|
||||||
|
"Resize"
|
||||||
|
"Restart"
|
||||||
|
"Services.*Type\sgoes\sfrom"
|
||||||
|
"Services.*nodeport\ssettings"
|
||||||
|
"Skipped"
|
||||||
|
)
|
||||||
|
|
||||||
# Define environment variables based on the Jenkins project name.
|
# Define environment variables based on the Jenkins project name.
|
||||||
case ${JOB_NAME} in
|
case ${JOB_NAME} in
|
||||||
# Runs all non-flaky tests on GCE, sequentially.
|
# Runs all non-flaky tests on GCE, sequentially.
|
||||||
@ -201,7 +217,7 @@ case ${JOB_NAME} in
|
|||||||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-reboot"}
|
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-reboot"}
|
||||||
: ${E2E_DOWN:="false"}
|
: ${E2E_DOWN:="false"}
|
||||||
: ${E2E_NETWORK:="e2e-reboot"}
|
: ${E2E_NETWORK:="e2e-reboot"}
|
||||||
: ${GINKGO_TEST_ARGS:=" --ginkgo.focus=Reboot"}
|
: ${GINKGO_TEST_ARGS:="--ginkgo.focus=Reboot"}
|
||||||
: ${KUBE_GCE_INSTANCE_PREFIX:="e2e-reboot"}
|
: ${KUBE_GCE_INSTANCE_PREFIX:="e2e-reboot"}
|
||||||
: ${PROJECT:="kubernetes-jenkins"}
|
: ${PROJECT:="kubernetes-jenkins"}
|
||||||
;;
|
;;
|
||||||
@ -220,6 +236,19 @@ case ${JOB_NAME} in
|
|||||||
NUM_MINIONS="100"
|
NUM_MINIONS="100"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Runs tests on GCE soak cluster.
|
||||||
|
kubernetes-soak-continuous-e2e-gce)
|
||||||
|
: ${E2E_CLUSTER_NAME:="gce-soak-weekly"}
|
||||||
|
: ${E2E_DOWN:="false"}
|
||||||
|
: ${E2E_NETWORK:="gce-soak-weekly"}
|
||||||
|
: ${E2E_UP:="false"}
|
||||||
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
||||||
|
${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]:+${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]}} \
|
||||||
|
)"}
|
||||||
|
: ${KUBE_GCE_INSTANCE_PREFIX:="gce-soak-weekly"}
|
||||||
|
: ${PROJECT:="kubernetes-jenkins"}
|
||||||
|
;;
|
||||||
|
|
||||||
# Runs a subset of tests on GCE in parallel. Run against all pending PRs.
|
# Runs a subset of tests on GCE in parallel. Run against all pending PRs.
|
||||||
kubernetes-pull-build-test-e2e-gce)
|
kubernetes-pull-build-test-e2e-gce)
|
||||||
: ${E2E_CLUSTER_NAME:="jenkins-pull-gce-e2e-${EXECUTOR_NUMBER}"}
|
: ${E2E_CLUSTER_NAME:="jenkins-pull-gce-e2e-${EXECUTOR_NUMBER}"}
|
||||||
|
Loading…
Reference in New Issue
Block a user