This commit is contained in:
ducoterra
2020-04-24 19:52:40 -04:00
parent f34cb22567
commit 96dbf7fe81

View File

@@ -39,4 +39,4 @@ deploy:
- mv out.yaml k8s/deploy.yaml
- ./kubectl apply -f k8s
- ./kubectl rollout status deploy $DEPLOY
# - ./kubectl exec -it $(./kubectl get pods --selector=app=$DEPLOY --output=jsonpath='{.items[*].metadata.name}') -- python manage.py migrate
- ./kubectl exec -it $(./kubectl get pods --selector=app=$DEPLOY --output=jsonpath='{.items[*].metadata.name}') -- python manage.py migrate