ops: fix internal production host probes
This commit is contained in:
@@ -988,6 +988,8 @@ test("production runner validates state and migrations before switching exact im
|
||||
assert.match(runner, /pending migrations: run Migrate Production Database/);
|
||||
assert.doesNotMatch(runner, /--profile migration run --rm migrator/);
|
||||
assert.match(runner, /if \[ "\$VERIFICATION_MODE" = "public" \]/);
|
||||
assert.match(runner, /import http from "node:http"/);
|
||||
assert.match(runner, /http\.request\(\{[\s\S]*Host: new URL\(origin\)\.host/);
|
||||
assert.match(runner, /up -d --no-build api web/);
|
||||
assert.match(runner, /up -d --no-build --force-recreate --no-deps caddy/);
|
||||
assert.match(runner, /\["identity", "IDENTITY_DATABASE_URL"\]/);
|
||||
|
||||
Reference in New Issue
Block a user