mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Run kubernetes-e2e-gce and kubernetes-e2e-gce in parallel
This commit is contained in:
parent
146a9e6075
commit
1ce8e2345e
@ -304,16 +304,13 @@ GCE_PARALLEL_SKIP_TESTS=(
|
|||||||
# release branches defines relevant jobs for that particular version of
|
# release branches defines relevant jobs for that particular version of
|
||||||
# Kubernetes.
|
# Kubernetes.
|
||||||
case ${JOB_NAME} in
|
case ${JOB_NAME} in
|
||||||
# Runs all non-flaky, non-slow tests on GCE, sequentially.
|
# Runs all non-slow, non-serial, non-flaky, tests on GCE in parallel.
|
||||||
kubernetes-e2e-gce)
|
kubernetes-e2e-gce)
|
||||||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e"}
|
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e"}
|
||||||
: ${E2E_PUBLISH_GREEN_VERSION:="true"}
|
: ${E2E_PUBLISH_GREEN_VERSION:="true"}
|
||||||
: ${E2E_NETWORK:="e2e-gce"}
|
: ${E2E_NETWORK:="e2e-gce"}
|
||||||
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"}
|
||||||
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
|
: ${GINKGO_PARALLEL:="y"}
|
||||||
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
||||||
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \
|
|
||||||
)"}
|
|
||||||
: ${KUBE_GCE_INSTANCE_PREFIX="e2e-gce"}
|
: ${KUBE_GCE_INSTANCE_PREFIX="e2e-gce"}
|
||||||
: ${PROJECT:="k8s-jkns-e2e-gce"}
|
: ${PROJECT:="k8s-jkns-e2e-gce"}
|
||||||
: ${ENABLE_DEPLOYMENTS:=true}
|
: ${ENABLE_DEPLOYMENTS:=true}
|
||||||
@ -591,17 +588,15 @@ case ${JOB_NAME} in
|
|||||||
: ${PROJECT:="kubernetes-jenkins"}
|
: ${PROJECT:="kubernetes-jenkins"}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
kubernetes-e2e-gke-ci)
|
# Runs all non-slow, non-serial, non-flaky, tests on GKE in parallel.
|
||||||
|
kubernetes-e2e-gke)
|
||||||
: ${E2E_CLUSTER_NAME:="jkns-gke-e2e-ci"}
|
: ${E2E_CLUSTER_NAME:="jkns-gke-e2e-ci"}
|
||||||
: ${E2E_NETWORK:="e2e-gke-ci"}
|
: ${E2E_NETWORK:="e2e-gke-ci"}
|
||||||
: ${E2E_SET_CLUSTER_API_VERSION:=y}
|
: ${E2E_SET_CLUSTER_API_VERSION:=y}
|
||||||
: ${PROJECT:="k8s-jkns-e2e-gke-ci"}
|
: ${PROJECT:="k8s-jkns-e2e-gke-ci"}
|
||||||
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
||||||
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"}
|
||||||
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
|
: ${GINKGO_PARALLEL:="y"}
|
||||||
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
||||||
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \
|
|
||||||
)"}
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Run the GCE_PARALLEL_SKIP_TESTS on GKE.
|
# Run the GCE_PARALLEL_SKIP_TESTS on GKE.
|
||||||
|
@ -73,15 +73,8 @@
|
|||||||
branch: 'master'
|
branch: 'master'
|
||||||
emails: '$DEFAULT_RECIPIENTS, cloud-kubernetes-alerts@google.com'
|
emails: '$DEFAULT_RECIPIENTS, cloud-kubernetes-alerts@google.com'
|
||||||
suffix:
|
suffix:
|
||||||
- 'gke-ci':
|
- 'gke':
|
||||||
description: |
|
description: Runs all non-slow, non-serial, non-flaky, tests on GKE in parallel (against GKE test endpoint)
|
||||||
Run e2e tests using the following config:<br>
|
|
||||||
- provider: GKE<br>
|
|
||||||
- apiary: staging<br>
|
|
||||||
- borg job: test<br>
|
|
||||||
- client (kubectl): ci/latest.txt<br>
|
|
||||||
- cluster (k8s): ci/latest.txt<br>
|
|
||||||
- tests: ci/latest.txt
|
|
||||||
timeout: 300
|
timeout: 300
|
||||||
- 'gke-ci-reboot':
|
- 'gke-ci-reboot':
|
||||||
description: |
|
description: |
|
||||||
|
Loading…
Reference in New Issue
Block a user