Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an e2e job for continuous Docker validation #113

Merged
merged 1 commit into from
Jun 20, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions jenkins/job-configs/kubernetes-jenkins/kubernetes-e2e-gce-gci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,4 +290,42 @@
jobs:
- 'kubernetes-e2e-gce-gci-stable-{suffix}'

# 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: '[email protected]'
node: '{jenkins_node}'
triggers:
- timed: '@daily'
publishers:
- e2e-publishers:
recipients: '[email protected],[email protected]'
- 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")
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}'

# End of GCI jobs