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:
- 'cephfs'
- 'rbd'
csi_upgrade_version: 'v3.1.0'
jobs:
- 'upgrade-tests-{test_type}'
@ -21,6 +22,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:
@ -31,6 +33,10 @@
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: