revert automatically binding storage mounts in build phase. closes #2254

This commit is contained in:
Michael Hobbs
2016-06-20 11:39:08 -07:00
parent ed06b8961e
commit aa345fad01
4 changed files with 11 additions and 17 deletions

View File

@@ -38,18 +38,3 @@ teardown() {
assert_output "Mount path does not exist."
assert_failure
}
@test "(storage) storage:mount (dockerfile)" {
run /bin/bash -c "dokku storage:mount $TEST_APP /tmp/mount:/mount"
echo "output: "$output
echo "status: "$status
assert_success
deploy_app dockerfile
CID=$(< $DOKKU_ROOT/$TEST_APP/CONTAINER.web.1)
run /bin/bash -c "docker inspect -f '{{ .HostConfig.Binds }}' $CID"
echo "output: "$output
echo "status: "$status
assert_output "[/tmp/mount:/mount]"
}