k3s/hack/jenkins/job-configs/kubernetes-e2e.yaml

192 lines
7.0 KiB
YAML

- job-template:
name: 'kubernetes-e2e-{suffix}'
description: '{description} Test owner: {test-owner}.'
logrotate:
daysToKeep: 7
builders:
- shell: |
curl -fsS --retry 3 "https://raw.githubusercontent.com/kubernetes/kubernetes/{branch}/hack/jenkins/e2e.sh" | bash -
properties:
- mail-watcher
publishers:
- claim-build
- junit-publisher
- gcs-uploader
- log-parser
- email-ext:
recipients: "{emails}"
triggers:
- reverse:
jobs: '{trigger-job}'
result: success
- timed: 'H/30 * * * *'
wrappers:
- ansicolor:
colormap: xterm
- timeout:
timeout: '{timeout}'
fail: true
- timestamps
- workspace-cleanup
- project:
name: kubernetes-e2e-gce-master
trigger-job: 'kubernetes-build'
test-owner: 'Build Cop'
branch: 'master'
suffix:
- 'gce':
description: 'Run E2E tests on GCE using the latest successful build.'
timeout: 150
- 'gce-autoscaling':
description: 'Run autoscaling E2E tests on GCE using the latest successful build.'
timeout: 210
- 'gce-flaky':
description: 'Run E2E tests on GCE using the latest successful build. Limit to known-flaky tests.'
timeout: 180
- 'gce-parallel':
description: 'Run E2E tests using Ginkgo''s parallel test runner on GCE using the latest successful build.'
timeout: 120
- 'gce-parallel-flaky':
description: 'Run E2E tests using Ginkgo''s parallel test runner on GCE using the latest successful build. Limit to known-flaky tests.'
timeout: 90
- 'gce-reboot':
description: 'Run E2E reboot tests on GCE using the latest successful build. The reboot tests are currently flaky and causing other tests to fail, so we quarantine them into this project and dedicated test cluster.'
timeout: 300
- 'gce-scalability':
description: 'Run scalability E2E tests on GCE using the latest successful build.'
timeout: 210
- 'gce-slow':
description: 'Run slow E2E tests on GCE using the latest successful build.'
timeout: 270
- 'gce-flannel':
description: 'Run E2E tests on GCE using Flannel and the latest successful build. This suite is quarantined in a dedicated project because Flannel integration is experimental.'
timeout: 90
jobs:
- 'kubernetes-e2e-{suffix}'
- project:
name: kubernetes-e2e-gke-master
trigger-job: 'kubernetes-build'
test-owner: 'GKE on-call'
branch: 'master'
emails: '$DEFAULT_RECIPIENTS, cloud-kubernetes-alerts@google.com'
suffix:
- 'gke-ci':
description: |
Run e2e tests using the following config:<br>
- provider: GKE<br>
- apiary: staging<br>
- borg job: test<br>
- client (kubectl): ci/latest.txt<br>
- cluster (k8s): ci/latest.txt<br>
- tests: ci/latest.txt
timeout: 300
- 'gke-ci-reboot':
description: |
Run e2e tests using the following config:<br>
- provider: GKE<br>
- apiary: staging<br>
- borg job: test<br>
- client (kubectl): ci/latest.txt<br>
- cluster (k8s): ci/latest.txt<br>
- tests: ci/latest.txt
timeout: 300
- 'gke-flaky':
description: |
Run flaky e2e tests using the following config:<br>
- provider: GKE<br>
- apiary: staging<br>
- borg job: test<br>
- client (kubectl): ci/latest.txt<br>
- cluster (k8s): ci/latest.txt<br>
- tests: ci/latest.txt
timeout: 300
jobs:
- 'kubernetes-e2e-{suffix}'
- project:
name: kubernetes-e2e-gke-1.1
trigger-job: 'kubernetes-build-1.1'
test-owner: 'GKE on-call'
branch: 'release-1.1'
emails: '$DEFAULT_RECIPIENTS, cloud-kubernetes-alerts@google.com'
suffix:
- 'gke-1.1':
timeout: 150
description: 'Run E2E tests on GKE from the current release branch.'
- 'gke-prod':
timeout: 180
description: |
Run e2e tests using the following config:<br>
- provider: GKE<br>
- apiary: prod<br>
- borg job: prod<br>
- client (kubectl): release/stable.txt<br>
- cluster (k8s): release/stable.txt<br>
- tests: release/stable.txt
- 'gke-staging':
timeout: 300
description: |
Run e2e tests using the following config:<br>
- provider: GKE<br>
- apiary: staging<br>
- borg job: staging<br>
- client (kubectl): release/stable.txt<br>
- cluster (k8s): release/stable.txt<br>
- tests: release/stable.txt
- 'gke-subnet':
test-owner: 'cjcullen'
timeout: 300
description: |
Run e2e tests using the following config:<br>
- provider: GKE<br>
- apiary: prod<br>
- borg job: prod<br>
- client (kubectl): release/stable.txt<br>
- cluster (k8s): release/stable.txt<br>
- tests: release/stable.txt
emails: 'cjcullen@google.com'
- 'gke-test':
timeout: 300
description: |
Run e2e tests using the following config:<br>
- provider: GKE<br>
- apiary: staging<br>
- borg job: test<br>
- client (kubectl): release/stable.txt<br>
- cluster (k8s): release/stable.txt<br>
- tests: release/stable.txt
jobs:
- 'kubernetes-e2e-{suffix}'
- project:
name: kubernetes-e2e-gce-1.1
trigger-job: 'kubernetes-build-1.1'
test-owner: 'Build Cop'
branch: 'release-1.1'
suffix:
- 'gce-release-1.1':
timeout: 175
description: 'Run E2E tests on GCE from the current release branch.'
- 'gce-disruptive-1.1':
timeout: 180
description: 'Run disruptive E2E tests on GCE from the current release branch.'
- 'gce-scalability-1.1':
timeout: 210
description: 'Run scalability E2E tests on GCE from the current release branch.'
jobs:
- 'kubernetes-e2e-{suffix}'
- project:
name: kubernetes-e2e-1.0
trigger-job: 'kubernetes-build-1.0'
test-owner: 'Build Cop'
branch: 'release-1.0'
suffix:
- 'gce-release-1.0':
timeout: 150
description: 'Run E2E tests on GCE from the release-1.0 branch.'
jobs:
- 'kubernetes-e2e-{suffix}'