mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #15172 from justinsb/aws_integration_tests
Auto commit by PR queue bot
This commit is contained in:
commit
8aa993266c
@ -74,6 +74,11 @@ if [[ ${JOB_NAME} =~ ^kubernetes-.*-gce ]]; then
|
|||||||
elif [[ ${JOB_NAME} =~ ^kubernetes-.*-gke ]]; then
|
elif [[ ${JOB_NAME} =~ ^kubernetes-.*-gke ]]; then
|
||||||
KUBERNETES_PROVIDER="gke"
|
KUBERNETES_PROVIDER="gke"
|
||||||
: ${E2E_ZONE:="us-central1-f"}
|
: ${E2E_ZONE:="us-central1-f"}
|
||||||
|
elif [[ ${JOB_NAME} =~ ^kubernetes-.*-aws ]]; then
|
||||||
|
KUBERNETES_PROVIDER="aws"
|
||||||
|
: ${E2E_MIN_STARTUP_PODS:="1"}
|
||||||
|
: ${E2E_ZONE:="us-east-1a"}
|
||||||
|
: ${NUM_MINIONS_PARALLEL:="6"} # Number of nodes required to run all of the tests in parallel
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
if [[ "${KUBERNETES_PROVIDER}" == "aws" ]]; then
|
||||||
@ -210,6 +215,22 @@ case ${JOB_NAME} in
|
|||||||
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Runs all non-flaky, non-slow tests on AWS, sequentially.
|
||||||
|
kubernetes-e2e-aws)
|
||||||
|
: ${E2E_CLUSTER_NAME:="jenkins-aws-e2e"}
|
||||||
|
: ${E2E_DOWN:="false"}
|
||||||
|
: ${E2E_NETWORK:="e2e-aws"}
|
||||||
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
||||||
|
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
|
||||||
|
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
||||||
|
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \
|
||||||
|
${AWS_REQUIRED_SKIP_TESTS[@]:+${AWS_REQUIRED_SKIP_TESTS[@]}} \
|
||||||
|
)"}
|
||||||
|
: ${KUBE_GCE_INSTANCE_PREFIX="e2e-aws"}
|
||||||
|
: ${PROJECT:="k8s-jkns-e2e-aws"}
|
||||||
|
: ${ENABLE_DEPLOYMENTS:=true}
|
||||||
|
;;
|
||||||
|
|
||||||
# Runs only the examples tests on GCE.
|
# Runs only the examples tests on GCE.
|
||||||
kubernetes-e2e-gce-examples)
|
kubernetes-e2e-gce-examples)
|
||||||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-examples"}
|
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-examples"}
|
||||||
@ -312,7 +333,7 @@ case ${JOB_NAME} in
|
|||||||
)"}
|
)"}
|
||||||
: ${ENABLE_DEPLOYMENTS:=true}
|
: ${ENABLE_DEPLOYMENTS:=true}
|
||||||
# Override AWS defaults.
|
# Override AWS defaults.
|
||||||
NUM_MINIONS="6"
|
NUM_MINIONS=${NUM_MINIONS_PARALLEL}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Runs the flaky tests on GCE in parallel.
|
# Runs the flaky tests on GCE in parallel.
|
||||||
|
Loading…
Reference in New Issue
Block a user