Skip to content

Commit

Permalink
feat: update postgres installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon committed Mar 4, 2024
1 parent c4b09da commit 83912c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image: python:3.8

services:
- postgres:11
- postgres:16

variables:
POSTGRES_DB: sodar_core
Expand Down
4 changes: 2 additions & 2 deletions utility/install_postgres.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash

echo "***********************************************"
echo "Installing PostgreSQL v11"
echo "Installing PostgreSQL v16"
echo "***********************************************"
add-apt-repository -y "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main"
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
apt-get -y update
apt-get -y install postgresql-11
apt-get -y install postgresql-16

0 comments on commit 83912c9

Please sign in to comment.