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 committed 2026-04-26 22:43:32 -04:00
1 parent 34c336c668
commit 3ba51725be
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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": {
+1 -1
View File
@@ -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": {
+1 -1
View File
@@ -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