revive deploy:all with deprecation warning

This commit is contained in:
Michael Hobbs committed 2015-01-15 15:43:03 -08:00
1 parent e760e1cc92
commit 40e628778b
3 files changed
+12 -1

No files matched your search

+2
View File
@@ -9,3 +9,5 @@ ps:stop <app> Stop app container(s)
ps:restart <app> Restart app container(s) ps:restart <app> Restart app container(s)
ps:restartall Restart all deployed app containers ps:restartall Restart all deployed app containers
``` ```
*NOTE*: As of v0.3.14, `dokku deploy:all` in now deprecated by `ps:restartall` and will be removed in a future version.
+6
View File
@@ -157,6 +157,12 @@ case "$1" in
pluginhook update pluginhook update
;; ;;
# DEPRECATED as of v0.3.14
deploy:all)
echo "*DEPRECATED* in v0.3.14: deploy:all will be removed in future versions"
dokku ps:restartall
;;
help|'') help|'')
echo "Usage: dokku COMMAND <app> [command-specific-options]" echo "Usage: dokku COMMAND <app> [command-specific-options]"
echo "" echo ""
+4 -1
View File
@@ -11,7 +11,10 @@ teardown() {
} }
@test "ps" { @test "ps" {
skip "circleci does not support docker exec at the moment" # CI support: 'Ah. I just spoke with our Docker expert --
# looks like docker exec is built to work with docker-under-libcontainer,
# but we're using docker-under-lxc. I don't have an estimated time for the fix, sorry
skip "circleci does not support docker exec at the moment."
run bash -c "dokku ps $TEST_APP | grep -q \"node web.js\"" run bash -c "dokku ps $TEST_APP | grep -q \"node web.js\""
echo "output: "$output echo "output: "$output
echo "status: "$status echo "status: "$status