Merge pull request #19713 from ihmccreery/serial-job

Add gce-serial and gke-serial jobs
This commit is contained in:
Isaac Hollander McCreery 2016-01-15 15:43:03 -08:00
commit d4379ef9cb
2 changed files with 51 additions and 1 deletions

View File

@ -498,7 +498,7 @@ case ${JOB_NAME} in
NUM_NODES=${NUM_NODES_PARALLEL}
;;
# Run the DISRUPTIVE_TESTS on GCE. (#19681)
# Run the Reboot tests on GCE. (#19681)
kubernetes-e2e-gce-reboot)
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-reboot"}
: ${E2E_NETWORK:="e2e-reboot"}
@ -507,6 +507,38 @@ case ${JOB_NAME} in
: ${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.
kubernetes-e2e-gce-scalability)
: ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-scalability"}

View File

@ -189,3 +189,21 @@
description: 'Run E2E tests on GCE from the release-1.0 branch.'
jobs:
- '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}'