@@ -19,11 +19,11 @@ jobs:
1919 name : RPM ${{ matrix.image }} PG${{ matrix.pg }} ${{ matrix.license }}
2020 runs-on : ubuntu-latest
2121 container :
22- image : ${{ matrix.image }}
22+ image : rockylinux/ ${{ matrix.image }}
2323 strategy :
2424 fail-fast : false
2525 matrix :
26- image : [ "rockylinux:8", "rockylinux:9" ]
26+ image : [ "rockylinux:8", "rockylinux:9", "rockylinux:10" ]
2727 pg : [ 15, 16, 17, 18 ]
2828 license : [ "TSL", "Apache"]
2929 include :
3232 exclude :
3333 - image : " rockylinux:8"
3434 pg : 18
35+ - image : " rockylinux:10"
36+ pg : 15
37+
3538
3639 steps :
3740 - name : Add postgres repositories
5659 run : |
5760 yum update -y
5861 if [[ "$(rpm -E %{rhel})" -eq "8" ]]; then dnf -qy module disable postgresql; fi
59- yum install -y timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }} sudo wget jq
62+ yum install -y --exclude='postgresql,postgresql-server,postgresql-private-libs,postgresql-libs' timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }} sudo wget jq
6063 sudo -u postgres /usr/pgsql-${{ matrix.pg }}/bin/initdb -D /var/lib/pgsql/${{ matrix.pg }}/data
6164 timescaledb-tune --quiet --yes --pg-config /usr/pgsql-${{ matrix.pg }}/bin/pg_config
6265
9093 fi
9194
9295 - name : Test Downgrade
93- if : matrix.pg != '18' # pg18 only has 1 version so downgrade is not possible
96+ # 2.27.0 is the first release for rockylinux 10 so we can't test downgrades on it.
97+ # we can remove the condition with 2.27.1 release
98+ if : matrix.image != 'rockylinux:10'
9499 run : |
95100 # Since this runs nightly on main we have to get the previous version
96101 # from the last released version and not current branch.
@@ -107,12 +112,12 @@ jobs:
107112 fi
108113
109114 - name : Install toolkit
110- if : matrix.pg != 17 && matrix. image != 'rockylinux:9' # timescaledb-toolkit currently not available for PG17 and Rocky9
115+ if : matrix.image == 'rockylinux:8'
111116 run : |
112117 yum install -y timescaledb-toolkit-postgresql-${{ matrix.pg }}
113118
114119 - name : List available toolkit versions
115- if : matrix.pg != 17 && matrix. image != 'rockylinux:9' # timescaledb-toolkit currently not available for PG17 and Rocky9
120+ if : matrix.image == 'rockylinux:8'
116121 run : |
117122 yum --showduplicates list timescaledb-toolkit-postgresql-${{ matrix.pg }}
118123
0 commit comments