chore: remove all deprecated commands

This change removes all deprecated commands. In many cases, users have been warned for a number of releases before the commands have been removed. All commands that were removed have existing alternatives.
This commit is contained in:
Jose Diaz-Gonzalez
2020-02-10 05:04:19 -05:00
parent 0c388615cc
commit 848373def5
37 changed files with 292 additions and 415 deletions

View File

@@ -13,10 +13,17 @@ teardown() {
}
@test "(trace) trace:help" {
run /bin/bash -c "dokku trace"
echo "output: $output"
echo "status: $status"
assert_output_contains "Manage trace mode"
help_output="$output"
run /bin/bash -c "dokku trace:help"
echo "output: $output"
echo "status: $status"
assert_output_contains "Manage trace mode"
assert_output "$help_output"
}
@test "(trace) trace:on" {
@@ -31,18 +38,6 @@ teardown() {
assert_success
}
@test "(trace) trace on" {
run /bin/bash -c "dokku trace on"
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "test -f $DOKKU_ROOT/.dokkurc/DOKKU_TRACE"
echo "output: $output"
echo "status: $status"
assert_success
}
@test "(trace) trace:off, trace off" {
touch "$DOKKU_ROOT/.dokkurc/DOKKU_TRACE"
run /bin/bash -c "dokku trace:off"
@@ -50,18 +45,6 @@ teardown() {
echo "status: $status"
assert_success
run /bin/bash -c "test -f $DOKKU_ROOT/.dokkurc/DOKKU_TRACE"
echo "output: $output"
echo "status: $status"
assert_failure
touch "$DOKKU_ROOT/.dokkurc/DOKKU_TRACE"
run /bin/bash -c "dokku trace off"
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "test -f $DOKKU_ROOT/.dokkurc/DOKKU_TRACE"
echo "output: $output"
echo "status: $status"