filter incompatible docker option when building dockerfile vs herokuish apps. closes #1609

This commit is contained in:
Michael Hobbs
2015-11-24 11:13:50 -08:00
parent f188e6ff3d
commit 2c34a60a8d
4 changed files with 45 additions and 5 deletions

View File

@@ -160,3 +160,15 @@ teardown() {
echo "status: "$status
assert_success
}
@test "docker-options (dockerfile deploy with link)" {
run /bin/bash -c "dokku docker-options:add $TEST_APP deploy \"-v /var/tmp\""
echo "output: "$output
echo "status: "$status
assert_success
run /bin/bash -c "dokku docker-options:add $TEST_APP build \"--link postgres\""
echo "output: "$output
echo "status: "$status
assert_success
deploy_app dockerfile
}