Bump postgres versions used in CI to 12.9, 13.5, 14.1

This commit is contained in:
Sven Klemm 2021-11-10 09:45:32 +01:00 committed by Sven Klemm
parent 509c2b99ab
commit e4ec15d881
7 changed files with 25 additions and 21 deletions

View File

@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
pg: ["12.8", "13.4", "14.0"]
pg: ["12.9", "13.5", "14.1"]
os: [ubuntu-20.04]
env:
PG_SRC_DIR: pgbuild

View File

@ -19,16 +19,16 @@ jobs:
strategy:
fail-fast: false
matrix:
pg: ["12.8","13.4","14.0"]
pg: ["12.9","13.5","14.1"]
build_type: [ Debug ]
include:
- pg: "12.8"
- pg: "12.9"
ignores: append-12 debug_notice transparent_decompression-12 transparent_decompress_chunk-12 plan_skip_scan-12 pg_dump
pg_major: 12
- pg: "13.4"
- pg: "13.5"
ignores: append-13 debug_notice transparent_decompression-13 transparent_decompress_chunk-13 pg_dump
pg_major: 13
- pg: "14.0"
- pg: "14.1"
ignores: append-14 debug_notice transparent_decompression-14 transparent_decompress_chunk-14 pg_dump
pg_major: 14

View File

@ -43,7 +43,7 @@ jobs:
matrix:
# "os" has to be in the matrix due to a bug in "env": https://github.community/t/how-to-use-env-context/16975
os: ["ubuntu-20.04"]
pg: ["12.8", "13.4", "14.0"]
pg: ["12.9", "13.5", "14.1"]
steps:
- name: Install Linux Dependencies
run: |

View File

@ -13,13 +13,13 @@ jobs:
runs-on: 'ubuntu-latest'
strategy:
matrix:
pg: ["12.8", "13.4", "14.0"]
pg: ["12.9", "13.5", "14.1"]
include:
- pg: 12.8
- pg: 12.9
pg_major: 12
- pg: 13.4
- pg: 13.5
pg_major: 13
- pg: 14.0
- pg: 14.1
pg_major: 14
fail-fast: false
env:
@ -50,13 +50,13 @@ jobs:
runs-on: 'ubuntu-latest'
strategy:
matrix:
pg: ["12.8", "13.4", "14.0"]
pg: ["12.9", "13.5", "14.1"]
include:
- pg: 12.8
- pg: 12.9
pg_major: 12
- pg: 13.4
- pg: 13.5
pg_major: 13
- pg: 14.0
- pg: 14.1
pg_major: 14
fail-fast: false
env:

View File

@ -17,11 +17,11 @@ jobs:
build_type: [ Debug, Release ]
include:
- pg: 12
pkg_version: 12.8.1
pkg_version: 12.9.1
- pg: 13
pkg_version: 13.4.1
pkg_version: 13.5.1
- pg: 14
pkg_version: 14.0.1
pkg_version: 14.1.1
build_args: -DUSE_OPENSSL=OFF
env:
# PostgreSQL configuration

View File

@ -205,7 +205,7 @@ test_script:
# killer. Therefore, we need to ignore the results of the
# remote_connection and remote_txn tests.
docker exec -e IGNORES="bgw_db_scheduler compression_algos continuous_aggs_bgw debug_notice ordered_append_join-12 remote_connection remote_txn " -e SKIPS="bgw_db_scheduler" -e TEST_TABLESPACE1_PREFIX="C:\Users\$env:UserName\Documents\tablespace1\" -e TEST_TABLESPACE2_PREFIX="C:\Users\$env:UserName\Documents\tablespace2\" -e TEST_SPINWAIT_ITERS=10000 -e USER=postgres -it pgregress /bin/bash -c "cd /timescaledb/build && make -k regresschecklocal-t regresschecklocal-shared"
docker exec -e IGNORES="bgw_db_scheduler compression_algos continuous_aggs_bgw debug_notice ordered_append_join-12 remote_connection" -e SKIPS="bgw_db_scheduler remote_txn" -e TEST_TABLESPACE1_PREFIX="C:\Users\$env:UserName\Documents\tablespace1\" -e TEST_TABLESPACE2_PREFIX="C:\Users\$env:UserName\Documents\tablespace2\" -e TEST_SPINWAIT_ITERS=10000 -e USER=postgres -it pgregress /bin/bash -c "cd /timescaledb/build && make -k regresschecklocal-t regresschecklocal-shared"
if( -not $? -or -not $TESTS1 ) { exit 1 }

View File

@ -21,10 +21,11 @@ import sys
event_type = sys.argv[1]
PG12_EARLIEST = "12.0"
PG12_LATEST = "12.8"
PG12_LATEST = "12.9"
PG13_EARLIEST = "13.2"
PG13_LATEST = "13.4"
PG14_LATEST = "14.0"
PG13_LATEST = "13.5"
PG14_EARLIEST = "14.0"
PG14_LATEST = "14.1"
m = {"include": [],}
@ -133,6 +134,9 @@ if event_type != "pull_request":
}
m["include"].append(build_debug_config(pg13_debug_earliest))
# add debug test for first supported PG14 version
m["include"].append(build_debug_config({"pg": PG14_EARLIEST}))
# add debug test for MacOS
m["include"].append(build_debug_config(macos_config({})))