Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mjasion committed May 17, 2024
1 parent 61d9ad7 commit f955d87
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/studio/templates/deployment-studio-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ spec:
{{- if semverCompare "<=2.103.0" (.Values.studioBackend.image.tag | default .Chart.AppVersion) }}
./manage.py migrate --database dvcx
{{- end }}
{{- if semverCompare ">=2.115.0" (.Values.studioBackend.image.tag | default .Chart.AppVersion) }}
./manage.py migrate --fake dqlapp 0047
{{- end }}
{{- end }}
{{- if hasPrefix "sha-" (.Values.studioBackend.image.tag | default "") }}
./manage.py migrate --fake dqlapp 0047
{{- end }}
{{- if and .Release.IsUpgrade (not .Values.ci) }}
./manage.py migrate phonenumber --fake-initial
Expand Down

0 comments on commit f955d87

Please sign in to comment.