]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-new-trigger: only use positive match for filter 1349/head
authorKefu Chai <kchai@redhat.com>
Fri, 26 Jul 2019 02:55:25 +0000 (10:55 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 26 Jul 2019 02:56:25 +0000 (10:56 +0800)
there is no need to put
```
grep -v '\(jewel\|kraken\|luminous\)' | grep '\(mimic\|nautilus\)'
```

as we are not likely to have both "jewel" and "mimic" in a branch name.

this change is a follow-up of the discussion when reviewing #1345

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml

index 86225daeed08808a6ba89fcb695eecb0ed455c9a..9db68967efa66a7ee2654acca1493ec2090500f6 100644 (file)
@@ -51,7 +51,7 @@
       - conditional-step:
           condition-kind: shell
           condition-command: |
-            echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\)' | grep '\(mimic\|nautilus\)'
+            echo "${GIT_BRANCH}" | grep '\(mimic\|nautilus\)'
           on-evaluation-failure: dont-run
           steps:
             - shell: