update pipelines

This commit is contained in:
Kirill Andrusyak
2023-09-04 18:42:36 +00:00
parent 1d20c24f6f
commit 072a071945
2 changed files with 4 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ stages:
- build
- deploy
- migration
- production
migration-dev:
stage: migration
@@ -16,7 +17,7 @@ migration-dev:
- kubectl exec deploy/$CI_PROJECT_TITLE -n $NAMESPACE -- alembic upgrade head
migration-prod:
stage: migration
stage: production
variables:
NAMESPACE: "prod"
script: