Commit 173462a2 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Fix NSing

parent d3e5f784
...@@ -64,8 +64,8 @@ space-svc: ...@@ -64,8 +64,8 @@ space-svc:
script: script:
- NS=$(kubectl config view -o jsonpath="{..namespace}") - NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=disabled --overwrite - kubectl label ns $NS istio-injection=disabled --overwrite
- ID=NS mo deploy/space-deploy+svc.yaml | kubectl delete -f - || true - ID=$NS mo deploy/space-deploy+svc.yaml | kubectl delete -f - || true
- ID=NS mo deploy/space-deploy+svc.yaml | kubectl apply -f - - ID=$NS mo deploy/space-deploy+svc.yaml | kubectl apply -f -
hiphop-svc: hiphop-svc:
stage: deploy stage: deploy
...@@ -73,14 +73,14 @@ hiphop-svc: ...@@ -73,14 +73,14 @@ hiphop-svc:
script: script:
- NS=$(kubectl config view -o jsonpath="{..namespace}") - NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=disabled --overwrite - kubectl label ns $NS istio-injection=disabled --overwrite
- ID=NS TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true - ID=$NS TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
- ID=NS TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true - ID=$NS TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
- ID=NS TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true - ID=$NS TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
- ID=NS TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true - ID=$NS TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - || true
- ID=NS TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f - - ID=$NS TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
- ID=NS TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f - - ID=$NS TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
- ID=NS TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f - - ID=$NS TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
- ID=NS TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f - - ID=$NS TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
cleanup: cleanup:
stage: teardown stage: teardown
......
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