[chore/testing] Add env vars to skip testrig setup/teardown (#4317)

Add flags to skip local testrig db setup and teardown, to allow somewhat easier testing of migrations. Documents env vars available to the testrig.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4317
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
tobi 2025-07-09 17:25:45 +02:00 committed by tobi
commit 352353ce7a
8 changed files with 126 additions and 6 deletions

View file

@ -176,6 +176,8 @@ EXPECT=$(cat << "EOF"
"protocol": "http",
"remote-only": false,
"request-id-header": "X-Trace-Id",
"skip-db-setup": false,
"skip-db-teardown": false,
"smtp-disclose-recipients": true,
"smtp-from": "queen.rip.in.piss@terfisland.org",
"smtp-host": "example.com",