summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-daily-jobs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/functest/functest-daily-jobs.yml')
-rw-r--r--jjb/functest/functest-daily-jobs.yml38
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