]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Revert "ceph-dev-*-build: reset CI_CONTAINER when building nautilus" 1628/head
authorKefu Chai <kchai@redhat.com>
Tue, 21 Jul 2020 03:27:31 +0000 (11:27 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 28 Oct 2020 14:35:14 +0000 (22:35 +0800)
This reverts commit d86ed63576a7dcc213c211b7678da2af6b6de108.

if we are able to build container images for nautilus on centos7 and
centos8, there is no need to skip this step.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-dev-build/build/build_rpm
ceph-dev-new-build/build/build_rpm
scripts/build_utils.sh

index f4d12b72676a3a3f2f34266824128d38f1a3dcc7..c36d33ec526ecf26ace0b1a39a850e8b3f8726f0 100644 (file)
@@ -6,8 +6,6 @@ set -ex
 # set of shell scripts and repos involved.
 CI_CONTAINER=${CI_CONTAINER:-false}
 
-maybe_reset_ci_container
-
 # create a release directory for ceph-build tools
 mkdir -p release
 cp -a dist release/${vers}
index e09408c136839a2118978a7bf27c86e681c3a109..9c094b095a3a9f21d7ccf3902b7adff57d866f0e 100644 (file)
@@ -7,8 +7,6 @@ set -ex
 # set of shell scripts and repos involved.
 CI_CONTAINER=${CI_CONTAINER:-false}
 
-maybe_reset_ci_container
-
 # create a release directory for ceph-build tools
 mkdir -p release
 cp -a dist release/${vers}
index 463ce76954240d4a1693a640ad6b69e2ec3dd5cd..9eb683ca12e2c7ac5ba2abb7d97f10f14ffff010 100644 (file)
@@ -1084,15 +1084,6 @@ get_nr_build_jobs() {
     echo $n_build_jobs
 }
 
-maybe_reset_ci_container() {
-    # ceph-container includes ceph-mgr-cephadm by default, but nautilus does
-    # not ship this package
-    if [[ "$CI_CONTAINER" && "$BRANCH" =~ nautilus ]]; then
-        echo "disabling CI container build for $BRANCH"
-        CI_CONTAINER=false
-    fi
-}
-
 setup_rpm_build_deps() {
     $SUDO yum install -y yum-utils
     if [ "$RELEASE" = 7 ]; then