Commit 301aa9e0 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Fix pipeline

parent a8ffcb65
...@@ -14,7 +14,7 @@ kibana: ...@@ -14,7 +14,7 @@ kibana:
stage: prepare stage: prepare
script: script:
- helm repo add elastic https://helm.elastic.co - helm repo add elastic https://helm.elastic.co
- helm install kibana elastic/kibana --set elasticsearchHosts=$ES_HOST - helm install kibana elastic/kibana --set elasticsearchHosts=$ES_HOST || true
hiphop-container: hiphop-container:
stage: build stage: build
...@@ -82,16 +82,16 @@ hiphop: ...@@ -82,16 +82,16 @@ hiphop:
- TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f - - TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
- TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f - - TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
shutdown: cleanup:
stage: teardown stage: teardown
when: manual when: manual
script: script:
- NS=$(kubectl config view -o jsonpath="{..namespace}") - NS=$(kubectl config view -o jsonpath="{..namespace}")
- kubectl label ns $NS istio-injection=disabled --overwrite
- TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - - TIER=1 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - - TIER=2 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - - TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f - - TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl delete -f -
- kubectl delete -f deploy/space-deploy+svc.yaml - kubectl delete -f deploy/space-deploy+svc.yaml
- kubectl delete -f deploy/tracing.yaml - helm uninstall kibana
- kubectl label ns $NS istio-injection=disabled --overwrite
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