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:
Jose Diaz-Gonzalez
2026-04-26 04:32:10 -04:00
parent 34c336c668
commit 3ba51725be
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
},
"WEB_CONCURRENCY": {
"description": "The number of processes to run.",
"generator": "echo 5"
"value": "5"
}
},
"healthchecks": {

View File

@@ -16,7 +16,7 @@
},
"WEB_CONCURRENCY": {
"description": "The number of processes to run.",
"generator": "echo 5"
"value": "5"
}
},
"healthchecks": {

View File

@@ -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