chore(helm): fix migration script path

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-10-28 22:30:51 +02:00
parent 38322aea13
commit 2ec73b47c5

View file

@ -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 ,