From 964cb3aacab94fcf88f4a445fcf9bc6b414b35fc Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 7 Oct 2021 16:23:11 +0200 Subject: [PATCH] Github Actions: use MD5 pass encryption to support PostgreSQL 14 (#3691) --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d498760be..7cafdfe67 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'