From 9c0a34eba94f87c6c5a02c52ccc521e9d5a6f4e8 Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Sat, 3 Feb 2018 08:59:52 +0000 Subject: [PATCH] Fix functest daily job Change-Id: Ia9bc336d43fe9ed47368f9aada0c6d9244a71683 Signed-off-by: Linda Wang --- jjb/functest/functest-daily-jobs.yml | 62 ++++++++++++------------------------ 1 file changed, 20 insertions(+), 42 deletions(-) diff --git a/jjb/functest/functest-daily-jobs.yml b/jjb/functest/functest-daily-jobs.yml index 1cf6892da..099d01a59 100755 --- a/jjb/functest/functest-daily-jobs.yml +++ b/jjb/functest/functest-daily-jobs.yml @@ -249,31 +249,12 @@ builders: - description-setter: description: "Built on $NODE_NAME" - - conditional-step: - condition-kind: regex-match - regex: "os-.*" - label: 'DEPLOY_SCENARIO' - steps: - - 'functest-{testsuite}-builder' - - conditional-step: - condition-kind: regex-match - regex: "k8-.*" - label: 'DEPLOY_SCENARIO' - steps: - - 'functest-k8-builder' + - 'functest-{testsuite}-builder' ######################## # parameter macros ######################## -- parameter: - name: functest-k8-parameter - parameters: - - string: - name: FUNCTEST_MODE - default: 'daily' - description: "Daily suite name to run on K8 deployment" - - parameter: name: functest-daily-parameter parameters: @@ -398,32 +379,29 @@ - 'functest-store-results' - 'functest-exit' -- builder: - name: functest-k8-builder - builders: - - 'functest-cleanup' - - 'functest-daily-k8' - - 'functest-store-results' - - 'functest-exit' - -- builder: - name: functest-daily-k8 - builders: - # yamllint disable rule:indentation - - shell: - !include-raw: - - ../../utils/fetch_k8_conf.sh - - ./functest-k8.sh - - builder: name: functest-daily builders: # yamllint disable rule:indentation - - shell: - !include-raw: - - ./functest-env-presetup.sh - - ../../utils/fetch_os_creds.sh - - ./functest-alpine.sh + - conditional-step: + condition-kind: regex-match + regex: "os-.*" + label: '$DEPLOY_SCENARIO' + steps: + - shell: + !include-raw: + - ./functest-env-presetup.sh + - ../../utils/fetch_os_creds.sh + - ./functest-alpine.sh + - conditional-step: + condition-kind: regex-match + regex: "k8-.*" + label: '$DEPLOY_SCENARIO' + steps: + - shell: + !include-raw: + - ../../utils/fetch_k8_conf.sh + - ./functest-k8.sh # yamllint enable rule:indentation - builder: -- 2.16.6