Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
fresh
Commits
c1958105395b
Commit
80d1e480
authored
Sep 17, 2019
by
Philippe Pepiot
Browse files
Use kubectl rollout status instead of kubectl wait
parent
8affb087cb5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
c1958105
...
...
@@ -24,6 +24,7 @@ dev: build
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment