mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
c1255f809b
Disable e2e tests by default in CI to save resources. cephcsi maintainers or contributors can add the ok-to-test label to trigger the e2e tests. depends on #3468 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
---
|
|
- project:
|
|
name: k8s-e2e-external-storage
|
|
k8s_version:
|
|
- '1.22':
|
|
only_run_on_request: true
|
|
- '1.23':
|
|
only_run_on_request: true
|
|
- '1.24':
|
|
only_run_on_request: true
|
|
- '1.25':
|
|
only_run_on_request: true
|
|
- '1.26':
|
|
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
|