From 2ec73b47c522ab8d11d3d321cc04300fe5dddb60 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Fri, 28 Oct 2022 22:30:51 +0200 Subject: [PATCH] chore(helm): fix migration script path Signed-off-by: rjshrjndrn --- scripts/helmcharts/openreplay/files/dbops.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helmcharts/openreplay/files/dbops.sh b/scripts/helmcharts/openreplay/files/dbops.sh index fd238471e..21ace9d2c 100644 --- a/scripts/helmcharts/openreplay/files/dbops.sh +++ b/scripts/helmcharts/openreplay/files/dbops.sh @@ -32,7 +32,7 @@ function migration() { fi # Checking migration versions - cd /opt/openreplay/openreplay/scripts/helm + cd /opt/openreplay/openreplay/scripts/schema migration_versions=(`ls -l db/init_dbs/$db | grep -E ^d | awk -v number=${PREVIOUS_APP_VERSION} '$NF > number {print $NF}' | grep -v create`) echo "Migration version: ${migration_versions[*]}" # Can't pass the space seperated array to ansible for migration. So joining them with ,