ci(postgres): Fix pg_dump version mismatch by upgrading to v18
This commit is contained in:
parent
0bff72ed17
commit
675be42169
2 changed files with 8 additions and 2 deletions
8
.github/actions/setup/action.yml
vendored
8
.github/actions/setup/action.yml
vendored
|
|
@ -101,9 +101,15 @@ runs:
|
||||||
# Install System Dependencies
|
# Install System Dependencies
|
||||||
start_time=$(date +%s)
|
start_time=$(date +%s)
|
||||||
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash
|
curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash
|
||||||
|
|
||||||
|
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||||
|
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
||||||
|
|
||||||
sudo apt -qq update
|
sudo apt -qq update
|
||||||
sudo apt -qq remove mysql-server mysql-client
|
sudo apt -qq remove mysql-server mysql-client
|
||||||
sudo apt -qq install libcups2-dev redis-server mariadb-client libmariadb-dev postgresql-client libpq-dev
|
sudo apt -qq remove -y postgresql-client postgresql-client-16 postgresql-client-common
|
||||||
|
sudo apt -qq install libcups2-dev redis-server mariadb-client libmariadb-dev postgresql-client-18 libpq-dev
|
||||||
|
echo "/usr/lib/postgresql/18/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
wget -q -O /tmp/wkhtmltox.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
|
wget -q -O /tmp/wkhtmltox.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.jammy_amd64.deb
|
||||||
sudo apt install /tmp/wkhtmltox.deb
|
sudo apt install /tmp/wkhtmltox.deb
|
||||||
|
|
|
||||||
2
.github/workflows/_base-server-tests.yml
vendored
2
.github/workflows/_base-server-tests.yml
vendored
|
|
@ -66,7 +66,7 @@ jobs:
|
||||||
index: ${{ fromJson(needs.gen-idx-integration.outputs.indices) }}
|
index: ${{ fromJson(needs.gen-idx-integration.outputs.indices) }}
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:17.0
|
image: postgres:18.0
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue