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
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 -
# loop until pod is available

View File

@ -23,14 +23,14 @@
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.
- 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.
pipeline-scm:
scm:
- git: