Skip to content

Commit

Permalink
Enable PG16 package tests
Browse files Browse the repository at this point in the history
Since TSDB 2.13.0, we create packages for PG16. This patch enables the
nightly package tests for this PostgreSQL version.
  • Loading branch information
jnidzwetzki committed Dec 4, 2023
1 parent 1843104 commit d39eb24
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/apt-arm-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: APT ARM64 packages
- '*'
branches:
- release_test
- trigger/package_test
jobs:
apt_tests:
name: APT ARM64 ${{ matrix.image }} PG${{ matrix.pg }}
Expand All @@ -17,7 +18,7 @@ jobs:
fail-fast: false
matrix:
image: [ "debian:10-slim","debian:11-slim","debian:12-slim","ubuntu:20.04","ubuntu:22.04"]
pg: [ 13, 14, 15 ]
pg: [ 13, 14, 15, 16 ]

steps:
- name: Setup emulation
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/apt-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: APT packages
- '*'
branches:
- release_test
- trigger/package_test
jobs:
apt_tests:
name: APT ${{ matrix.image }} PG${{ matrix.pg }} ${{ matrix.license }}
Expand All @@ -21,7 +22,7 @@ jobs:
fail-fast: false
matrix:
image: [ "debian:10-slim", "debian:11-slim", "debian:12-slim", "ubuntu:20.04", "ubuntu:22.04", "ubuntu:23.04" ]
pg: [ 13, 14, 15 ]
pg: [ 13, 14, 15, 16 ]
license: [ "TSL", "Apache"]
include:
- license: Apache
Expand Down Expand Up @@ -81,7 +82,8 @@ jobs:
fi
- name: Test Downgrade
if: matrix.image != 'ubuntu:23.04'
# TSB 2.13.0 is the first version with PG 16 support, so no downgrades are supported at the moment
if: matrix.pg != '16'
run: |
# Since this runs nightly on main we have to get the previous version
# from the last released version and not current branch.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/homebrew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: Homebrew
- '*'
branches:
- release_test
- trigger/package_test

jobs:
homebrew:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/rpm-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ name: RPM packages
- '*'
branches:
- release_test
- trigger/package_test

jobs:
rpm_tests:
Expand All @@ -20,11 +21,15 @@ jobs:
fail-fast: false
matrix:
image: [ "centos:centos7", "rockylinux:8", "rockylinux:9" ]
pg: [ 13, 14, 15 ]
pg: [ 13, 14, 15, 16 ]
license: [ "TSL", "Apache"]
include:
- license: Apache
pkg_suffix: "-oss"
exclude:
# PG 16 is not available on centos7
- image: centos:centos7
pg: 16

steps:
- name: Add postgres repositories
Expand Down Expand Up @@ -95,6 +100,8 @@ jobs:
fi
- name: Test Downgrade
# TSB 2.13.0 is the first version with PG 16 support, so no downgrades are supported at the moment
if: matrix.pg != '16'
run: |
# Since this runs nightly on main we have to get the previous version
# from the last released version and not current branch.
Expand Down

0 comments on commit d39eb24

Please sign in to comment.