Commit fbcc33a9 authored by David Négrier's avatar David Négrier

Switching from wget to curl

parent 9be529ce
Pipeline #123023 passed with stages
in 5 minutes and 44 seconds
......@@ -87,7 +87,7 @@ deploy_prod:
- 'kubectl -n ${CI_PROJECT_PATH_SLUG}-${CI_COMMIT_REF_SLUG} delete secret tcmregistry || true'
- 'cd kubernetes'
- 'kubectl -n ${CI_PROJECT_PATH_SLUG}-${CI_COMMIT_REF_SLUG} create secret docker-registry tcmregistry --docker-username=ci.gitlab@thecodingmachine.com --docker-password=$CI_PASSWD --docker-server=git.thecodingmachine.com:444 --docker-email=ci.gitlab@thecodingmachine.com'
- wget -O /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/2.4.0/yq_linux_amd64"
- curl -fSL -o /usr/local/bin/yq "https://github.com/mikefarah/yq/releases/download/2.4.0/yq_linux_amd64"
- chmod +x /usr/local/bin/yq
- yq w ingress.yaml spec.rules[0].host thecodingmachine.io > ingress2.yaml
- yq w ingress2.yaml spec.tls[+].hosts[+] thecodingmachine.io > ingress3.yaml
......
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