Fix container name reference for deploy command

In the pod, the container is not called frontend
This commit is contained in:
Sachi King 2017-08-08 18:35:07 +10:00
parent 5a97c93861
commit 7b58bfafa6

View file

@ -23,7 +23,7 @@ k8s-prod-deploy:
- gcloud config set project linuxconfsydney - gcloud config set project linuxconfsydney
- gcloud config set container/use_client_certificate True - gcloud config set container/use_client_certificate True
- gcloud container clusters get-credentials lca02 - gcloud container clusters get-credentials lca02
- kubectl --namespace=rego-prod set image deployment/symposion-app frontend=asia.gcr.io/linuxconfsydney/symposion_app:$CI_COMMIT_SHA - kubectl --namespace=rego-prod set image deployment/symposion-app symposion-app=asia.gcr.io/linuxconfsydney/symposion_app:$CI_COMMIT_SHA
when: manual when: manual
only: only:
- master - master