mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 21:33:19 +00:00
ci(postgres): restore with the 18 client tools the image ships
The backup round trip now runs with pg_restore 18 against both lane servers, so a setting an older server does not know fails the lane.
This commit is contained in:
@@ -757,6 +757,15 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
retention-days: 14
|
||||
|
||||
# The image ships the 18 client tools, which write settings a 14 server
|
||||
# does not know; the backup round trip runs with the same tools here.
|
||||
- name: Install the PostgreSQL 18 client tools
|
||||
run: |
|
||||
set -euo pipefail
|
||||
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y >/dev/null
|
||||
sudo apt-get install -y --no-install-recommends postgresql-client-18 >/dev/null
|
||||
/usr/lib/postgresql/18/bin/pg_restore --version
|
||||
|
||||
- name: Run the Postgres lane
|
||||
if: ${{ !cancelled() }}
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user