Commit 55928de6 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Idempotent deployment

parent f4ea3d6e
......@@ -40,6 +40,12 @@ space-container:
space-services:
stage: deploy
script:
- ROLE=data mo deploy/space-dep.yaml | kubectl delete -f - || true
- ROLE=astros mo deploy/space-dep.yaml | kubectl delete -f - || true
- ROLE=position mo deploy/space-dep.yaml | kubectl delete -f - || true
- ROLE=data mo deploy/space-svc.yaml | kubectl delete -f - || true
- ROLE=astros mo deploy/space-svc.yaml | kubectl delete -f - || true
- ROLE=position mo deploy/space-svc.yaml | kubectl delete -f - || true
- ROLE=data mo deploy/space-dep.yaml | kubectl apply -f -
- ROLE=astros mo deploy/space-dep.yaml | kubectl apply -f -
- ROLE=position mo deploy/space-dep.yaml | kubectl apply -f -
......
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