Commit ac5870ef authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

parent b7452420
...@@ -59,10 +59,11 @@ deploy-prime: ...@@ -59,10 +59,11 @@ deploy-prime:
name: $KUBECTL name: $KUBECTL
entrypoint: [""] entrypoint: [""]
script: script:
- echo $GITLAB_USER_ID.loki.th-luebeck.dev - echo prime-$GITLAB_USER_ID.loki.th-luebeck.dev
- wget -q https://github.com/mikefarah/yq/releases/download/3.4.0/yq_linux_amd64 -O ./yq && chmod +x yq - wget -q https://github.com/mikefarah/yq/releases/download/3.4.0/yq_linux_amd64 -O ./yq && chmod +x yq
- ./yq w -i deploy/prime/prime-ingress.yaml spec.rules[0].host $GITLAB_USER_NAME.loki.th-luebeck.dev - ./yq --help
- ./yq w -i deploy/prime/prime-ingress.yaml spec.tls[0].hosts[0] $GITLAB_USER_NAME.loki.th-luebeck.dev - ./yq w -i deploy/prime/prime-ingress.yaml spec.rules[0].host prime-$GITLAB_USER_ID.loki.th-luebeck.dev
- ./yq w -i deploy/prime/prime-ingress.yaml spec.tls[0].hosts[0] prime-$GITLAB_USER_ID.loki.th-luebeck.dev
- kubectl delete -f deploy/prime || true - kubectl delete -f deploy/prime || true
- kubectl apply -f deploy/prime - kubectl apply -f deploy/prime
......
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