Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9017ad302 | ||
|
|
7bd7bde188 |
@@ -51,5 +51,6 @@ deploy:
|
|||||||
- chmod +x /usr/bin/kubectl
|
- chmod +x /usr/bin/kubectl
|
||||||
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
|
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
|
||||||
- helm upgrade --install $DEPLOY ./helm --set image=$CI_REGISTRY_IMAGE --set tag=$CI_COMMIT_TAG
|
- helm upgrade --install $DEPLOY ./helm --set image=$CI_REGISTRY_IMAGE --set tag=$CI_COMMIT_TAG
|
||||||
|
- sleep 10
|
||||||
- POD=$(kubectl get pods --selector=app=$DEPLOY --output=jsonpath='{.items[*].metadata.name}')
|
- POD=$(kubectl get pods --selector=app=$DEPLOY --output=jsonpath='{.items[*].metadata.name}')
|
||||||
- kubectl exec $POD -- python manage.py migrate
|
- kubectl exec $POD -- python manage.py migrate
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
image: hub.ducoterra.net/ducoterra/button
|
image: hub.ducoterra.net/ducoterra/button
|
||||||
tag: 1.0.2
|
tag: 1.0.2
|
||||||
|
secret: true
|
||||||
Reference in New Issue
Block a user