]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-trigger: do not build crimson for octopus 1519/head
authorKefu Chai <kchai@redhat.com>
Wed, 11 Mar 2020 14:03:13 +0000 (22:03 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 11 Mar 2020 14:03:30 +0000 (22:03 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml

index 68308f7e4846cecb21dbc0e6d5260c95427be7bb..0b4ad8889fa767cf15836350afbad987901b8b86 100644 (file)
                     FORCE=True
                     DISTROS=centos7
                     FLAVOR=notcmalloc
-      # build master and octopus on:
+      # build octopus on:
+      # default: bionic centos7 centos8 leap15
+      # notcmalloc: centos8
+      - conditional-step:
+          condition-kind: regex-match
+          regex: .*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 centos8 leap15
+                - project: 'ceph-dev'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=centos8
+                    FLAVOR=notcmalloc
+      # build master on:
       # default: bionic centos7 centos8 leap15
       # notcmalloc: centos8
       # crimson: bionic
       - conditional-step:
           condition-kind: regex-match
-          regex: .*(master|octopus).*
+          regex: master
           label: '${GIT_BRANCH}'
           on-evaluation-failure: dont-run
           steps: