]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-pipeline: support new crimson flavors
authorZack Cerza <zack@cerza.org>
Fri, 13 Jun 2025 21:08:49 +0000 (15:08 -0600)
committerZack Cerza <zack@cerza.org>
Wed, 18 Jun 2025 19:10:38 +0000 (13:10 -0600)
Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-dev-pipeline/build/Jenkinsfile
ceph-dev-pipeline/config/definitions/ceph-dev-pipeline.yml

index 3a71f62e448ed124d4f502a9da6726cb809a2043..af44fa948e4a3ccc2b4e704916ebae226c9962a6 100644 (file)
@@ -189,7 +189,7 @@ pipeline {
           }
           axes {
             name 'FLAVOR'
-            values 'default', 'crimson'
+            values 'default', 'crimson-release', 'crimson-debug'
           }
         }
         // crimson is only supported on centos9 x86_64
@@ -197,7 +197,7 @@ pipeline {
           exclude {
             axis {
               name 'FLAVOR'
-              values 'crimson'
+              values 'crimson-release', 'crimson-debug'
             }
             axis {
               name 'DIST'
@@ -207,7 +207,7 @@ pipeline {
           exclude {
             axis {
               name 'FLAVOR'
-              values 'crimson'
+              values 'crimson-release', 'crimson-debug'
             }
             axis {
               name 'ARCH'
@@ -416,7 +416,7 @@ pipeline {
                     env.CEPH_EXTRA_CMAKE_ARGS+=" -DALLOCATOR=tcmalloc"
                     env.CEPH_EXTRA_CMAKE_ARGS+=" -DWITH_SYSTEM_BOOST=OFF -DWITH_BOOST_VALGRIND=ON"
                     break
-                  case "crimson":
+                  case ~/crimson.*/:
                     env.DEB_BUILD_PROFILES="pkg.ceph.crimson"
                     sh '''#!/bin/bash
                       echo "WITH_CRIMSON=true" >> .env
@@ -441,7 +441,7 @@ pipeline {
                   if ( env.SCCACHE == "true" ) rpmbuild_args += " -R--with=sccache"
                   if ( env.DWZ == "false" ) rpmbuild_args += " -R--without=dwz"
                   if ( env.FLAVOR == "default" ) rpmbuild_args += " -R--with=tcmalloc"
-                  if ( env.FLAVOR == "crimson" ) rpmbuild_args += " -R--with=crimson"
+                  if ( env.FLAVOR.startsWith("crimson") ) rpmbuild_args += " -R--with=crimson"
                   bwc_command = "${bwc_command}${rpmbuild_args} -e rpm"
                 } else if ( env.DIST =~ /suse|sles/ ) {
                   throw new Exception("bwc not implemented for ${env.DIST}")
index c2080e48442a5b158ab821e022a2dc0c0f23d23f..1835601ecc350bef5ae12b251bde75f5bf74ceb4 100644 (file)
@@ -42,7 +42,7 @@
 
       - string:
           name: FLAVORS
-          description: "A list of flavors to build. Available options are: default and crimson"
+          description: "A list of flavors to build. Available options are: default, crimson-release, crimson-debug"
           default: "default"
 
       - bool: