chore(helm): check github availability before clone

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2024-09-20 14:17:35 +02:00
parent aa213e036c
commit f6f2a14a18

View file

@ -91,6 +91,7 @@ spec:
check_github
git clone {{ .Values.global.dbMigrationUpstreamRepoURL | default "https://github.com/openreplay/openreplay" }} .
ls /opt/openreplay/openreplay
git checkout {{ default .Chart.AppVersion .Values.dbMigrationUpstreamBranch }} || exit 10
git log -1