From: Deepika Upadhyay Date: Wed, 7 Jul 2021 17:39:27 +0000 (+0530) Subject: ceph-dev-new-trigger: add jaeger-only trigger X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=99ac2b60d3e9c236802daf752d9924076151bf82;p=ceph-build.git ceph-dev-new-trigger: add jaeger-only trigger if branch will have `jaeger` in branch name, it shall only build focal, centos8 x86_64 Signed-off-by: Deepika Upadhyay --- 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 09677d0a..015aae67 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\|crimson-only\)' + echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\|octopus\|pacific\|crimson-only\|jaeger)' on-evaluation-failure: dont-run steps: - shell: @@ -172,6 +172,27 @@ DISTROS=centos8 FLAVOR=crimson ARCHS=x86_64 + # Build jaegertracing branch on needed env, don't waste resources on the default one. + # Useful for testing specific builds failure + # default: focal, centos8 + - conditional-step: + condition-kind: regex-match + regex: .*jaeger.* + 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 focal + FLAVOR=jaeger + ARCHS=x86_64 wrappers: - inject-passwords: