From: Kefu Chai Date: Tue, 21 Jul 2020 03:27:31 +0000 (+0800) Subject: Revert "ceph-dev-*-build: reset CI_CONTAINER when building nautilus" X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1628%2Fhead;p=ceph-build.git Revert "ceph-dev-*-build: reset CI_CONTAINER when building nautilus" 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 --- diff --git a/ceph-dev-build/build/build_rpm b/ceph-dev-build/build/build_rpm index f4d12b726..c36d33ec5 100644 --- a/ceph-dev-build/build/build_rpm +++ b/ceph-dev-build/build/build_rpm @@ -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} diff --git a/ceph-dev-new-build/build/build_rpm b/ceph-dev-new-build/build/build_rpm index e09408c13..9c094b095 100644 --- a/ceph-dev-new-build/build/build_rpm +++ b/ceph-dev-new-build/build/build_rpm @@ -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} diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 463ce7695..9eb683ca1 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -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