2020-09-22 05:12:28 +00:00
|
|
|
---
|
|
|
|
- project:
|
|
|
|
name: upgrade-tests
|
2023-08-17 05:31:56 +00:00
|
|
|
k8s_version: '1.27'
|
2022-10-25 11:31:51 +00:00
|
|
|
only_run_on_request: true
|
2020-09-22 05:12:28 +00:00
|
|
|
test_type:
|
|
|
|
- 'cephfs'
|
|
|
|
- 'rbd'
|
2023-07-13 07:10:40 +00:00
|
|
|
csi_upgrade_version: 'v3.9.0'
|
2020-09-22 05:12:28 +00:00
|
|
|
jobs:
|
2020-09-22 08:31:58 +00:00
|
|
|
- 'upgrade-tests-{test_type}'
|
2020-09-22 05:12:28 +00:00
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: 'upgrade-tests-{test_type}'
|
|
|
|
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>'
|
|
|
|
test_type: '<unset>'
|
2020-09-22 14:36:00 +00:00
|
|
|
csi_upgrade_version: '<unset>'
|
2020-09-22 05:12:28 +00:00
|
|
|
# generated parameters for the job (used in the groovy script)
|
|
|
|
parameters:
|
2020-09-22 10:21:13 +00:00
|
|
|
- string:
|
|
|
|
name: k8s_version
|
|
|
|
default: '{k8s_version}'
|
|
|
|
description: Kubernetes version to deploy in the test cluster.
|
|
|
|
- string:
|
|
|
|
name: test_type
|
|
|
|
default: '{test_type}'
|
|
|
|
description: Mentions whether upgrade tests run for rbd/cephfs.
|
2020-09-22 14:36:00 +00:00
|
|
|
- string:
|
|
|
|
name: csi_upgrade_version
|
|
|
|
default: '{csi_upgrade_version}'
|
|
|
|
description: Ceph CSI base version to be used before upgrade.
|
2020-09-22 05:12:28 +00:00
|
|
|
pipeline-scm:
|
|
|
|
scm:
|
|
|
|
- git:
|
|
|
|
name: origin
|
|
|
|
url: https://github.com/ceph/ceph-csi
|
|
|
|
branches:
|
|
|
|
- ci/centos
|
|
|
|
script-path: upgrade-tests.groovy
|
|
|
|
lightweight-checkout: true
|
|
|
|
triggers:
|
|
|
|
- github-pull-request:
|
2020-11-04 09:39:54 +00:00
|
|
|
status-url: $RUN_DISPLAY_URL
|
2020-09-22 05:12:28 +00:00
|
|
|
status-context: 'ci/centos/upgrade-tests-{test_type}'
|
|
|
|
# yamllint disable-line rule:line-length
|
2023-06-28 15:52:33 +00:00
|
|
|
trigger-phrase: '/(re)?test ci/centos/upgrade-tests(-{test_type})?'
|
2022-10-25 11:31:51 +00:00
|
|
|
only-trigger-phrase: '{only_run_on_request}'
|
2020-09-22 05:12:28 +00:00
|
|
|
permit-all: true
|
|
|
|
github-hooks: true
|
|
|
|
black-list-target-branches:
|
|
|
|
- ci/centos
|
|
|
|
org-list:
|
|
|
|
- ceph
|