- - 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