Commit 4e5a9f5
committed
ci: use shared postgres service for database tests
Replace spawning individual postgres clusters with a shared postgres
service container. This avoids the overhead of initdb and cluster
startup for each test session.
Changes:
- Add postgres:16 service to integration and check-downgrade jobs
- Switch TEST_DB_PROVIDER from 'postgres' to 'postgres-system'
- Add TEST_DB_PROVIDER_DSN environment variable for the service1 parent 9bd0dfa commit 4e5a9f5
1 file changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
252 | 266 | | |
253 | 267 | | |
254 | 268 | | |
| |||
258 | 272 | | |
259 | 273 | | |
260 | 274 | | |
261 | | - | |
| 275 | + | |
262 | 276 | | |
263 | 277 | | |
264 | 278 | | |
| |||
315 | 329 | | |
316 | 330 | | |
317 | 331 | | |
| 332 | + | |
318 | 333 | | |
319 | 334 | | |
320 | 335 | | |
| |||
341 | 356 | | |
342 | 357 | | |
343 | 358 | | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
344 | 373 | | |
345 | 374 | | |
346 | 375 | | |
| |||
360 | 389 | | |
361 | 390 | | |
362 | 391 | | |
363 | | - | |
| 392 | + | |
364 | 393 | | |
365 | 394 | | |
366 | 395 | | |
| |||
433 | 462 | | |
434 | 463 | | |
435 | 464 | | |
| 465 | + | |
436 | 466 | | |
437 | 467 | | |
438 | 468 | | |
| |||
0 commit comments