feat: run database seed after migrations
This commit is contained in:
@@ -18,7 +18,13 @@ spec:
|
||||
containers:
|
||||
- name: migrate
|
||||
image: gitea.infrastructure.helmholz.cloud/gitea_admin/nextgen-be:latest
|
||||
command: ["alembic", "upgrade", "head"]
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
set -e
|
||||
alembic upgrade head
|
||||
python -m app.db.seed_dev
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: nextgen-be-db
|
||||
|
||||
Reference in New Issue
Block a user