fix(tests): adapt app.json fixtures and tini test for env processing
Pre-set LOCAL_DOMAIN in the tini test so mastodon's required env var resolves, and replace unsupported `generator: "echo 5"` with `value: "5"` in the nodejs-express and dockerfile fixtures so WEB_CONCURRENCY no longer aborts deploys via the new app.json env processor.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"WEB_CONCURRENCY": {
|
||||
"description": "The number of processes to run.",
|
||||
"generator": "echo 5"
|
||||
"value": "5"
|
||||
}
|
||||
},
|
||||
"healthchecks": {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
},
|
||||
"WEB_CONCURRENCY": {
|
||||
"description": "The number of processes to run.",
|
||||
"generator": "echo 5"
|
||||
"value": "5"
|
||||
}
|
||||
},
|
||||
"healthchecks": {
|
||||
|
||||
@@ -139,7 +139,7 @@ teardown() {
|
||||
assert_success
|
||||
fi
|
||||
|
||||
run /bin/bash -c "dokku config:set $TEST_APP SECRET_KEY_BASE=derp OTP_SECRET=1234"
|
||||
run /bin/bash -c "dokku config:set $TEST_APP SECRET_KEY_BASE=derp OTP_SECRET=1234 LOCAL_DOMAIN=dokku.me"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_success
|
||||
|
||||
Reference in New Issue
Block a user