mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #19713 from ihmccreery/serial-job
Add gce-serial and gke-serial jobs
This commit is contained in:
commit
d4379ef9cb
@ -498,7 +498,7 @@ case ${JOB_NAME} in
|
|||||||
NUM_NODES=${NUM_NODES_PARALLEL}
|
NUM_NODES=${NUM_NODES_PARALLEL}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Run the DISRUPTIVE_TESTS on GCE. (#19681)
|
# Run the Reboot tests on GCE. (#19681)
|
||||||
kubernetes-e2e-gce-reboot)
|
kubernetes-e2e-gce-reboot)
|
||||||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-reboot"}
|
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-reboot"}
|
||||||
: ${E2E_NETWORK:="e2e-reboot"}
|
: ${E2E_NETWORK:="e2e-reboot"}
|
||||||
@ -507,6 +507,38 @@ case ${JOB_NAME} in
|
|||||||
: ${PROJECT:="kubernetes-jenkins"}
|
: ${PROJECT:="kubernetes-jenkins"}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Run the [Serial], [Disruptive], and [Feature:Restart] tests on GCE.
|
||||||
|
kubernetes-e2e-gce-serial)
|
||||||
|
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-serial"}
|
||||||
|
: ${E2E_NETWORK:="jenkins-gce-e2e-serial"}
|
||||||
|
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
||||||
|
: ${GINKGO_TEST_ARGS:="--ginkgo.focus=$(join_regex_no_empty \
|
||||||
|
\[Serial\] \
|
||||||
|
\[Disruptive\] \
|
||||||
|
\[Feature:Restart\] \
|
||||||
|
) --ginkgo.skip=$(join_regex_no_empty \
|
||||||
|
\[Flaky\]
|
||||||
|
)"}
|
||||||
|
: ${KUBE_GCE_INSTANCE_PREFIX:="e2e-serial"}
|
||||||
|
: ${PROJECT:="kubernetes-jkns-e2e-gce-serial"}
|
||||||
|
;;
|
||||||
|
|
||||||
|
# Run the [Serial], [Disruptive], and [Feature:Restart] tests on GKE.
|
||||||
|
kubernetes-e2e-gke-serial)
|
||||||
|
: ${E2E_CLUSTER_NAME:="jenkins-gke-e2e-serial"}
|
||||||
|
: ${E2E_NETWORK:="jenkins-gke-e2e-serial"}
|
||||||
|
: ${E2E_SET_CLUSTER_API_VERSION:=y}
|
||||||
|
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
||||||
|
: ${GINKGO_TEST_ARGS:="--ginkgo.focus=$(join_regex_no_empty \
|
||||||
|
\[Serial\] \
|
||||||
|
\[Disruptive\] \
|
||||||
|
\[Feature:Restart\] \
|
||||||
|
) --ginkgo.skip=$(join_regex_no_empty \
|
||||||
|
\[Flaky\]
|
||||||
|
)"}
|
||||||
|
: ${PROJECT:="kubernetes-jkns-e2e-gke-serial"}
|
||||||
|
;;
|
||||||
|
|
||||||
# Runs the performance/scalability tests on GCE. A larger cluster is used.
|
# Runs the performance/scalability tests on GCE. A larger cluster is used.
|
||||||
kubernetes-e2e-gce-scalability)
|
kubernetes-e2e-gce-scalability)
|
||||||
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-scalability"}
|
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-scalability"}
|
||||||
|
@ -189,3 +189,21 @@
|
|||||||
description: 'Run E2E tests on GCE from the release-1.0 branch.'
|
description: 'Run E2E tests on GCE from the release-1.0 branch.'
|
||||||
jobs:
|
jobs:
|
||||||
- 'kubernetes-e2e-{suffix}'
|
- 'kubernetes-e2e-{suffix}'
|
||||||
|
|
||||||
|
- project:
|
||||||
|
name: kubernetes-e2e-features
|
||||||
|
trigger-job: 'kubernetes-build'
|
||||||
|
branch: 'master'
|
||||||
|
suffix:
|
||||||
|
- 'gce-serial':
|
||||||
|
description: 'Run [Serial], [Disruptive], and [Feature:Restart] tests on GCE using the latest successful build.'
|
||||||
|
timeout: 300
|
||||||
|
emails: '$DEFAULT_RECIPIENTS, ihmccreery@google.com'
|
||||||
|
test-owner: 'ihmccreery'
|
||||||
|
- 'gke-serial':
|
||||||
|
description: 'Run [Serial], [Disruptive], and [Feature:Restart] tests on GKE using the latest successful build.'
|
||||||
|
timeout: 300
|
||||||
|
emails: '$DEFAULT_RECIPIENTS, ihmccreery@google.com'
|
||||||
|
test-owner: 'ihmccreery'
|
||||||
|
jobs:
|
||||||
|
- 'kubernetes-e2e-{suffix}'
|
||||||
|
Loading…
Reference in New Issue
Block a user