]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-trigger: add conditional step for master and octopus 1345/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 19 Jul 2019 17:17:42 +0000 (13:17 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 23 Jul 2019 15:01:57 +0000 (11:01 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml

index fb1f6aec129d2627b9423403ca52c3dc60488ee3..9d3a977871880280cfaf841117808040f7711e99 100644 (file)
           wipe-workspace: true
 
     builders:
+      - conditional-step:
+          condition-kind: regex-match
+          regex: .*(master|octopus).*
+          label: '${GIT_BRANCH}'
+          on-evaluation-failure: dont-run
+          steps:
+            - shell:
+                !include-raw:
+                - ../../../scripts/build_utils.sh
+                - ../../build/notify
+            - trigger-builds:
+                - project: 'ceph-dev'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=bionic centos7
+                - project: 'ceph-dev'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=centos7
+                    FLAVOR=notcmalloc
       - conditional-step:
           condition-kind: regex-match
           regex: .*(jewel|kraken|luminous).*
@@ -61,7 +83,7 @@
       - conditional-step:
           condition-kind: shell
           condition-command: |
-            echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\)'
+            echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\|master|octopus\)'
           on-evaluation-failure: dont-run
           steps:
             - shell: