- conditional-step:
condition-kind: shell
condition-command: |
- echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|quincy\|crimson-only\|jaeger\)'
+ echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|quincy\|centos9-only\|crimson-only\|jaeger\)'
on-evaluation-failure: dont-run
steps:
- shell:
DISTROS=centos8
FLAVOR=crimson
ARCHS=x86_64
+ # build only centos9, no crimson, no jaeger
+ - conditional-step:
+ condition-kind: regex-match
+ regex: .*centos9-only.*
+ label: '${GIT_BRANCH}'
+ on-evaluation-failure: dont-run
+ steps:
+ - shell:
+ !include-raw:
+ - ../../../scripts/build_utils.sh
+ - ../../build/notify
+ - trigger-builds:
+ - project: 'ceph-dev-new'
+ predefined-parameters: |
+ BRANCH=${GIT_BRANCH}
+ FORCE=True
+ DISTROS=centos9
+ ARCHS=x86_64
# Build only the `crimson` flavour, don't waste resources on the default one.
# Useful for the crimson's bug-hunt at Sepia
# crimson: centos8