From 311b0269b4eb9839fa63f80c8d7a58f32b8138a0 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 18 Nov 2021 13:16:36 +0000 Subject: Add latest changes from gitlab-org/gitlab@14-5-stable-ee --- scripts/review_apps/review-apps.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/review_apps/review-apps.sh') diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh index 8ec26e7ba89..edb55a83555 100755 --- a/scripts/review_apps/review-apps.sh +++ b/scripts/review_apps/review-apps.sh @@ -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 } -- cgit v1.2.1