]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-new*: build "crimson" flavor for octopus and master
authorKefu Chai <kchai@redhat.com>
Fri, 7 Jun 2019 15:08:53 +0000 (23:08 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 17 Jun 2019 02:20:39 +0000 (10:20 +0800)
* add "crimson" as another flavor
* build "default", "notcmalloc" flavors for branches whose name
  match jewel, kraken, luminous, mimic, nautilus
* build "default", "notcmalloc" and "crimson" flavors for branches whose name
  does not match any of jewel, kraken, luminous, mimic, nautilus.
  and build "crimson" on bionic only, because the "ubuntu-toolchain-r"
  PPA offers GCC-9, which is the latest GCC release at the time of
  writing. we want to target the mainstream hardware and toolchain
  available at least 1 year later. by then, GCC-9 will be available
  in most distros. and hopefully, it will be included by the
  devtoolset-9.

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

index da726b386f2bbfab809e5786c713fd63679c5cca..a2dc3f43b81c6227974f5e2bc853ab2681855003 100644 (file)
@@ -51,7 +51,7 @@
       - conditional-step:
           condition-kind: shell
           condition-command: |
-            echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\)'
+            echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\)' | grep '\(mimic\|nautilus\)'
           on-evaluation-failure: dont-run
           steps:
             - shell:
                     FORCE=True
                     DISTROS=centos7
                     FLAVOR=notcmalloc
+      - conditional-step:
+          condition-kind: shell
+          condition-command: |
+            echo "${GIT_BRANCH}" | grep -v '\(jewel\|kraken\|luminous\|mimic\|nautilus\)'
+          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=bionic xenial centos7
+                - project: 'ceph-dev-new'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=centos7
+                    FLAVOR=notcmalloc
+                - project: 'ceph-dev-new'
+                  predefined-parameters: |
+                    BRANCH=${GIT_BRANCH}
+                    FORCE=True
+                    DISTROS=bionic
+                    FLAVOR=crimson
 
     wrappers:
       - inject-passwords:
index 2dd2e1ea72080c2135af7ef977c48a10136f72ad..62fff4dbabe9c1d830e92433bd259f0a91fd4dfb 100644 (file)
@@ -56,8 +56,9 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           choices:
             - default
             - notcmalloc
+            - crimson
           default: "default"
-          description: "Type of Ceph build, choices are: notcmalloc, default (i.e. with tcmalloc). Defaults to: 'default'"
+          description: "Type of Ceph build, choices are: crimson, notcmalloc, default (i.e. with tcmalloc). Defaults to: 'default'"
 
     builders:
       - multijob: