]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph*trigger: Add pacific conditional steps 1728/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 21 Jan 2021 17:08:00 +0000 (12:08 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 21 Jan 2021 17:09:11 +0000 (12:09 -0500)
Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml
ceph-dev-trigger/config/definitions/ceph-dev-trigger.yml

index dcfb3600ce445893ff840ecb18951b57c35798f5..08cdc495d2fd5ce9141dc611f465c8c389dc0aa3 100644 (file)
                     FORCE=True
                     DISTROS=centos8
                     FLAVOR=notcmalloc
+      # build pacific on:
+      # default: focal bionic centos8 leap15
+      # notcmalloc: centos8
+      # crimson: centos8
+      - conditional-step:
+          condition-kind: regex-match
+          regex: .*pacific.*
+          label: '${GIT_BRANCH}'
+          on-evaluation-failure: dont-run
+          steps:
+            - shell:
+                !include-raw:
+                - ../../../scripts/build_utils.sh
+                - ../../build/notify
+            - trigger-builds:
+                - project: 'ceph-dev-new'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=focal bionic centos8 leap15
+                - project: 'ceph-dev-new'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=centos8
+                    FLAVOR=notcmalloc
+                - project: 'ceph-dev-new'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=centos8
+                    FLAVOR=crimson
       # If no release name is found in branch, build on all possible distro/flavor combos (except xenial).
       # regex matching and 'on-evaluation-failure: run' doesn't work here so triple negative it is.
       - conditional-step:
index 0989cbec59c1b94bb10a56415b6a8f73a7fc52e2..9152e3b0052e21080ab9d7a580387a1b513c450a 100644 (file)
                     FORCE=True
                     DISTROS=centos8
                     FLAVOR=notcmalloc
+      # build pacific on:
+      # default: focal bionic centos8 leap15
+      # notcmalloc: centos8
+      # crimson: centos8
+      - conditional-step:
+          condition-kind: regex-match
+          regex: .*pacific.*
+          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=focal bionic centos8 leap15
+                - project: 'ceph-dev'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=centos8
+                    FLAVOR=notcmalloc
+                - project: 'ceph-dev'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=centos8
+                    FLAVOR=crimson
       # build master on:
       # default: focal bionic centos8 leap15
       # notcmalloc: centos8