summaryrefslogtreecommitdiffstats
path: root/jjb/yardstick/yardstick-daily-jobs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/yardstick/yardstick-daily-jobs.yml')
-rw-r--r--jjb/yardstick/yardstick-daily-jobs.yml28
1 files changed, 17 insertions, 11 deletions
diff --git a/jjb/yardstick/yardstick-daily-jobs.yml b/jjb/yardstick/yardstick-daily-jobs.yml
index 20890fa13..24c7f319b 100644
--- a/jjb/yardstick/yardstick-daily-jobs.yml
+++ b/jjb/yardstick/yardstick-daily-jobs.yml
@@ -262,8 +262,7 @@
- description-setter:
description: "POD: $NODE_NAME"
- 'yardstick-cleanup'
- - 'yardstick-fetch-os-creds'
- - 'yardstick-fetch-k8s-conf'
+ - 'yardstick-fetch-creds'
- 'yardstick-{testsuite}'
- 'yardstick-store-results'
@@ -282,16 +281,23 @@
!include-raw: ./yardstick-daily.sh
- builder:
- name: yardstick-fetch-os-creds
+ name: yardstick-fetch-creds
builders:
- - shell:
- !include-raw: ../../utils/fetch_os_creds.sh
-
-- builder:
- name: yardstick-fetch-k8s-conf
- builders:
- - shell:
- !include-raw: ./yardstick-get-k8s-conf.sh
+ # yamllint disable rule:indentation
+ - conditional-step:
+ condition-kind: regex-match
+ regex: "os-.*"
+ label: '$DEPLOY_SCENARIO'
+ steps:
+ - shell:
+ !include-raw: ../../utils/fetch_os_creds.sh
+ - conditional-step:
+ condition-kind: regex-match
+ regex: "k8-.*"
+ label: '$DEPLOY_SCENARIO'
+ steps:
+ - shell:
+ !include-raw: ./yardstick-get-k8s-conf.sh
- builder:
name: yardstick-store-results