From fe77333e84d82afb8159492d36523b633718a4d3 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 13 Jun 2025 15:08:49 -0600 Subject: [PATCH] ceph-dev-pipeline: support new crimson flavors Signed-off-by: Zack Cerza --- ceph-dev-pipeline/build/Jenkinsfile | 10 +++++----- .../config/definitions/ceph-dev-pipeline.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ceph-dev-pipeline/build/Jenkinsfile b/ceph-dev-pipeline/build/Jenkinsfile index 3a71f62e..af44fa94 100644 --- a/ceph-dev-pipeline/build/Jenkinsfile +++ b/ceph-dev-pipeline/build/Jenkinsfile @@ -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}") diff --git a/ceph-dev-pipeline/config/definitions/ceph-dev-pipeline.yml b/ceph-dev-pipeline/config/definitions/ceph-dev-pipeline.yml index c2080e48..1835601e 100644 --- a/ceph-dev-pipeline/config/definitions/ceph-dev-pipeline.yml +++ b/ceph-dev-pipeline/config/definitions/ceph-dev-pipeline.yml @@ -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: -- 2.39.5