mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-15 02:40:23 +00:00
a55c539f2a
Kubernetes 1.26 has reached Alpha state, so the project can now be used to run CI jobs against. Signed-off-by: Niels de Vos <ndevos@redhat.com>
101 lines
3.0 KiB
YAML
101 lines
3.0 KiB
YAML
---
|
|
- project:
|
|
name: mini-e2e
|
|
k8s_version:
|
|
- '1.22':
|
|
only_run_on_request: false
|
|
- '1.23':
|
|
only_run_on_request: false
|
|
- '1.24':
|
|
only_run_on_request: false
|
|
- '1.25':
|
|
only_run_on_request: true
|
|
- '1.26':
|
|
only_run_on_request: true
|
|
jobs:
|
|
- 'mini-e2e_k8s-{k8s_version}'
|
|
- 'mini-e2e-helm_k8s-{k8s_version}'
|
|
|
|
- job-template:
|
|
name: 'mini-e2e_k8s-{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
|
|
# default variables
|
|
k8s_version: '<unset>'
|
|
# generated parameters for the job (used in the groovy script)
|
|
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: mini-e2e.groovy
|
|
lightweight-checkout: true
|
|
triggers:
|
|
- github-pull-request:
|
|
status-url: $RUN_DISPLAY_URL
|
|
status-context: 'ci/centos/mini-e2e/k8s-{k8s_version}'
|
|
# yamllint disable-line rule:line-length
|
|
trigger-phrase: '/(re)?test ((all)|(ci/centos/mini-e2e(/k8s-{k8s_version})?))'
|
|
only-trigger-phrase: '{only_run_on_request}'
|
|
permit-all: true
|
|
github-hooks: true
|
|
black-list-target-branches:
|
|
- ci/centos
|
|
org-list:
|
|
- ceph
|
|
|
|
- job-template:
|
|
name: 'mini-e2e-helm_k8s-{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
|
|
# default variables
|
|
k8s_version: '<unset>'
|
|
# generated parameters for the job (used in the groovy script)
|
|
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: mini-e2e-helm.groovy
|
|
lightweight-checkout: true
|
|
triggers:
|
|
- github-pull-request:
|
|
status-url: $RUN_DISPLAY_URL
|
|
status-context: 'ci/centos/mini-e2e-helm/k8s-{k8s_version}'
|
|
# yamllint disable-line rule:line-length
|
|
trigger-phrase: '/(re)?test ((all)|(ci/centos/mini-e2e-helm(/k8s-{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
|