Skip to content

Commit

Permalink
Merge pull request #2104 from ivancich/wip-allow-distro-specific-builds
Browse files Browse the repository at this point in the history
ceph-dev: allow for a strictly centos9 build

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
  • Loading branch information
ivancich committed Feb 2, 2023
2 parents d0ac399 + ff5b2cc commit 419245b
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
- 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:
Expand All @@ -178,6 +178,24 @@
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
Expand Down

0 comments on commit 419245b

Please sign in to comment.