add comments here

This commit is contained in:
ducoterra
2020-04-24 19:56:47 -04:00
parent 96dbf7fe81
commit 02d2f9d7e6
2 changed files with 3 additions and 1 deletions

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 $(./kubectl get pods --selector=app=$DEPLOY --output=jsonpath='{.items[*].metadata.name}') -- python manage.py migrate