From c659487084d1c04e0878623d927c9cef3e4bed80 Mon Sep 17 00:00:00 2001 From: karthik-us Date: Fri, 27 Oct 2023 10:06:27 +0530 Subject: [PATCH] ci: make test_type optional Make test_type parameter optional to keep the current test run behavior intact. Signed-off-by: karthik-us --- jobs/mini-e2e.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jobs/mini-e2e.yaml b/jobs/mini-e2e.yaml index 0408ca876..762033396 100644 --- a/jobs/mini-e2e.yaml +++ b/jobs/mini-e2e.yaml @@ -38,7 +38,7 @@ description: Kubernetes version to deploy in the test cluster. - string: name: test_type - default: '{test_type}' + default: '' description: Mentions whether tests run for rbd/cephfs/nfs. pipeline-scm: scm: @@ -54,7 +54,7 @@ status-url: $RUN_DISPLAY_URL status-context: 'ci/centos/mini-e2e/k8s-{k8s_version}' # 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}' permit-all: true github-hooks: true @@ -83,7 +83,7 @@ description: Kubernetes version to deploy in the test cluster. - string: name: test_type - default: '{test_type}' + default: '' description: Mentions whether tests run for rbd/cephfs/nfs. pipeline-scm: @@ -100,7 +100,7 @@ status-url: $RUN_DISPLAY_URL status-context: 'ci/centos/mini-e2e-helm/k8s-{k8s_version}' # 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}' permit-all: true github-hooks: true