Skip to content

Commit d6a6b35

Browse files
committed
Bump to 15.13, 16.9, 17.5 and drop pg14
- Write permissions on packages need to be specified - Latest libdbd-pg-perl version (3.18.0-1) has dep: libpq5 (>= 17~~) So, it fails when we want to install PG15 and PG16. Therefore we specify a version that includes all three (15, 16, 17)
1 parent 84c0cf8 commit d6a6b35

4 files changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/build-test-images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
if: github.ref_name != 'master'
2424
name: push-test-images-for-dev
2525
runs-on: ubuntu-latest
26+
permissions:
27+
packages: write
2628
needs:
2729
- prepare_pgversion_matrix
2830
strategy:
@@ -55,6 +57,8 @@ jobs:
5557
if: github.ref_name != 'master'
5658
name: push-test-images-for-dev
5759
runs-on: ubuntu-latest
60+
permissions:
61+
packages: write
5862
strategy:
5963
fail-fast: false
6064
matrix:
@@ -85,6 +89,8 @@ jobs:
8589
if: github.ref_name == 'master'
8690
name: push-test-images-for-release
8791
runs-on: ubuntu-latest
92+
permissions:
93+
packages: write
8894
strategy:
8995
fail-fast: false
9096

circleci/images/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ STYLE_CHECKER_TOOLS_VERSION=0.8.18
1818

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

2424
# code below creates targets for all postgres versions in PG_VERSIONS
2525
define make-image-targets

circleci/images/PG_VERSIONS

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
PG14=14.14
2-
PG15=15.9
3-
PG16=16.5
4-
PG17=17.1
1+
PG15=15.13
2+
PG16=16.9
3+
PG17=17.5

circleci/images/exttester/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pgdg_version=$(apt list -a postgresql-server-dev-${PG_MAJOR} 2>/dev/null | grep
164164

165165
apt-get install -y --no-install-recommends --allow-downgrades \
166166
libdbi-perl \
167-
libdbd-pg-perl \
167+
libdbd-pg-perl=3.16.3-1.pgdg110+1 \
168168
libpq-dev=${pgdg_version} \
169169
libpq5=${pgdg_version} \
170170
postgresql-${PG_MAJOR}=${pgdg_version} \

0 commit comments

Comments
 (0)