feat: do not clone URLS and VHOST files to new apps

This follows the heroku pattern of ensuring applications are "freshly" created, routing-wise.

Closes #2740
This commit is contained in:
Jose Diaz-Gonzalez
2018-12-28 17:07:26 -05:00
parent 51dea4a220
commit 81542ef089
5 changed files with 33 additions and 5 deletions

View File

@@ -152,6 +152,12 @@ teardown () {
echo "output: $output"
echo "status: $status"
assert_success
run [ -d /home/dokku/great-test-name/tls ]
assert_failure
run [ -f /home/dokku/great-test-name/URLS ]
assert_failure
run [ -f /home/dokku/great-test-name/VHOST ]
assert_failure
run /bin/bash -c "curl --silent --write-out '%{http_code}\n' `dokku url $TEST_APP` | grep 200"
echo "output: $output"
echo "status: $status"