ci: restructure 'parameters' section for upgrade-tests

The section containing the paramaters does not seem to be structured
correctly, correct it.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-09-22 12:21:13 +02:00 committed by mergify[bot]
parent 926817fb54
commit 01de4eacfc
2 changed files with 9 additions and 8 deletions

View File

@ -40,6 +40,7 @@ cd "$(dirname "${0}")"
# unique ID for the session # unique ID for the session
SESSION=$(uuidgen) SESSION=$(uuidgen)
oc process -f "jjb-${CMD}.yaml" -p=SESSION="${SESSION}" -p=GIT_REF="${GIT_REF}"
oc process -f "jjb-${CMD}.yaml" -p=SESSION="${SESSION}" -p=GIT_REF="${GIT_REF}" | oc create -f - oc process -f "jjb-${CMD}.yaml" -p=SESSION="${SESSION}" -p=GIT_REF="${GIT_REF}" | oc create -f -
# loop until pod is available # loop until pod is available

View File

@ -23,12 +23,12 @@
test_type: '<unset>' test_type: '<unset>'
# generated parameters for the job (used in the groovy script) # generated parameters for the job (used in the groovy script)
parameters: parameters:
- name: k8s_version - string:
type: string name: k8s_version
default: '{k8s_version}' default: '{k8s_version}'
description: Kubernetes version to deploy in the test cluster. description: Kubernetes version to deploy in the test cluster.
- name: test_type - string:
type: string 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.
pipeline-scm: pipeline-scm: