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:
3 files changed
+3
-3
No files matched your search
@@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"WEB_CONCURRENCY": {
|
"WEB_CONCURRENCY": {
|
||||||
"description": "The number of processes to run.",
|
"description": "The number of processes to run.",
|
||||||
"generator": "echo 5"
|
"value": "5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"healthchecks": {
|
"healthchecks": {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
},
|
},
|
||||||
"WEB_CONCURRENCY": {
|
"WEB_CONCURRENCY": {
|
||||||
"description": "The number of processes to run.",
|
"description": "The number of processes to run.",
|
||||||
"generator": "echo 5"
|
"value": "5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"healthchecks": {
|
"healthchecks": {
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ teardown() {
|
|||||||
assert_success
|
assert_success
|
||||||
fi
|
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 "output: $output"
|
||||||
echo "status: $status"
|
echo "status: $status"
|
||||||
assert_success
|
assert_success
|
||||||
|
|||||||
Reference in new issue
Block a user