mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
ci: Add template file for upgrade-tests job
This template file contains the configuration parameters for the upgrade-tests job. Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
parent
447e2b1ae4
commit
2e2df0a877
55
jobs/upgrade-tests.yaml
Normal file
55
jobs/upgrade-tests.yaml
Normal file
@ -0,0 +1,55 @@
|
||||
---
|
||||
- project:
|
||||
name: upgrade-tests
|
||||
k8s_version: '1.19'
|
||||
test_type:
|
||||
- 'cephfs'
|
||||
- 'rbd'
|
||||
jobs:
|
||||
- 'upgrade-tests-cephfs'
|
||||
- 'upgrade-tests-rbd'
|
||||
|
||||
- job-template:
|
||||
name: 'upgrade-tests-{test_type}'
|
||||
project-type: pipeline
|
||||
sandbox: true
|
||||
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>'
|
||||
# generated parameters for the job (used in the groovy script)
|
||||
parameters:
|
||||
- name: k8s_version
|
||||
type: string
|
||||
default: '{k8s_version}'
|
||||
description: Kubernetes version to deploy in the test cluster.
|
||||
- name: test_type
|
||||
type: string
|
||||
default: '{test_type}'
|
||||
description: Mentions whether upgrade tests run for rbd/cephfs.
|
||||
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:
|
||||
status-context: 'ci/centos/upgrade-tests-{test_type}'
|
||||
# yamllint disable-line rule:line-length
|
||||
trigger-phrase: '/(re)?test ((all)|(ci/centos/upgrade-tests(-{test_type})?))'
|
||||
permit-all: true
|
||||
github-hooks: true
|
||||
black-list-target-branches:
|
||||
- ci/centos
|
||||
org-list:
|
||||
- ceph
|
Loading…
Reference in New Issue
Block a user