fix migration job

This commit is contained in:
Ishaan Jaff 2024-11-12 12:20:30 -08:00
parent 07d7ac3ede
commit 4192d7ec6f

View file

@ -13,12 +13,8 @@ spec:
containers: containers:
- name: prisma-migrations - name: prisma-migrations
image: "ghcr.io/berriai/litellm:main-stable" image: "ghcr.io/berriai/litellm:main-stable"
command: ["/bin/sh", "-c"] command: ["python", "litellm/proxy/prisma_migration.py"]
args: workingDir: "/app"
- |
pwd
ls -la
python ../../../litellm/proxy/prisma_migration.py
env: env:
{{- if .Values.db.deployStandalone }} {{- if .Values.db.deployStandalone }}
- name: DATABASE_URL - name: DATABASE_URL