feat: error out on Procfile extraction if the procfile is invalid

Refs #2991
Refs #3196
This commit is contained in:
Jose Diaz-Gonzalez
2018-07-29 13:01:28 -04:00
parent aeeb2e138f
commit 2db8f93507
10 changed files with 72 additions and 2 deletions

View File

@@ -117,4 +117,4 @@ teardown() {
echo "output: "$output
echo "status: "$status
assert_success
}
}

View File

@@ -166,6 +166,13 @@ teardown() {
done
}
@test "(ps) dockerfile with bad procfile" {
deploy_app dockerfile-procfile
echo "output: "$output
echo "status: "$status
assert_failure
}
@test "(ps:scale) dockerfile with procfile" {
run bash -c "dokku ps:scale $TEST_APP web=2 worker=2"
echo "output: "$output
@@ -225,4 +232,3 @@ teardown() {
assert_success
done
}