FORCE=True
DISTROS=focal bionic centos7 centos8 leap15
# build pacific on:
- # default: focal bionic centos8 leap15
+ # default: focal bionic centos8
# crimson: centos8
- conditional-step:
condition-kind: regex-match
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: centos8
- conditional-step:
condition-kind: regex-match
regex: .*crimson-only.*
#in case it needs to update/add repo, the following packages should installed.
extrapackages="software-properties-common curl"
- if [ $FLAVOR = "crimson" ]; then
- extrapackages += " libc-ares-dev libcrypto++-dev libgnutls28-dev libhwloc-dev libnuma-dev libpciaccess-dev libprotobuf-dev libsctp-dev libyaml-cpp-dev protobuf-compiler ragel systemtap-sdt-dev"
- fi
echo "EXTRAPACKAGES=\"${extrapackages}\"" >> ~/.pbuilderrc
local opts
CEPH_EXTRA_RPMBUILD_ARGS="--with seastar"
CEPH_EXTRA_CMAKE_ARGS+=" -DCMAKE_BUILD_TYPE=Debug"
CEPH_EXTRA_CMAKE_ARGS+=" -DWITH_SEASTAR=ON"
+ PROFILES="pkg.ceph.crimson"
;;
*)
echo "unknown FLAVOR: ${FLAVOR}" >&2
CEPH_EXTRA_CMAKE_ARGS="$CEPH_EXTRA_CMAKE_ARGS $(extra_cmake_args)"
DEB_BUILD_OPTIONS="parallel=$(get_nr_build_jobs)"
+ PROFILES="nocheck,$PROFILES"
# pass only those env vars specifically noted
sudo \
--distribution $DIST \
--basetgz $pbuilddir/$DIST.tgz \
--buildresult $releasedir/$cephver \
- --profiles nocheck \
+ --profiles $PROFILES \
--use-network yes \
$releasedir/$cephver/ceph_$bpvers.dsc