Skip to content

Commit 9beeb3b

Browse files
Switch Docker image matrices to PostgreSQL 17/18 and adopt tools v0.8.39
Activates the PostgreSQL 18 image, retires PostgreSQL 16, and moves every workflow onto the tools tag that matches. Matrices (cron, on_push, on_tag) change postgres_16 -> postgres_18. The pg18 tag has never been published even though pkgvars has carried postgres_18_version since February; this closes that gap. PostgreSQL 16 is dropped because Citus no longer supports it, which is also why the nightly package builds have been failing on almalinux-8-pg16. The tools pin moves to v0.8.39 in all five workflows (four were on v0.8.38, update_version.yml was still on v0.8.36). This is not optional: v0.8.39 removes postgres_14, postgres_15 and postgres_16 from DockerImageType, so the pin bump and the matrix change have to land together or the postgres_16 job fails on an invalid enum value. postgres-18/Dockerfile moves from Citus 14.1.0 to 14.2.0 so the newly published pg18 tag matches latest and pg17 rather than shipping an older Citus. All three pinned packages are published for PostgreSQL 18: postgresql-18-citus-14.2=14.2.0.citus-1, postgresql-18-hll=2.21.citus-1 and postgresql-18-topn=2.7.1.citus-1. postgres_19 is deliberately not added to the matrices. PostgreSQL 19 is still 19beta3 and no postgresql-19-citus package exists, so the image cannot build yet. postgres-19/Dockerfile stays in the tree, unreferenced, and update_version.yml will refresh it on the next version bump now that the pin supports postgres19. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1ed7b58a-0ba9-4f47-a1de-3ee665bae7f2
1 parent f394ff5 commit 9beeb3b

8 files changed

Lines changed: 10 additions & 53 deletions

File tree

‎.github/workflows/publish_docker_images_cron.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- latest
2121
- alpine
2222
- postgres_17
23-
- postgres_16
23+
- postgres_18
2424
- nightly
2525
steps:
2626
- name: Checkout repository
@@ -33,7 +33,7 @@ jobs:
3333
uses: docker/setup-buildx-action@v3
3434

3535
- name: Clone tools branch
36-
run: git clone -b v0.8.38 --depth=1 https://github.com/citusdata/tools.git tools
36+
run: git clone -b v0.8.39 --depth=1 https://github.com/citusdata/tools.git tools
3737

3838
- name: Install package dependencies
3939
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

‎.github/workflows/publish_docker_images_on_manual.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: docker/setup-buildx-action@v3
3333

3434
- name: Clone tools branch
35-
run: git clone -b v0.8.38 --depth=1 https://github.com/citusdata/tools.git tools
35+
run: git clone -b v0.8.39 --depth=1 https://github.com/citusdata/tools.git tools
3636

3737
- name: Install package dependencies
3838
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

‎.github/workflows/publish_docker_images_on_push.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- latest
1919
- alpine
2020
- postgres_17
21-
- postgres_16
21+
- postgres_18
2222
- nightly
2323
steps:
2424
- name: Checkout repository
@@ -31,7 +31,7 @@ jobs:
3131
uses: docker/setup-buildx-action@v3
3232

3333
- name: Clone tools branch
34-
run: git clone -b v0.8.38 --depth=1 https://github.com/citusdata/tools.git tools
34+
run: git clone -b v0.8.39 --depth=1 https://github.com/citusdata/tools.git tools
3535

3636
- name: Install package dependencies
3737
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

‎.github/workflows/publish_docker_images_on_tag.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- latest
1919
- alpine
2020
- postgres_17
21-
- postgres_16
21+
- postgres_18
2222
- nightly
2323
steps:
2424
- name: Checkout repository
@@ -34,7 +34,7 @@ jobs:
3434
uses: docker/setup-buildx-action@v3
3535

3636
- name: Clone tools branch
37-
run: git clone -b v0.8.38 --depth=1 https://github.com/citusdata/tools.git tools
37+
run: git clone -b v0.8.39 --depth=1 https://github.com/citusdata/tools.git tools
3838

3939
- name: Install package dependencies
4040
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources

‎.github/workflows/update_version.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: sudo apt-get update && sudo apt install libcurl4-openssl-dev libssl-dev python3-testresources
4545

4646
- name: Clone tools branch
47-
run: git clone -b v0.8.36 --depth=1 https://github.com/citusdata/tools.git tools
47+
run: git clone -b v0.8.39 --depth=1 https://github.com/citusdata/tools.git tools
4848

4949
- name: Set git name and email
5050
run: |

‎pkgvars‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
postgres_19_version=19beta3
22
postgres_18_version=18.4
33
postgres_17_version=17.10
4-
postgres_16_version=16.14
54

‎postgres-16/Dockerfile‎

Lines changed: 0 additions & 42 deletions
This file was deleted.

‎postgres-18/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is auto generated from it's template,
22
# see citusdata/tools/packaging_automation/templates/docker/postgres-18/postgres-18.tmpl.dockerfile.
33
FROM postgres:18.4
4-
ARG VERSION=14.1.0
4+
ARG VERSION=14.2.0
55
LABEL maintainer="Citus Data https://citusdata.com" \
66
org.label-schema.name="Citus" \
77
org.label-schema.description="Scalable PostgreSQL for multi-tenant and real-time workloads" \
@@ -19,7 +19,7 @@ RUN apt-get update \
1919
ca-certificates \
2020
curl \
2121
&& curl -s https://install.citusdata.com/community/deb.sh | bash \
22-
&& apt-get install -y postgresql-$PG_MAJOR-citus-14.1=$CITUS_VERSION \
22+
&& apt-get install -y postgresql-$PG_MAJOR-citus-14.2=$CITUS_VERSION \
2323
postgresql-$PG_MAJOR-hll=2.21.citus-1 \
2424
postgresql-$PG_MAJOR-topn=2.7.1.citus-1 \
2525
&& apt-get purge -y --auto-remove curl \

0 commit comments

Comments
 (0)