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

update pipeline

parent d57831ef
......@@ -7,12 +7,6 @@ stages:
- traffic
- teardown
labeling:
stage: prepare
script:
- NS=$(kubectl config view --output 'jsonpath={..namespace}')
- kubectl label ns $NS istio-injection=disabled --overwrite
secrets:
stage: prepare
script:
......@@ -43,10 +37,13 @@ space-services:
stage: deploy
when: manual
script:
- NS=$(kubectl config view --output 'jsonpath={..namespace}')
- kubectl label ns $NS istio-injection=disabled --overwrite
- |
for V in v1 v2 v3
for R in astros position data
do
for R in astros position data
ROLE=$R mo deploy/space-istio.yaml | kubectl delete -f - || true
for V in v1 v2 v3
do
ROLE=$R VERSION=$V mo deploy/space-dep.yaml | kubectl delete -f - || true
ROLE=$R VERSION=$V mo deploy/space-dep.yaml | kubectl apply -f -
......@@ -78,6 +75,8 @@ space-traffic:
stage: traffic
when: manual
script:
- NS=$(kubectl config view --output 'jsonpath={..namespace}')
- kubectl label ns $NS istio-injection=enabled --overwrite
- |
for R in astros position data
do
......
Supports Markdown
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