ceph-csi/jobs/mini-e2e.yaml
Praveen M 3e6791171d ci: e2e job for ceph-csi operator
This commit adds new job mini-e2e-operator for running
ceph-csi e2e tests deployed via ceph-csi-operator.

Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-10-29 15:32:49 +05:30

165 lines
4.9 KiB
YAML

---
- project:
name: mini-e2e
k8s_version:
- '1.25':
only_run_on_request: true
- '1.26':
only_run_on_request: true
- '1.27':
only_run_on_request: true
- '1.28':
only_run_on_request: true
- '1.29':
only_run_on_request: true
- '1.30':
only_run_on_request: true
- '1.31':
only_run_on_request: true
test_type:
- 'cephfs'
- 'rbd'
- 'nfs'
jobs:
- 'mini-e2e_k8s-{k8s_version}'
- 'mini-e2e-helm_k8s-{k8s_version}'
- 'mini-e2e-operator_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.
- string:
name: test_type
default: ''
description: Mentions whether tests run for rbd/cephfs/nfs.
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 ci/centos/mini-e2e(/k8s-{k8s_version}(/test_type-{test_type})?)?'
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.
- string:
name: test_type
default: ''
description: Mentions whether tests run for rbd/cephfs/nfs.
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 ci/centos/mini-e2e-helm(/k8s-{k8s_version}(/test_type-{test_type})?)?'
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
- job-template:
name: 'mini-e2e-operator_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.
- string:
name: test_type
default: ''
description: Mentions whether tests run for rbd/cephfs/nfs.
pipeline-scm:
scm:
- git:
name: origin
url: https://github.com/ceph/ceph-csi
branches:
- ci/centos
script-path: mini-e2e-operator.groovy
lightweight-checkout: true
triggers:
- github-pull-request:
status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/mini-e2e-operator/k8s-{k8s_version}'
# yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ci/centos/mini-e2e-operator(/k8s-{k8s_version}(/test_type-{test_type})?)?'
only-trigger-phrase: '{only_run_on_request}'
permit-all: true
github-hooks: true
black-list-target-branches:
- ci/centos
org-list:
- ceph