Compare commits

..

3 Commits
1.0.4 ... 1.0.7

Author SHA1 Message Date
ducoterra
438ae0fa93 don't overwrite deploy name 2020-10-12 17:23:07 -04:00
ducoterra
f9017ad302 sleep for pod to spin up 2020-10-12 16:55:24 -04:00
ducoterra
7bd7bde188 add secret true to values 2020-10-12 16:46:51 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -36,8 +36,6 @@ test:
- python manage.py test
deploy:
variables:
DEPLOY: test
stage: deploy
only:
variables:
@@ -51,5 +49,6 @@ deploy:
- chmod +x /usr/bin/kubectl
- 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
- sleep 10
- POD=$(kubectl get pods --selector=app=$DEPLOY --output=jsonpath='{.items[*].metadata.name}')
- kubectl exec $POD -- python manage.py migrate

View File

@@ -1,2 +1,3 @@
image: hub.ducoterra.net/ducoterra/button
tag: 1.0.2
tag: 1.0.2
secret: true