From: Kefu Chai Date: Mon, 25 Jan 2021 06:00:36 +0000 (+0800) Subject: ceph-pull-requests: enable WITH_ZBD on ubuntu X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=b005a117ac336e10d9ff101bab296d0e271180d7;p=ceph-build.git ceph-pull-requests: enable WITH_ZBD on ubuntu to avoid zbd backend bitrot, and for build test it in our "make check" builds. currently, libzbd-devel and libzbd packages were only prebuilt on bionic, so only enable this on ubuntu distros. Signed-off-by: Kefu Chai --- diff --git a/ceph-pull-requests/build/build b/ceph-pull-requests/build/build index 1ea1390c..93778560 100644 --- a/ceph-pull-requests/build/build +++ b/ceph-pull-requests/build/build @@ -1,6 +1,9 @@ #!/bin/bash -ex export NPROC=$(nproc) export WITH_SEASTAR=true +if which apt-get > /dev/null ; then + export WITH_ZBD=true +fi timeout 3h ./run-make-check.sh sleep 5 ps -ef | grep -v jnlp | grep ceph || true