From: David Galloway Date: Wed, 18 Dec 2019 23:24:57 +0000 (-0500) Subject: ceph-dev-new-trigger: "fix" conditional step for all other branches X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1471%2Fhead;p=ceph-build.git ceph-dev-new-trigger: "fix" conditional step for all other branches Signed-off-by: David Galloway --- 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 044cd386..040439ed 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 @@ -103,12 +103,13 @@ FORCE=True DISTROS=centos7 FLAVOR=notcmalloc - # If no release name is found in branch, build on all possible distro/flavor combos + # If no release name is found in branch, build on all possible distro/flavor combos. + # regex matching and 'on-evaluation-failure: run' doesn't work here so triple negative it is. - conditional-step: - condition-kind: regex-match - regex: .*(luminous|mimic|nautilus).* - label: '${GIT_BRANCH}' - on-evaluation-failure: run + condition-kind: shell + condition-command: | + echo "${GIT_BRANCH}" | grep -v '\(luminous\|mimic\|nautilus\)' + on-evaluation-failure: dont-run steps: - shell: !include-raw: