Skip to content

Commit

Permalink
feat(backend): Remove fake migration step (#402)
Browse files Browse the repository at this point in the history
Revert "feat(backend): Add Fake migration to backend (#401)"

This reverts commit ebfb4af.
  • Loading branch information
mjasion committed May 21, 2024
1 parent ebfb4af commit e91522f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: studio
description: A Helm chart for Kubernetes
type: application
version: 0.13.22
version: 0.13.23
appVersion: "v2.115.0"
maintainers:
- name: iterative
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.13.22](https://img.shields.io/badge/Version-0.13.22-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.115.0](https://img.shields.io/badge/AppVersion-v2.115.0-informational?style=flat-square)
![Version: 0.13.23](https://img.shields.io/badge/Version-0.13.23-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.115.0](https://img.shields.io/badge/AppVersion-v2.115.0-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
7 changes: 0 additions & 7 deletions charts/studio/templates/deployment-studio-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ 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
./manage.py migrate
{{- end }}
{{- if and .Release.IsUpgrade (not .Values.ci) }}
./manage.py migrate phonenumber --fake-initial
Expand Down

0 comments on commit e91522f

Please sign in to comment.