Commit 886d9e04 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'clarify-review-app-deploy-status-log' into 'master'

Clarify printed message

See merge request gitlab-org/gitlab!72487
parents 527a3ebd 2787d27c
......@@ -10,7 +10,12 @@ function deploy_exists() {
helm status --namespace "${namespace}" "${release}" >/dev/null 2>&1
deploy_exists=$?
echoinfo "Deployment status for ${release} is ${deploy_exists}"
if [ $deploy_exists -eq 0 ]; then
echoinfo "Previous deployment for ${release} found."
else
echoerr "Previous deployment for ${release} NOT found."
fi
return $deploy_exists
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment