Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceph-dev: allow for a strictly centos9 build #2104

Merged
merged 1 commit into from
Feb 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
ivancich marked this conversation as resolved.
Show resolved Hide resolved
# 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