First stab at dokku run Procfile shorthand
This commit is contained in:
@@ -128,6 +128,16 @@ build_nginx_config() {
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "(core) run command from Procfile" {
|
||||
deploy_app
|
||||
run /bin/bash -c "dokku run $TEST_APP console -c 'echo hi' | tail -n 1"
|
||||
echo "output: "$output
|
||||
echo "status: "$status
|
||||
|
||||
assert_success
|
||||
assert_output "hi"
|
||||
}
|
||||
|
||||
@test "(core) port exposure (dockerfile raw port)" {
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
cat<<EOF > $DOCKERFILE
|
||||
|
||||
Reference in New Issue
Block a user