Skip to content

feat(db): upgrade the test database to PostgreSQL 18 - #470

Merged
pasibun merged 1 commit into
mainfrom
feat/db-test-pg18
Nov 25, 2026
Merged

pasibun merged 1 commit into
mainfrom
feat/db-test-pg18

Conversation

@othillo

@othillo othillo commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

In-place major upgrade of the test CNPG cluster (tn-don-db-test) from PostgreSQL 17 to 18; prod stays on 17. Part of https://gitlab.com/digilab.overheid.nl/miscellaneous/issues/-/work_items/1310.

@pasibun pasibun self-assigned this Nov 10, 2026
@pasibun
pasibun marked this pull request as ready for review November 25, 2026 07:28
@pasibun

pasibun commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Copilot AI commented Nov 25, 2026

Copy link
Copy Markdown

@copilot resolve the merge conflicts in this pull request

Resolved in merge commit 977d5da. Both database overlays build successfully; test remains on PostgreSQL 18 and production on 17.

Copilot AI requested a review from pasibun November 25, 2026 07:37
Set the catalog major to 18 in the test overlay only. CNPG does an
in-place major upgrade with pg_upgrade. The cluster already uses the trixie
test catalog, so the old and the new image have the same operating system.
Prod stays on 17 until someone checks the test upgrade.

The test cluster has no barman-cloud backup. The platform team makes a
VolumeSnapshot and a pg_dump before the merge. The test database is
unavailable for some minutes during the upgrade.

Part of https://gitlab.com/digilab.overheid.nl/miscellaneous/issues/-/work_items/1310.
@pasibun
pasibun merged commit 96edefc into main Nov 25, 2026
2 checks passed
@pasibun
pasibun deleted the feat/db-test-pg18 branch November 25, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants