25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Github Actions: use MD5 pass encryption to support PostgreSQL 14 (#3691)

This commit is contained in:
Badlop 2021-10-07 16:23:11 +02:00
parent 1377dcf6d2
commit 964cb3aaca

View File

@ -52,6 +52,8 @@ jobs:
- name: Prepare databases - name: Prepare databases
run: | run: |
sudo sed -i 's|#password_encryption.*|password_encryption = md5|g' /etc/postgresql/14/main/postgresql.conf
sudo sed -i 's|scram-sha-256|md5|g' /etc/postgresql/14/main/pg_hba.conf
sudo systemctl start mysql.service sudo systemctl start mysql.service
sudo systemctl start postgresql.service sudo systemctl start postgresql.service
mysql -u root -proot -e "CREATE USER 'ejabberd_test'@'localhost' mysql -u root -proot -e "CREATE USER 'ejabberd_test'@'localhost'