From: Alexandru Avadanii Date: Fri, 5 Jan 2018 03:21:01 +0000 (+0100) Subject: deploy.sh: Silence cleanup output X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F50129%2F1;p=fuel.git 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 (cherry picked from commit 84f131b32ac510097c3aac321fb1ca67bafc8941) --- diff --git a/ci/deploy.sh b/ci/deploy.sh index 90f789a2d..09167dc83 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.