Skip to content

Commit

Permalink
chore(ci): do not use deprecated methods for postgresql apt repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jan 28, 2025
1 parent 2b81945 commit 5a689ff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/apt-install
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ mkdir -p /run/user/1000
chown -R 1000:1000 /run/user/1000

# Add PostgreSQL repo
echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list
curl -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
install -d /usr/share/postgresql-common/pgdg
curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list

# Update package lists
apt-get update
Expand Down

0 comments on commit 5a689ff

Please sign in to comment.