Commit acc5b1f7 authored by Heverton Medeiros's avatar Heverton Medeiros
Browse files

Change deployment.apps name from mapas to web.

......@@ -30,7 +30,7 @@ deploy to homolog:
image: hacklab/kubectl:latest
script:
- echo ${kube_config} | base64 -d > ${KUBECONFIG}
- kubectl -n mapas-iberculturaviva-dev --record deployment.apps/mapas set image deployment.v1.apps/mapas mapas=$HOMOLOG_IMAGE
- kubectl -n mapas-iberculturaviva-dev --record deployment.apps/web set image deployment.v1.apps/web web=$HOMOLOG_IMAGE
only:
- /master/
environment: homolog
......@@ -58,7 +58,7 @@ deploy to production:
image: hacklab/kubectl:latest
script:
- echo ${kube_config} | base64 -d > ${KUBECONFIG}
- kubectl -n mapas-ibercultura-prod --record deployment.apps/mapas set image deployment.apps/mapas mapas=$RELEASE_IMAGE
- kubectl -n mapas-ibercultura-prod --record deployment.apps/web set image deployment.apps/web web=$RELEASE_IMAGE
only:
- tags
environment: production
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment