Commit ef6cae09 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Issue a rollout restart every day to ensure using latest image

parent 45c97a64c3c8
......@@ -23,6 +23,7 @@ dev: build
deploy: push
sed "$(IMAGE)@" deploy/deployment.yaml | kubectl -n $(NAMESPACE) apply -f -
kubectl -n $(NAMESPACE) rollout restart deployment/intranet deployment/intranet-scheduler
@echo "wait at max 3 minutes for deployment to be UP"
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/intranet
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/intranet-scheduler
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