extract first port from Dockerfile and set config variable for use in deploy phase. closes #993

This commit is contained in:
Michael Hobbs committed 2015-03-19 07:54:45 -07:00
1 parent fafa33e40d
commit 2834ce1f1a
4 files changed
+16 -3

No files matched your search

+8
View File
@@ -108,3 +108,11 @@ teardown() {
echo "status: "$status
assert_success
}
@test "dockerfile port exposure" {
deploy_app dockerfile
run bash -c "grep upstream $DOKKU_ROOT/$TEST_APP/nginx.conf | grep 3000"
echo "output: "$output
echo "status: "$status
assert_success
}