mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 06:40:23 +00:00
f9f3bb90a5
`/retest all` causes a spike in resource consumption in Jenkins and the OpenShift cluster kills the Pod. That means tests are not fully running yet, and results never arrive back in the PR. Instead of `/retest all`, the `ok-to-test` label can be used to trigger required tests with a slight delay between each command. Signed-off-by: Niels de Vos <ndevos@ibm.com>
63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
---
|
|
- project:
|
|
name: upgrade-tests
|
|
k8s_version: '1.25'
|
|
only_run_on_request: true
|
|
test_type:
|
|
- 'cephfs'
|
|
- 'rbd'
|
|
csi_upgrade_version: 'v3.7.2'
|
|
jobs:
|
|
- 'upgrade-tests-{test_type}'
|
|
|
|
- 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>'
|
|
csi_upgrade_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: '{test_type}'
|
|
description: Mentions whether upgrade tests run for rbd/cephfs.
|
|
- string:
|
|
name: csi_upgrade_version
|
|
default: '{csi_upgrade_version}'
|
|
description: Ceph CSI base version to be used before upgrade.
|
|
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-url: $RUN_DISPLAY_URL
|
|
status-context: 'ci/centos/upgrade-tests-{test_type}'
|
|
# yamllint disable-line rule:line-length
|
|
trigger-phrase: '/(re)?test ci/centos/upgrade-tests(-{test_type})?'
|
|
only-trigger-phrase: '{only_run_on_request}'
|
|
permit-all: true
|
|
github-hooks: true
|
|
black-list-target-branches:
|
|
- ci/centos
|
|
org-list:
|
|
- ceph
|