feat: error out on Procfile extraction if the procfile is invalid
Refs #2991 Refs #3196
This commit is contained in:
@@ -117,4 +117,4 @@ teardown() {
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
assert_success
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user