From: J. Eric Ivancich Date: Wed, 1 Feb 2023 17:42:36 +0000 (-0500) Subject: ceph-dev: allow for a strictly centos9 build X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2104%2Fhead;p=ceph-build.git ceph-dev: allow for a strictly centos9 build For those working on details of a centos9 build, testing should not involve a bunch of other builds. Presenting this as a potential solution. Signed-off-by: J. Eric Ivancich --- diff --git a/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml b/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml index 4bf35533..41f0e2d6 100644 --- a/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml +++ b/ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml @@ -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: @@ -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