]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pull-requests: enable WITH_ZBD on ubuntu 1664/head
authorKefu Chai <kchai@redhat.com>
Mon, 25 Jan 2021 06:00:36 +0000 (14:00 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 25 Jan 2021 06:00:37 +0000 (14:00 +0800)
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 <kchai@redhat.com>
ceph-pull-requests/build/build

index 1ea1390c2240bb4cc1fb12f4ef4c7d82d171516c..9377856040bf409115df6d350e91bc9d475f38fb 100644 (file)
@@ -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