Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rogge, Torben
lab-k8s
Commits
ac5870ef
Commit
ac5870ef
authored
Nov 12, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
b7452420
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ac5870ef
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment