ceph-csi/jobs/k8s-e2e-external-storage.yaml
Niels de Vos 2909e85e23 ci: add Kubernetes 1.22 as optional version for CI jobs
Kubernetes 1.22 is in the release process and can be used for testing
already. The CI jobs will be available and can be triggered by leaving a
comment in the PRs like

    /test ci/centos/mini-e2e-helm/k8s-1.22

See-also: https://github.com/kubernetes/sig-release/tree/master/releases/release-1.22
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-06-30 09:44:54 +00:00

53 lines
1.5 KiB
YAML

---
- project:
name: k8s-e2e-external-storage
k8s_version:
- '1.20':
only_run_on_request: true
- '1.21':
only_run_on_request: false
- '1.22':
only_run_on_request: true
jobs:
- 'k8s-e2e-external-storage-{k8s_version}'
- job-template:
name: k8s-e2e-external-storage-{k8s_version}
project-type: pipeline
concurrent: true
properties:
- github:
url: https://github.com/ceph/ceph-csi
- build-discarder:
days-to-keep: 7
artifact-days-to-keep: 7
k8s_version: '<unset>'
parameters:
- string:
name: k8s_version
default: '{k8s_version}'
description: Kubernetes version to deploy in the test cluster.
pipeline-scm:
scm:
- git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
script-path: k8s-e2e-external-storage.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/k8s-e2e-external-storage/{k8s_version}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ((all)|(ci/centos/k8s-e2e-external-storage(/{k8s_version})?))'
only-trigger-phrase: '{only_run_on_request}'
permit-all: true
github-hooks: true
black-list-target-branches:
- ci/centos
org-list:
- ceph
allow-whitelist-orgs-as-admins: true