From b0e982d0b5e9b3f3cb1ca526ae8388b2576e6734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrkan=20=C4=B0ndibay?= Date: Tue, 19 Sep 2023 14:37:35 +0300 Subject: [PATCH] Removes centos 7 for PG 16 in packaging pipelines (#7205) centos 7 and oracle 7 is not being supported for newer releases by Postgres. Therefore, getting package download errors in packaging pipelines. This PR removes el/7 and ol/7 Postgres 16 pipelines --- .github/workflows/packaging-test-pipelines.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packaging-test-pipelines.yml b/.github/workflows/packaging-test-pipelines.yml index 356a590a4..9d3fb81be 100644 --- a/.github/workflows/packaging-test-pipelines.yml +++ b/.github/workflows/packaging-test-pipelines.yml @@ -44,12 +44,22 @@ jobs: # For this reason, we need to use a "matrix" to generate names of # rpm images, e.g. citus/packaging:centos-7-pg12 packaging_docker_image: - - oraclelinux-7 - oraclelinux-8 - - centos-7 - almalinux-8 - almalinux-9 POSTGRES_VERSION: ${{ fromJson(needs.get_postgres_versions_from_file.outputs.pg_versions) }} + # Postgres removed support for CentOS 7 in PG 16. Below block is needed to + # keep the build for CentOS 7 working for PG 14 and PG 15. + # Once dependent systems drop support for Centos 7, we can remove this block. + include: + - packaging_docker_image: centos-7 + POSTGRES_VERSION: 14 + - packaging_docker_image: centos-7 + POSTGRES_VERSION: 15 + - packaging_docker_image: oraclelinux-7 + POSTGRES_VERSION: 14 + - packaging_docker_image: oraclelinux-7 + POSTGRES_VERSION: 15 container: image: citus/packaging:${{ matrix.packaging_docker_image }}-pg${{ matrix.POSTGRES_VERSION }}