ci: make test_type optional

Make test_type parameter optional to keep the current test run
behavior intact.

Signed-off-by: karthik-us <ksubrahm@redhat.com>
This commit is contained in:
karthik-us 2023-10-27 10:06:27 +05:30 committed by mergify[bot]
parent 674b1e811a
commit c659487084

View File

@ -38,7 +38,7 @@
description: Kubernetes version to deploy in the test cluster. description: Kubernetes version to deploy in the test cluster.
- string: - string:
name: test_type name: test_type
default: '{test_type}' default: ''
description: Mentions whether tests run for rbd/cephfs/nfs. description: Mentions whether tests run for rbd/cephfs/nfs.
pipeline-scm: pipeline-scm:
scm: scm:
@ -54,7 +54,7 @@
status-url: $RUN_DISPLAY_URL status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/mini-e2e/k8s-{k8s_version}' status-context: 'ci/centos/mini-e2e/k8s-{k8s_version}'
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ci/centos/mini-e2e(/k8s-{k8s_version}-{test_type})?' trigger-phrase: '/(re)?test ci/centos/mini-e2e(/k8s-{k8s_version}(/test_type-{test_type})?)?'
only-trigger-phrase: '{only_run_on_request}' only-trigger-phrase: '{only_run_on_request}'
permit-all: true permit-all: true
github-hooks: true github-hooks: true
@ -83,7 +83,7 @@
description: Kubernetes version to deploy in the test cluster. description: Kubernetes version to deploy in the test cluster.
- string: - string:
name: test_type name: test_type
default: '{test_type}' default: ''
description: Mentions whether tests run for rbd/cephfs/nfs. description: Mentions whether tests run for rbd/cephfs/nfs.
pipeline-scm: pipeline-scm:
@ -100,7 +100,7 @@
status-url: $RUN_DISPLAY_URL status-url: $RUN_DISPLAY_URL
status-context: 'ci/centos/mini-e2e-helm/k8s-{k8s_version}' status-context: 'ci/centos/mini-e2e-helm/k8s-{k8s_version}'
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
trigger-phrase: '/(re)?test ci/centos/mini-e2e-helm(/k8s-{k8s_version}-{test_type})?' trigger-phrase: '/(re)?test ci/centos/mini-e2e-helm(/k8s-{k8s_version}(/test_type-{test_type})?)?'
only-trigger-phrase: '{only_run_on_request}' only-trigger-phrase: '{only_run_on_request}'
permit-all: true permit-all: true
github-hooks: true github-hooks: true