Еще одна попытка установить 15 постгресс
Some checks failed
Run Tests / run_tests (push) Failing after 42s
Some checks failed
Run Tests / run_tests (push) Failing after 42s
This commit is contained in:
parent
8220d23a72
commit
fd4e93d34a
@ -20,11 +20,11 @@ jobs:
|
||||
|
||||
- name: Configure and install postgres
|
||||
run: |
|
||||
apt update
|
||||
apt install -y locales
|
||||
locale-gen ru_RU.UTF-8
|
||||
locale-gen en_US.UTF-8
|
||||
apt install -y postgresql-15
|
||||
sudo apt-get install wget ca-certificates
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
||||
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
|
||||
sudo apt-get update
|
||||
sudo apt-get install postgresql postgresql-contrib
|
||||
service postgresql start
|
||||
sudo -u postgres -s psql -U postgres -d postgres -c "alter user postgres with password 'postgres'; SELECT version();"
|
||||
sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres' ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8' TEMPLATE = template0"
|
||||
|
Loading…
Reference in New Issue
Block a user