summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-10-07 16:23:11 +0200
committerBadlop <badlop@process-one.net>2021-10-07 16:54:27 +0200
commit964cb3aacab94fcf88f4a445fcf9bc6b414b35fc (patch)
treefe9fdeb8a82c06934c9c29b3cecfbf2a1614476f /.github
parentmod_mam: Declare XEP-0441 support (diff)
Github Actions: use MD5 pass encryption to support PostgreSQL 14 (#3691)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d498760b..7cafdfe6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -52,6 +52,8 @@ jobs:
- name: Prepare databases
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 postgresql.service
mysql -u root -proot -e "CREATE USER 'ejabberd_test'@'localhost'