Repository navigation
Commit 3d6a8b1
Add PostgreSQL 19 support, drop PostgreSQL 16 (#423)
* Add PostgreSQL 19 support, drop PostgreSQL 16
Retarget the Docker image automation to the PG 17/18/19 window for
Citus 15.0.0, and bump the hll/topn extension pins to 2.21.citus-1 /
2.7.1.citus-1 across the docker templates and the live test images.
- update_docker.py / publish_docker.py: postgres16 -> postgres19
- templates/docker: add postgres-19, delete postgres-14/15/16
- latest.tmpl.dockerfile: bump stale hll 2.17 / topn 2.5.0 pins, which
would otherwise break the `latest` image now that it tracks PG19
- test-images: bump hll/topn on the 8 non-EOL distros
- package-tests.yml: 14.1.0 -> 15.0.0
Also fixes two latent bugs that block the PG19 rollout:
1. update_docker.py used `git add --update .`, which stages only tracked
files, so a newly generated image directory was never committed. This
is why postgres-18/ and the pg18 Docker Hub tag do not exist today
despite the script generating them. Now uses `git add -A .`.
2. citus_package.py built the nightly PG list by filtering
`release_versions` instead of `nightly_versions`, so any nightly
exclusion would silently emit release versions. Dormant only because
the nightly exclusion map is currently empty; packaging is about to
populate it for el/8 on PG19. The ol/7 unit test asserted the buggy
output and has been corrected.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1ed7b58a-0ba9-4f47-a1de-3ee665bae7f2
* Sync latest/alpine docker templates with citusdata/docker
The latest and alpine templates had drifted behind the docker repo, so
every release run silently reverted manual fixes made there:
- alpine: clang/llvm -> clang21/llvm21 (c9917b8, re-applied in 75bc0c2).
Alpine has no unversioned llvm package, so reverting this would break
the PG19 alpine build.
- latest: back-port the hadolint hardening from b47008b (SHELL pipefail,
pinned =* apt specs, --no-install-recommends, quoted package specs,
sed merged into the chmod RUN).
Both templates now render byte-identical to the committed docker files.
The latest template gained one line, so its line-index assertions in
test_update_docker.py were adjusted accordingly.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1ed7b58a-0ba9-4f47-a1de-3ee665bae7f2
* Fix CI: alpine test fixture and package-tests fallback version
Two CI regressions from this branch:
1. dbe5abd synced the alpine docker template with citusdata/docker,
bumping clang/llvm to clang21/llvm21. test_process_template_file
compares the rendered template byte-for-byte against
expected_alpine_10.0.3.txt, so the fixture needs the same change.
2. The package-tests.yml fallback was bumped from 14.1.0 to 15.0.0,
but Citus 15.0.0 is not released yet, so every test_execution job
failed on "No match for argument: citus150_<pg>-15.0.0.citus-1".
Reverted to 14.1.0. The bump is not needed for PostgreSQL 19
support: 15.0.0 currently resolves to the same [16, 17, 18] matrix
as 14.1.0, because packaging's postgres-matrix.yml has no 15.0
entry yet. Both should be updated together when Citus 15.0 ships.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1ed7b58a-0ba9-4f47-a1de-3ee665bae7f2
---------
Co-authored-by: Ibrahim Halatci <ihalatci@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1ed7b58a-0ba9-4f47-a1de-3ee665bae7f21 parent 62a4613 commit 3d6a8b1
22 files changed
Lines changed: 93 additions & 187 deletions
File tree
- packaging_automation
- templates/docker
- alpine
- latest
- postgres-14
- postgres-15
- postgres-17
- postgres-18
- postgres-19
- tests
- files/verify
- test-images
- almalinux-9
- centos-8
- debian-bookworm
- debian-bullseye
- debian-trixie
- ol-9
- ubuntu-jammy
- ubuntu-noble
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 59 | | |
77 | 60 | | |
78 | 61 | | |
| |||
83 | 66 | | |
84 | 67 | | |
85 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
86 | 74 | | |
87 | 75 | | |
88 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | | - | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | 42 | | |
42 | 43 | | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments