]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
add crimson flavor build for centos8 1560/head
authorDeepika Upadhyay <dupadhya@redhat.com>
Wed, 29 Apr 2020 10:39:52 +0000 (16:09 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Wed, 29 Apr 2020 20:34:14 +0000 (02:04 +0530)
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
ceph-dev-new-build/build/build_rpm
ceph-dev-new-setup/build/build
ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml

index a2e1e7ef96efebaa1d0fcecd94059f4b62da7f90..6f5a240e9cd69c203a82bf4d606d0ddf2347bd64 100644 (file)
@@ -187,7 +187,8 @@ fi
 
 # XXX perhaps use job parameters instead of literals; then
 # later stages can also use them to compare etc.
-if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && $FLAVOR == "default" ]] ; then
+# build container image that supports building crimson-osd
+if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && $FLAVOR != "notcmalloc" ]] ; then
     loop=0
     ready=false
     while ((loop < 15)); do
index 30de0dcc369b8a3e04ff0f37b9dde5f9e919e1c5..e0066cdb41ddb0cf7459e9a6c4480fae2f079a6d 100644 (file)
@@ -77,6 +77,7 @@ case "${FLAVOR}" in
         CEPH_EXTRA_CMAKE_ARGS="$CEPH_EXTRA_CMAKE_ARGS -DALLOCATOR=tcmalloc"
         ;;
     crimson)
+        echo "Detected crimson flavor: will use flag: -DWITH_SEASTAR=ON"
         CEPH_EXTRA_RPMBUILD_ARGS="--with seastar"
         CEPH_EXTRA_CMAKE_ARGS="$CEPH_EXTRA_CMAKE_ARGS -DWITH_SEASTAR=ON"
         ;;
index 7cc698d805b8c2dc89fc2bfc634179d6aceb2cac..499f4065ff40ebf1446a1491541c033861ade999 100644 (file)
                   predefined-parameters: |
                     BRANCH=${GIT_BRANCH}
                     FORCE=True
-                    DISTROS=focal
+                    DISTROS=focal centos8
                     FLAVOR=crimson
 
     wrappers: