new deploy strat

This commit is contained in:
ducoterra
2020-05-16 11:08:36 -04:00
parent 3af23e0061
commit 745e0734be
2 changed files with 80 additions and 1 deletions

View File

@@ -35,4 +35,4 @@ deploy_to_prod:
- curl -L -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
- chmod +x /usr/local/bin/kubectl
- curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
- helm install --set tag=$CI_COMMIT_TAG $CI_PROJECT_NAME ./helm
- helm template homer --set tag=1.1.1 ./helm | kubectl apply -f -