Skip to content

Commit

Permalink
Add a e2e job for continuous Docker validation
Browse files Browse the repository at this point in the history
It runs daily the default e2e tests on GCE, against k8s head, latest GCI build,
and latest Docker release.
  • Loading branch information
wonderfly committed Jun 3, 2016
1 parent 6894342 commit a84e1d5
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion jenkins/job-configs/kubernetes-jenkins/kubernetes-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,6 @@
timeout: 270
jobs:
- 'kubernetes-e2e-gce-gci-stable-{suffix}'

# End of GCI jobs

# Jobs that run e2e tests on GKE with Trusty as node image on the release-1.2
Expand Down Expand Up @@ -1164,3 +1163,42 @@
version-infix: '1-2-1-3'
version-env: ''
legacy-ginkgo-test-args-env: ''

# Template for Docker continuous validation tests, running on GCI. See
# https://github.com/kubernetes/kubernetes/issues/25215 for details of what the
# job does.
- job-template:
<<: *e2e_job_defaults
name: 'continuous-docker-validation{suffix}'
test-owner: 'dawnchen@google.com'
node: '{jenkins_node}'
triggers:
- timed: '@daily'
publishers:
- e2e-publishers:
recipients: 'wonderfly@google.com,dawnchen@google.com'
- description-setter:
regexp: KUBE_GCI_DOCKER_VERSION=(.*)
- groovy-postbuild:
script: |
def gciImageMatcher = manager.getLogMatcher("KUBE_GCE_MASTER_IMAGE=(.*)")
if(gciImageMatcher?.matches()) manager.addShortText("<b>GCI Image: " + gciImageMatcher.group(1) + "</b>", "grey", "white", "0px", "white")
def k8sVersionMatcher = manager.getLogMatcher("Using\\spublished\\sversion\\s(.*)\\s\\(from.*")
if(k8sVersionMatcher?.matches()) manager.addShortText("<br><b>Kubernetes version: " + k8sVersionMatcher.group(1) + "</b>", "grey", "white", "0px", "white")
def dockerVersionMatcher = manager.getLogMatcher("KUBE_GCI_DOCKER_VERSION=(.*)")
if(dockerVersionMatcher?.matches()) manager.addShortText("<b>Docker Version: " + dockerVersionMatcher.group(1) + "</b>", "grey", "white", "0px", "white")
provider-env: '{gce-provider-env}'
timeout: 30
job-env: |
export GINKGO_TEST_ARGS="--ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"
export GINKGO_PARALLEL="y"
export PROJECT="k8s-docker-validation"
export JENKINS_GCI_IMAGE_TYPE="preview-test"
- project:
name: continuous-docker-validation
suffix:
- '':
description: 'Runs the default e2e tests with the latest Kubernetes green build, latest GCI daily build, and latest Docker (pre)release.'
jobs:
- 'continuous-docker-validation{suffix}'

0 comments on commit a84e1d5

Please sign in to comment.