From 18b7d602d0dbe7641eb74ad6c5df316cb663882f Mon Sep 17 00:00:00 2001 From: Feike Steenbergen Date: Mon, 27 Nov 2023 09:32:32 +0100 Subject: [PATCH] Skip PostgreSQL 12 by default for CICD TimescaleDB 2.13.0 does not support PostgreSQL 12 anymore. This currently causes our CI to fail. To still be able to test PostgreSQL 12, we will run it if the TimescaleDB tag is set to 2.11.2 https://docs.timescale.com/about/latest/release-notes/#timescaledb-2120-on-2023-09-27 --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f783bd98..f79aaabb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,6 +80,14 @@ jobs: os: centos version: "7" pgversion: 16 + # TimescaleDB as of 2.12.0 no longer supports PostgreSQL 12. + # To allow us to do run CI against PostgreSQL 12, we therefore explicitly + # remove all CI's, except if we are run against the latest supported TimescaleDB + # version for PostgreSQL 12, which is 2.11.2 + - pgversion: 12 + include: + - pgversion: 12 + inputs.tsdb-commit: '2.11.2' env: # TODO Why? Cargo default is to pass `-C incremental` to rustc; why don't we want that? # https://doc.rust-lang.org/rustc/codegen-options/index.html#incremental