BRANCH=${{GIT_BRANCH}}
FORCE=True
DISTROS=centos9
- FLAVOR=crimson
+ FLAVOR=crimson-debug
ARCHS=x86_64
# build main on:
# default: jammy centos9 windows
BRANCH=${{GIT_BRANCH}}
FORCE=True
DISTROS=centos9
- FLAVOR=crimson
+ FLAVOR=crimson-debug
ARCHS=x86_64
wrappers:
BRANCH=${{GIT_BRANCH}}
FORCE=True
DISTROS=centos9
- FLAVOR=crimson
+ FLAVOR=crimson-debug
ARCHS=x86_64
# If no release name is found in branch, build on all possible distro/flavor combos (except xenial, bionic, focal).
# regex matching and 'on-evaluation-failure: run' doesn't work here so triple negative it is.
BRANCH=${{GIT_BRANCH}}
FORCE=True
DISTROS=centos9
- FLAVOR=crimson
+ FLAVOR=crimson-debug
ARCHS=x86_64
# build only centos9, no crimson, no jaeger
- conditional-step:
ARCHS=x86_64
# Build only the `crimson` flavour, don't waste resources on the default one.
# Useful for the crimson's bug-hunt at Sepia
- # crimson: centos9
+ # crimson-debug: centos9
+ # crimson-release: centos9
- conditional-step:
condition-kind: regex-match
regex: .*crimson-only.*
BRANCH=${{GIT_BRANCH}}
FORCE=True
DISTROS=centos9
- FLAVOR=crimson
+ FLAVOR=crimson-debug
+ ARCHS=x86_64
+ - trigger-builds:
+ - project: 'ceph-dev-new'
+ predefined-parameters: |
+ BRANCH=${{GIT_BRANCH}}
+ FORCE=True
+ DISTROS=centos9
+ FLAVOR=crimson-release
ARCHS=x86_64
# Build jaegertracing branch on needed env, don't waste resources on the default one.
# Useful for testing specific builds failure
name: FLAVOR
choices:
- default
- - crimson
+ - crimson-debug
+ - crimson-release
- jaeger
default: "default"
- description: "Type of Ceph build, choices are: crimson, jaeger, default. Defaults to: 'default'"
+ description: "Type of Ceph build, choices are: crimson-debug, crimson-release, jaeger, default. Defaults to: 'default'"
- string:
name: CI_CONTAINER
name: FLAVOR
choices:
- default
- - crimson
+ - crimson-debug
+ - crimson-release
- jaeger
default: "default"
- description: "Type of Ceph build, choices are: crimson, jaeger, default. Defaults to: 'default'"
+ description: "Type of Ceph build, choices are: crimson-debug, crimson-release, jaeger, default. Defaults to: 'default'"
- bool:
name: CI_CONTAINER
name: FLAVOR
choices:
- default
- - crimson
+ - crimson-debug
+ - crimson-release
default: "default"
- description: "Type of Ceph build, choices are: crimson, default. Defaults to: 'default'"
+ description: "Type of Ceph build, choices are: crimson-debug, crimson-release, default. Defaults to: 'default'"
- bool:
name: CI_CONTAINER
break
fi
done
- if test {osd-flavor} = "crimson" ; then
- export WITH_SEASTAR=true
+ if test {osd-flavor} = "crimson-release" ; then
+ export WITH_CRIMSON=true
# TODO use clang-10 on ubuntu/focal
timeout 7200 src/script/run-make.sh \
--cmake-args "-DCMAKE_CXX_COMPILER=$cxx_compiler -DCMAKE_C_COMPILER=$c_compiler -DCMAKE_BUILD_TYPE=Release -DWITH_CRIMSON=ON -DWITH_TESTS=OFF" \
- project:
name: ceph-perf
osd-flavor:
- - crimson
+ - crimson-debug
+ - crimson-release
- classic
jobs:
- ceph-perf-{osd-flavor}
env.CEPH_EXTRA_CMAKE_ARGS+=" -DWITH_SYSTEM_BOOST=OFF -DWITH_BOOST_VALGRIND=ON"
env.DEB_BUILD_PROFILES=""
break
- case "crimson":
+ case "crimson-debug":
+ env.CEPH_EXTRA_RPMBUILD_ARGS="--with crimson"
+ env.DEB_BUILD_PROFILES="pkg.ceph.crimson"
+ env.CEPH_EXTRA_CMAKE_ARGS+=" -DCMAKE_BUILD_TYPE=Debug"
+ break
+ case "crimson-release":
env.CEPH_EXTRA_RPMBUILD_ARGS="--with crimson"
env.DEB_BUILD_PROFILES="pkg.ceph.crimson"
break
name: FLAVOR
choices:
- default
- - crimson
+ - crimson-debug
+ - crimson-release
- jaeger
- string:
NAME_RE = re.compile(
r'(.*)-([0-9a-f]{7})-centos-.*([0-9]+)-(x86_64|aarch64)-devel'
)
-SHA1_RE = re.compile(r'([0-9a-f]{40})(-crimson|-aarch64)*')
+SHA1_RE = re.compile(r'([0-9a-f]{40})(-crimson-debug|-crimson-release|-aarch64)*')
def get_all_quay_tags(quaytoken):
continue
# <sha1>-crimson tags don't have full or ref tags to go with.
# Delete them iff the default <sha1> tag is to be deleted
- if (match[2] == '-crimson') and (sha1 in tags_to_delete):
+ if match[2] in ('-crimson', '-crimson-debug', '-crimson-release') and sha1 in tags_to_delete:
if args.verbose:
print(
'Marking %s for deletion: orphaned sha1 tag' % name
CEPH_EXTRA_CMAKE_ARGS+=" -DWITH_SYSTEM_BOOST=OFF -DWITH_BOOST_VALGRIND=ON"
DEB_BUILD_PROFILES=""
;;
- crimson)
+ crimson-debug)
+ CEPH_EXTRA_RPMBUILD_ARGS="--with crimson"
+ DEB_BUILD_PROFILES="pkg.ceph.crimson"
+ CEPH_EXTRA_CMAKE_ARGS+=" -DCMAKE_BUILD_TYPE=Debug"
+ crimson-release)
CEPH_EXTRA_RPMBUILD_ARGS="--with crimson"
DEB_BUILD_PROFILES="pkg.ceph.crimson"
;;
extra_cmake_args() {
# statically link against libstdc++ for building new releases on old distros
- if [ "${FLAVOR}" = "crimson" ]; then
+ if [ "${FLAVOR}" = "crimson-debug" ] || [ "${FLAVOR}" = "crimson-release" ] ; then
# seastar's exception hack assums dynamic linkage against libgcc. as
# otherwise _Unwind_RaiseException will conflict with its counterpart
# defined in libgcc_eh.a, when the linker comes into play. and more
# enable more build depends required by build flavor(jaeger, crimson)
case "${FLAVOR}" in
- crimson)
+ crimson-debug)
+ sed -i -e 's/%bcond_with crimson/%bcond_without crimson/g' $DIR/ceph.spec
+ ;;
+ crimson-release)
sed -i -e 's/%bcond_with crimson/%bcond_without crimson/g' $DIR/ceph.spec
;;
jaeger)