Skip to content
Snippets Groups Projects
Commit c1958105395b authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Use kubectl rollout status instead of kubectl wait

parent 8affb087cb5d
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@
deploy: push
sed "s@hub.extranet.logilab.fr/logilab/fresh@$(IMAGE)@" deploy/deployment.yaml | kubectl -n $(NAMESPACE) apply -f -
@echo "wait at max 3 minutes for deployment to be UP"
kubectl -n $(NAMESPACE) wait --for=condition=available --timeout=180s deployment/fresh deployment/fresh-scheduler
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/fresh
kubectl -n $(NAMESPACE) rollout status --timeout=180s deployment/fresh-scheduler
.PHONY: all build push run dev deploy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment