revive deploy:all with deprecation warning

This commit is contained in:
Michael Hobbs
2015-01-15 10:47:21 -08:00
parent e760e1cc92
commit 40e628778b
3 changed files with 12 additions and 1 deletions

View File

@@ -9,3 +9,5 @@ ps:stop <app> Stop app container(s)
ps:restart <app> Restart app container(s)
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
dokku
View File

@@ -157,6 +157,12 @@ case "$1" in
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|'')
echo "Usage: dokku COMMAND <app> [command-specific-options]"
echo ""

View File

@@ -11,7 +11,10 @@ teardown() {
}
@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\""
echo "output: "$output
echo "status: "$status