Commit a3993fcd authored by Ninot Romain's avatar Ninot Romain
Browse files

Update .gitlab-ci.yml

parent 490eccea
......@@ -34,7 +34,7 @@ deploy:
- kubectl config set-context ${CONTEXT} --cluster=${CLUSTER} --user=${USER}
- kubectl config use-context ${CONTEXT}
- sed -i "s/latest/${CI_COMMIT_SHORT_SHA}/g" kube/deployment.yaml
- sed -i "s/template/${CI_PROJECT_NAME}-${CI_PROJECT_ID}/g" kube/deployment.yaml
- sed -i "s/project/${CI_PROJECT_NAME}-${CI_PROJECT_ID}/g" kube/deployment.yaml
- sed -i "s/template/${CI_PROJECT_NAME}-${CI_PROJECT_ID}/g" kube/service.yaml
- sed -i "s/template/${CI_PROJECT_NAME}-${CI_PROJECT_ID}/g" kube/ingress.yaml
- kubectl apply -f kube
......
Supports Markdown
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