diff options
author | 2018-02-02 10:20:38 +0000 | |
---|---|---|
committer | 2018-02-02 10:20:38 +0000 | |
commit | 2e91ade07deaac9266054129a1d47c9f292cf133 (patch) | |
tree | 6f5eef9bdb1e6b7c6126ae22205322075ac9b15f /jjb/functest/functest-daily-jobs.yml | |
parent | c4a16663f64003151222589f71ab0b09e5d26839 (diff) | |
parent | 5203913e8e39ad20c26dee453a0217bcba902785 (diff) |
Merge "[Functest] Run k8s tests on Compass"
Diffstat (limited to 'jjb/functest/functest-daily-jobs.yml')
-rw-r--r-- | jjb/functest/functest-daily-jobs.yml | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/jjb/functest/functest-daily-jobs.yml b/jjb/functest/functest-daily-jobs.yml index 79e5c1503..1f17a507e 100644 --- a/jjb/functest/functest-daily-jobs.yml +++ b/jjb/functest/functest-daily-jobs.yml @@ -244,13 +244,32 @@ builders: - description-setter: description: "Built on $NODE_NAME" - - 'functest-{testsuite}-builder' + - 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' ######################## # 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: - string: @@ -375,6 +394,23 @@ - '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 |