aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-05 04:21:01 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-05 04:24:38 +0100
commit84f131b32ac510097c3aac321fb1ca67bafc8941 (patch)
tree68e0f369739a31ff043b68ea701ed486f18ebd9c
parent84f58189f269be6633e0c8897d5624d3dfaaa650 (diff)
deploy.sh: Silence cleanup output
Cleanup sequence might print some warnings/errors that are misleading for new users, so let's silence them. While at it, remove unused `cleanup` function stub. Change-Id: Ic4225f7d4b701cd15d96e1bfc5eecfe2c4291eb6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rwxr-xr-xci/deploy.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index adf96c332..19ae23ccb 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -14,8 +14,7 @@
#
do_exit () {
local RC=$?
- clean
- cleanup_mounts
+ cleanup_mounts > /dev/null 2>&1
if [ ${RC} -eq 0 ]; then
notify "\n[OK] MCP: Openstack installation finished succesfully!\n\n" 2
else
@@ -134,16 +133,6 @@ notify() {
##############################################################################
##############################################################################
-# BEGIN of deployment clean-up
-#
-clean() {
- echo "Cleaning up deploy tmp directories"
-}
-#
-# END of deployment clean-up
-##############################################################################
-
-##############################################################################
# BEGIN of variables to customize
#
CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x
@@ -272,8 +261,6 @@ trap do_exit SIGINT SIGTERM EXIT
# Set no restrictive umask so that Jenkins can remove any residuals
umask 0000
-clean
-
pushd "${DEPLOY_DIR}" > /dev/null
# Prepare the deploy config files based on lab/pod information, deployment
# scenario, etc.