From f6f2a14a18621efeac2576d97daa36e8131f4d31 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Fri, 20 Sep 2024 14:17:35 +0200 Subject: [PATCH] chore(helm): check github availability before clone Signed-off-by: rjshrjndrn --- scripts/helmcharts/openreplay/templates/job.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/helmcharts/openreplay/templates/job.yaml b/scripts/helmcharts/openreplay/templates/job.yaml index 7ec94ce75..ae479e8e6 100644 --- a/scripts/helmcharts/openreplay/templates/job.yaml +++ b/scripts/helmcharts/openreplay/templates/job.yaml @@ -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