ci: Fetch csi upgrade version from configuration file

Instead of accessing the upgrade version from environment
variable, set the variable directly in configuration file.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2020-09-22 20:06:00 +05:30 committed by mergify[bot]
parent 69b2d1b478
commit 118015d762

View File

@ -5,6 +5,7 @@
test_type: test_type:
- 'cephfs' - 'cephfs'
- 'rbd' - 'rbd'
csi_upgrade_version: 'v3.1.0'
jobs: jobs:
- 'upgrade-tests-{test_type}' - 'upgrade-tests-{test_type}'
@ -21,6 +22,7 @@
# default variables # default variables
k8s_version: '<unset>' k8s_version: '<unset>'
test_type: '<unset>' test_type: '<unset>'
csi_upgrade_version: '<unset>'
# generated parameters for the job (used in the groovy script) # generated parameters for the job (used in the groovy script)
parameters: parameters:
- string: - string:
@ -31,6 +33,10 @@
name: test_type name: test_type
default: '{test_type}' default: '{test_type}'
description: Mentions whether upgrade tests run for rbd/cephfs. 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: pipeline-scm:
scm: scm:
- git: - git: