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

Fix pipeline

parent a8ffcb65
......@@ -14,7 +14,7 @@ kibana:
stage: prepare
script:
- 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:
stage: build
......@@ -82,16 +82,16 @@ hiphop:
- TIER=3 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
- TIER=4 mo deploy/hiphop-deploy+svc.yaml | kubectl apply -f -
shutdown:
cleanup:
stage: teardown
when: manual
script:
- 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=2 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 -
- kubectl delete -f deploy/space-deploy+svc.yaml
- kubectl delete -f deploy/tracing.yaml
- kubectl label ns $NS istio-injection=disabled --overwrite
- helm uninstall kibana
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