Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a744ee8
Bump to 15.12, 16.8, 17.4. Drop pg14
naisila Mar 12, 2025
660aa7a
Try permissions: write-all
naisila Mar 12, 2025
4dc2d11
Update Dockerfiles and PG_VERSIONS to include PostgreSQL 18 support
m3hm3t May 8, 2025
3bae8b2
Add PostgreSQL 18 support in Dockerfiles and PG_VERSIONS
m3hm3t May 8, 2025
c26fa4f
Add libpq5 dependency to multiple Dockerfiles
m3hm3t May 20, 2025
97620df
Remove libpq5 from multiple Dockerfiles and update installation to us…
m3hm3t May 20, 2025
3a07d7e
Update Dockerfile to install libpq5 alongside other PostgreSQL packages
m3hm3t May 20, 2025
e010aae
Add symlink for libpq and update loader cache in Dockerfiles
m3hm3t May 20, 2025
b4bff1e
Revert "Add symlink for libpq and update loader cache in Dockerfiles"
m3hm3t May 20, 2025
e158f05
Add symlink for libpq in multiple Dockerfiles
m3hm3t May 20, 2025
240746c
Remove symlink creation for libpq in Dockerfile
m3hm3t May 20, 2025
95ca2cc
Add --no-cache option to docker build for exttester
m3hm3t May 20, 2025
fb2c6fe
Update Dockerfile and Makefile to remove --no-cache option and copy h…
m3hm3t May 20, 2025
70285a8
Update Dockerfile to reinstall libpq5 and create symlink for libpq
m3hm3t May 20, 2025
d306281
Reinstall libpq5 and set LD_PRELOAD in Dockerfiles for extbuilder and…
m3hm3t May 21, 2025
b0e4c6e
Remove unnecessary installation of libpq5 and LD_PRELOAD environment …
m3hm3t May 21, 2025
aa7482a
Update PostgreSQL versions and remove symlink commands from Dockerfiles
m3hm3t May 21, 2025
8f3fd61
Update Dockerfile to install multiple Perl modules for TAP-based tests
m3hm3t Jul 14, 2025
2e90ce3
Update PostgreSQL version to 18~beta2 and remove testing repository f…
m3hm3t Jul 21, 2025
10272c2
Remove unnecessary blank lines in Dockerfiles for exttester and pgupg…
m3hm3t Jul 21, 2025
cd01549
Refactor Dockerfile to install IPC::Run without testing and remove un…
m3hm3t Jul 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-test-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
if: github.ref_name != 'master'
name: push-test-images-for-dev
runs-on: ubuntu-latest
permissions: write-all
needs:
- prepare_pgversion_matrix
strategy:
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
if: github.ref_name != 'master'
name: push-test-images-for-dev
runs-on: ubuntu-latest
permissions: write-all
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -85,6 +87,7 @@ jobs:
if: github.ref_name == 'master'
name: push-test-images-for-release
runs-on: ubuntu-latest
permissions: write-all
strategy:
fail-fast: false

Expand Down
7 changes: 4 additions & 3 deletions circleci/images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ STYLE_CHECKER_TOOLS_VERSION=0.8.18

# we should add more majors/citus versions when we address https://github.com/citusdata/citus/issues/4807
CITUS_UPGRADE_PG_VERSIONS=$(shell head -n1 PG_VERSIONS|cut -c 6-|tr '\n' ' ' )
# 10.2.0 is the oldest version supporting PG14, whereas 11.3.0 is for upgrade_pg_dist_cleanup tests
CITUS_UPGRADE_VERSIONS=v10.2.0 v11.3.0
# 11.1.0 is the oldest version supporting PG15, whereas 11.3.0 is for upgrade_pg_dist_cleanup tests
CITUS_UPGRADE_VERSIONS=v11.1.0 v11.3.0

# code below creates targets for all postgres versions in PG_VERSIONS
define make-image-targets
Expand Down Expand Up @@ -87,7 +87,8 @@ push-failtester-all:: push-failtester-$1
endef

# call make-image-targets($PG_VERSION, $PG_MAJOR) for every version in PG_VERSIONS
$(foreach element,$(PG_VERSIONS),$(eval $(call make-image-targets,$(element),$(shell echo $(element) | awk -F'[^0-9]*' '/[0-9]/ { print $$1 }'),$(shell echo $(element) | sed 's/~//'))))
#$(foreach element,$(PG_VERSIONS),$(eval $(call make-image-targets,$(element),$(shell echo $(element) | awk -F'[^0-9]*' '/[0-9]/ { print $$1 }'),$(shell echo $(element) | sed 's/~//'))))
$(foreach element,$(PG_VERSIONS),$(eval $(call make-image-targets,$(element),$(shell echo $(element)|awk -F'[^0-9]*' '/[0-9]/{print$$1}'),$(subst ~,,$(element)))))

define make-citus-upgrage-targets
# $1 = PG_VERSION
Expand Down
8 changes: 4 additions & 4 deletions circleci/images/PG_VERSIONS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PG14=14.14
PG15=15.9
PG16=16.5
PG17=17.1
PG15=15.13
PG16=16.9
PG17=17.5
PG18=18~beta2
2 changes: 1 addition & 1 deletion circleci/images/citusupgradetester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ apt-get update
pgdg_version=$(apt list -a postgresql-server-dev-${PG_MAJOR} 2>/dev/null | grep "${PG_VERSION}" | awk '{print $2}' | head -n1 )

apt-get install -y --no-install-recommends --allow-downgrades \
libpq-dev=${pgdg_version} \
libpq5=${pgdg_version} \
libpq-dev=${pgdg_version} \
postgresql-${PG_MAJOR}=${pgdg_version} \
postgresql-client-${PG_MAJOR}=${pgdg_version} \
postgresql-${PG_MAJOR}-dbgsym=${pgdg_version} \
Expand Down
2 changes: 1 addition & 1 deletion circleci/images/extbuilder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ apt-get update
pgdg_version=$(apt list -a postgresql-server-dev-${PG_MAJOR} 2>/dev/null | grep "${PG_VERSION}" | awk '{print $2}' | head -n1 )

apt-get install -y --no-install-recommends --allow-downgrades \
libpq-dev=${pgdg_version} \
libpq5=${pgdg_version} \
libpq-dev=${pgdg_version} \
postgresql-${PG_MAJOR}=${pgdg_version} \
postgresql-client-${PG_MAJOR}=${pgdg_version} \
postgresql-${PG_MAJOR}-dbgsym=${pgdg_version} \
Expand Down
4 changes: 1 addition & 3 deletions circleci/images/exttester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,8 @@ apt-get update
pgdg_version=$(apt list -a postgresql-server-dev-${PG_MAJOR} 2>/dev/null | grep "${PG_VERSION}" | awk '{print $2}' | head -n1 )

apt-get install -y --no-install-recommends --allow-downgrades \
libdbi-perl \
libdbd-pg-perl \
libpq-dev=${pgdg_version} \
libpq5=${pgdg_version} \
libpq-dev=${pgdg_version} \
postgresql-${PG_MAJOR}=${pgdg_version} \
postgresql-client-${PG_MAJOR}=${pgdg_version} \
postgresql-${PG_MAJOR}-dbgsym=${pgdg_version} \
Expand Down
2 changes: 1 addition & 1 deletion circleci/images/failtester/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ apt-get update
pgdg_version=$(apt list -a postgresql-server-dev-${PG_MAJOR} 2>/dev/null | grep "${PG_VERSION}" | awk '{print $2}' | head -n1 )

apt-get install -y --no-install-recommends --allow-downgrades \
libpq-dev=${pgdg_version} \
libpq5=${pgdg_version} \
libpq-dev=${pgdg_version} \
postgresql-${PG_MAJOR}=${pgdg_version} \
postgresql-client-${PG_MAJOR}=${pgdg_version} \
postgresql-${PG_MAJOR}-dbgsym=${pgdg_version} \
Expand Down