]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-new-trigger: "fix" conditional step for all other branches 1471/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 18 Dec 2019 23:24:57 +0000 (18:24 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 18 Dec 2019 23:24:57 +0000 (18:24 -0500)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml

index 044cd386bf029ea3c507bbcefeda86d35d2ef564..040439edbc29512b6b8ba166c9d419c3d831ae58 100644 (file)
                     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: