From 84f131b32ac510097c3aac321fb1ca67bafc8941 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 5 Jan 2018 04:21:01 +0100 Subject: 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 --- ci/deploy.sh | 15 +-------------- 1 file changed, 1 insertion(+), 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 @@ -133,16 +132,6 @@ notify() { # END of colored notification wrapper ############################################################################## -############################################################################## -# BEGIN of deployment clean-up -# -clean() { - echo "Cleaning up deploy tmp directories" -} -# -# END of deployment clean-up -############################################################################## - ############################################################################## # BEGIN of variables to customize # @@ -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. -- cgit 1.2.3-korg