]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
update extrapkg needed for crimson, to be added by debian buildprofiles 1870/head
authorDeepika Upadhyay <dupadhya@redhat.com>
Wed, 7 Jul 2021 17:40:40 +0000 (23:10 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Fri, 9 Jul 2021 12:17:19 +0000 (17:47 +0530)
cleanup: add/ remove some missing go to have comments

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
ceph-dev-new-trigger/config/definitions/ceph-dev-new-trigger.yml
scripts/build_utils.sh

index 09677d0ad6050cd7c755d281dfc07c0e54e719bd..7ce59897b3f087f4e202b2dc88313452631369c6 100644 (file)
                     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.*
index 0c1372fcde9cec18d8d678fc0c001b69fffe0b5c..a7445d79ab748ce62027127a27dac472f874e5da 100644 (file)
@@ -605,9 +605,6 @@ setup_pbuilder() {
 
     #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
@@ -854,6 +851,7 @@ ceph_build_args_from_flavor() {
         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
@@ -909,6 +907,7 @@ build_debs() {
 
     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 \
@@ -918,7 +917,7 @@ build_debs() {
         --distribution $DIST \
         --basetgz $pbuilddir/$DIST.tgz \
         --buildresult $releasedir/$cephver \
-        --profiles nocheck \
+        --profiles $PROFILES \
         --use-network yes \
         $releasedir/$cephver/ceph_$bpvers.dsc