From ff5b2cca999944d521f98ce66a78b4d36c7b4406 Mon Sep 17 00:00:00 2001 From: "J. Eric Ivancich" Date: Wed, 1 Feb 2023 12:42:36 -0500 Subject: [PATCH] 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 --- .../definitions/ceph-dev-new-trigger.yml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 -- 2.39.5