File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ audience: developers
2+ level: silent
3+ ---
Original file line number Diff line number Diff line change @@ -48,9 +48,17 @@ steps:
4848 gcloud container clusters get-credentials ${PROJECT_ID} --region us-east1 --project ${PROJECT_ID} \
4949 && yarn \
5050 && yarn dev:db:upgrade \
51- && yarn dev:apply
51+ && yarn dev:apply > /dev/null
5252 id : Deploy
5353 entrypoint : bash
54+ - name : ${_DEPLOY_IMAGE_NAME}
55+ id : Cleanup old pods
56+ args :
57+ - ' -c'
58+ - |
59+ gcloud container clusters get-credentials ${PROJECT_ID} --region us-east1 --project ${PROJECT_ID} \
60+ && kubectl get pods -n dev --field-selector=status.phase!=Running -o name | xargs kubectl delete -n dev
61+ entrypoint : bash
5462 - name : gcr.io/cloud-builders/gcloud
5563 args :
5664 - ' -c'
You can’t perform that action at this time.
0 commit comments