Skip to content
Snippets Groups Projects
Commit 80d84ba9 authored by Thomas  MENARD's avatar Thomas MENARD
Browse files

Update .gitlab-ci.yml

parent 4f567315
No related branches found
No related tags found
1 merge request!1Update with a working example
......@@ -26,6 +26,7 @@ deploy:
- yum install -y gettext
- kubectl delete secret registry-gitlab -n ${NAMESPACE} --ignore-not-found=true
- kubectl create secret docker-registry -n ${NAMESPACE} registry-gitlab --docker-server=registry-gitlab.pasteur.fr --docker-username=${DEPLOY_USER} --docker-password=${DEPLOY_TOKEN} --docker-email=kubernetes@pasteur.fr
- envsubst < manifest.yaml
- envsubst < manifest.yaml | kubectl apply -f -
- kubectl patch deployment polls -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment