From e83d4d1b86e30f70c0d997b3d695220858e22d5f Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Tue, 13 Apr 2021 13:13:36 +0000 Subject: [PATCH] ceph-dev-new-trigger: add a crimson-only building variant. Signed-off-by: Radoslaw Zarzynski --- .../definitions/ceph-dev-new-trigger.yml | 22 ++++++++++++++++++- 1 file changed, 21 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 5b5b0e56..b02e4627 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 @@ -131,7 +131,7 @@ - conditional-step: condition-kind: shell condition-command: | - echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\)' + echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|crimson-only\)' on-evaluation-failure: dont-run steps: - shell: @@ -152,6 +152,26 @@ DISTROS=centos8 FLAVOR=crimson 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 + - conditional-step: + condition-kind: regex-match + regex: .*crimson-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=centos8 + FLAVOR=crimson + ARCHS=x86_64 wrappers: - inject-passwords: -- 2.39.5