Repository navigation
chore(deps): update postgres docker tag to v19 - #590
ccf-release-bot[bot] wants to merge 2 commits into
Conversation
|
🏭 Tracked by CCF Factory — view |
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
The 18+ postgres images keep PGDATA in /var/lib/postgresql/MAJOR/docker and their entrypoint refuses to start when /var/lib/postgresql/data is a mount. Mount the volume at /var/lib/postgresql instead, the layout docker-library recommends, so docker compose up works on postgres:19.0 (and 18.x).
|
📦 The factory checked this dependency bump: fixed, risk low. PG 19.0 breaks nothing we use (no inet/btree_gist, pg_trgm, fuzzystrmatch, json_array, postgres_fdw); CI was green anyway as tests pin postgres:17.5 via testcontainers. The break is the compose quickstart: 18+ postgres images keep PGDATA under /var/lib/postgresql/MAJOR/docker and reject a mount at /var/lib/postgresql/data (pre-existing since v18). I moved the volume to /var/lib/postgresql and verified PG 19.0 starts and migrate up passes; build, tests and integration pass; lint passes CI's gate (20 pre-existing full-tree findings on main); sandbox egress blocked the compose api image build.
Checks: build pass, tests pass, lint pass, integration pass. A person reviews and merges this PR: the factory added |
There was a problem hiding this comment.
ccf-review: APPROVE
no findings.
Verified at head ccee620 (packs core,go,repo/api; changed file docker-compose.yml):
- go build ./..., go vet ./..., gofmt -l . (clean), go test ./... — all pass.
- postgres:19.0 with the new mount (named volume at /var/lib/postgresql) starts and accepts connections; with the old mount (at /var/lib/postgresql/data) the 18+ entrypoint exits 1, so the second commit is required and in scope.
- docker compose config -q parses; go run . migrate up against a live PG 19.0 container passes (214 tables).
Notes (no findings): the compose quickstart on main was already broken since the 18.x bump (pre-existing, fixed here); CI tests pin postgres:17.5 via testcontainers and are unaffected; operators with a named volume initialized pre-18 need docker compose down -v once — same recovery the broken main already required.
This PR contains the following updates:
18.7→19.0Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.