From 94b08128dac1582e2a913b4504ee05d7474d6fc5 Mon Sep 17 00:00:00 2001 From: Joe Finney Date: Mon, 8 Feb 2016 11:24:45 -0800 Subject: [PATCH] Clone the GCE soak job. --- hack/jenkins/e2e.sh | 29 +++++++++++++++++++ hack/jenkins/job-configs/kubernetes-soak.yaml | 4 +++ 2 files changed, 33 insertions(+) diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index 417fda177b7..aa086eaa1c4 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -625,6 +625,35 @@ case ${JOB_NAME} in : ${PROJECT:="kubernetes-jenkins"} ;; + # Clone of kubernetes-soak-weekly-deploy-gce. Issue #20832. + kubernetes-soak-weekly-deploy-gce-2) + : ${E2E_CLUSTER_NAME:="gce-soak-weekly-2"} + : ${E2E_DOWN:="false"} + : ${E2E_NETWORK:="gce-soak-weekly-2"} + : ${E2E_TEST:="false"} + : ${E2E_UP:="true"} + : ${KUBE_GCE_INSTANCE_PREFIX:="gce-soak-weekly-2"} + : ${PROJECT:="kubernetes-jenkins"} + ;; + + # Clone of kubernetes-soak-continuous-e2e-gce. Issue #20832. + kubernetes-soak-continuous-e2e-gce-2) + : ${E2E_CLUSTER_NAME:="gce-soak-weekly-2"} + : ${E2E_DOWN:="false"} + : ${E2E_NETWORK:="gce-soak-weekly-2"} + : ${E2E_UP:="false"} + # Clear out any orphaned namespaces in case previous run was interrupted. + : ${E2E_CLEAN_START:="true"} + # We should be testing the reliability of a long-running cluster. The + # [Disruptive] tests kill/restart components or nodes in the cluster, + # defeating the purpose of a soak cluster. (#15722) + # + # TODO(ihmccreery) remove [Skipped] once tests are relabeled + : ${GINKGO_TEST_ARGS:="--ginkgo.skip=\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|\[Skipped\]"} + : ${KUBE_GCE_INSTANCE_PREFIX:="gce-soak-weekly-2"} + : ${PROJECT:="kubernetes-jenkins"} + ;; + # Sets up the GKE soak cluster weekly using the latest CI release. kubernetes-soak-weekly-deploy-gke) : ${E2E_CLUSTER_NAME:="jenkins-gke-soak-weekly"} diff --git a/hack/jenkins/job-configs/kubernetes-soak.yaml b/hack/jenkins/job-configs/kubernetes-soak.yaml index 5c9273a59ad..218e3502387 100644 --- a/hack/jenkins/job-configs/kubernetes-soak.yaml +++ b/hack/jenkins/job-configs/kubernetes-soak.yaml @@ -70,6 +70,10 @@ builds will be blocked and remain in the queue until the deployment is complete.
branch: 'master' + - 'gce-2': + deploy-description: Clone of kubernetes-soak-weekly-deploy-gce. + e2e-description: Clone of kubernetes-soak-continuous-e2e-gce. + branch: 'master' - 'gce-1.1': deploy-description: | Deploy Kubernetes to soak cluster using the latest successful