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}
fi
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
+}