fix: connect Page Data sandbox to user PostgreSQL
Memind CI / Test, build, and release guards (pull_request) Failing after 15m29s
Memind CI / Test, build, and release guards (pull_request) Failing after 15m29s
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs';
|
||||
|
||||
const releaseScript = fs.readFileSync(
|
||||
new URL('./scripts/release-portal-runtime-prod.sh', import.meta.url),
|
||||
'utf8',
|
||||
);
|
||||
|
||||
test('103 release preflight checks host and container access to the user-space PostgreSQL', () => {
|
||||
assert.match(releaseScript, /MINDSPACE_USERDATA_PG_URL/);
|
||||
assert.match(releaseScript, /user-space PostgreSQL URL cannot execute SELECT 1/);
|
||||
assert.match(releaseScript, /host\.docker\.internal/);
|
||||
assert.match(releaseScript, /port: 5433/);
|
||||
assert.match(releaseScript, /cannot reach user-space PostgreSQL/);
|
||||
});
|
||||
Reference in New Issue
Block a user