chore(helm): override branch name for db migration
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
4d22156b6a
commit
198ea005d4
1 changed files with 4 additions and 2 deletions
|
|
@ -36,7 +36,10 @@ spec:
|
|||
- -c
|
||||
args:
|
||||
- |
|
||||
git clone https://github.com/openreplay/openreplay /opt/openreplay/openreplay -b {{ .Chart.AppVersion }}
|
||||
mkdir -p /opt/openreplay/openreplay && cd "$_"
|
||||
git clone https://github.com/openreplay/openreplay .
|
||||
git checkout {{ default .Chart.AppVersion .Values.dbMigrationUpstreamBranch }}
|
||||
|
||||
# Checking variable is empty. Shell independant method.
|
||||
if [ "x$ENTERPRISE_EDITION_LICENSE" != "x" ]; then
|
||||
exit_count=0
|
||||
|
|
@ -61,7 +64,6 @@ spec:
|
|||
fi
|
||||
|
||||
echo "Copying enterprise code"
|
||||
cd /opt/openreplay/openreplay
|
||||
cp -rf ee/scripts/* scripts/
|
||||
fi
|
||||
volumeMounts:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue