chore(helm): fail if branch/commit doesn't exist

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-07-07 20:09:31 +02:00
parent 8fc1ec18d8
commit d78728212f

View file

@ -42,7 +42,7 @@ spec:
mkdir -p /opt/openreplay/openreplay && cd /opt/openreplay/openreplay
git clone https://github.com/openreplay/openreplay .
ls /opt/openreplay/openreplay
git checkout {{ default .Chart.AppVersion .Values.dbMigrationUpstreamBranch }}
git checkout {{ default .Chart.AppVersion .Values.dbMigrationUpstreamBranch }} || exit 10
# Checking variable is empty. Shell independant method.
if [ "x$ENTERPRISE_EDITION_LICENSE" != "x" ]; then