From 27d40dbcc9644b98256d9571696b6bde3fcf2fcb Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 2 Sep 2024 15:04:50 +0200 Subject: [PATCH] chore(init): show latest git commit 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 5f6321773..c006df9c2 100644 --- a/scripts/helmcharts/openreplay/templates/job.yaml +++ b/scripts/helmcharts/openreplay/templates/job.yaml @@ -77,6 +77,7 @@ spec: 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 {{ .Values.global.dbMigrationPreCommand | default "" }} exit_count=0