mirror of https://github.com/k3s-io/k3s
194 lines
6.9 KiB
YAML
194 lines
6.9 KiB
YAML
- job-template:
|
|
name: 'kubernetes-e2e-{suffix}'
|
|
description: '{description} Test owner: {test-owner}.'
|
|
logrotate:
|
|
daysToKeep: 7
|
|
disabled: false
|
|
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-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-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
|
|
- 'gce-examples':
|
|
description: 'Run e2e examples test on GCE using the latest successful Kubernetes build.'
|
|
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':
|
|
description: Runs all non-slow, non-serial, non-flaky, tests on GKE in parallel (against GKE test endpoint)
|
|
timeout: 300
|
|
- 'gke-slow':
|
|
description: 'Run slow E2E tests on GKE using the latest successful build.'
|
|
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}'
|
|
|
|
- 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}'
|