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>
# 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}
# 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}
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