Repository navigation
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
42 lines (42 loc) · 1.64 KB
/
Copy pathdocker-compose.test.yml
File metadata and controls
42 lines (42 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Test matrix: the same collector suite runs against every supported major with
# pg_stat_statements preloaded. CI points PGBOT_TEST_DSN at each in turn and
# asserts: no collector errors, sections correctly marked unavailable where a
# capability is absent, non-zero TPS under load, blocking chains identified,
# no PII in JSON, < 5s wall time, and populated deltas on a second run.
services:
pg13:
image: postgres:13
command: ["-c", "shared_preload_libraries=pg_stat_statements"]
environment: { POSTGRES_PASSWORD: pgbot }
ports: ["55413:5432"]
pg14:
image: postgres:14
command: ["-c", "shared_preload_libraries=pg_stat_statements"]
environment: { POSTGRES_PASSWORD: pgbot }
ports: ["55414:5432"]
pg15:
image: postgres:15
command: ["-c", "shared_preload_libraries=pg_stat_statements"]
environment: { POSTGRES_PASSWORD: pgbot }
ports: ["55415:5432"]
pg16:
image: postgres:16
command: ["-c", "shared_preload_libraries=pg_stat_statements"]
environment: { POSTGRES_PASSWORD: pgbot }
ports: ["55416:5432"]
pg17:
image: postgres:17
command: ["-c", "shared_preload_libraries=pg_stat_statements"]
environment: { POSTGRES_PASSWORD: pgbot }
ports: ["55417:5432"]
pg18:
image: postgres:18
command: ["-c", "shared_preload_libraries=pg_stat_statements"]
environment: { POSTGRES_PASSWORD: pgbot }
ports: ["55418:5432"]
# A PG that deliberately has NO pg_stat_statements, to exercise graceful
# degradation (queries section marked unavailable, install hint emitted).
pg17_nopgss:
image: postgres:17
environment: { POSTGRES_PASSWORD: pgbot }
ports: ["55427:5432"]