mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
CI: Tell sqlcmd to trust server self-signed certificate
As explained in https://techcommunity.microsoft.com/t5/sql-server-blog/odbc-driver-18-0-for-sql-server-released/ba-p/3169228 Version 18.0 of the Microsoft ODBC Driver 18 for SQL Server has been released. BREAKING CHANGE - Default Encrypt to Yes/Mandatory.
This commit is contained in:
parent
47f1beca0c
commit
d5e030a638
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -68,8 +68,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare databases
|
- name: Prepare databases
|
||||||
run: |
|
run: |
|
||||||
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -U SA -P ejabberd_Test1 -S localhost -i /initdb_mssql.sql
|
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -C -U SA -P ejabberd_Test1 -S localhost -i /initdb_mssql.sql
|
||||||
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -U SA -P ejabberd_Test1 -S localhost -d ejabberd_test -i /mssql.sql
|
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -C -U SA -P ejabberd_Test1 -S localhost -d ejabberd_test -i /mssql.sql
|
||||||
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 DATABASE ejabberd_test;"
|
mysql -u root -proot -e "CREATE DATABASE ejabberd_test;"
|
||||||
@ -256,12 +256,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
[[ -d logs ]] && rm -rf logs
|
[[ -d logs ]] && rm -rf logs
|
||||||
[[ -d _build/test/logs ]] && rm -rf _build/test/logs || true
|
[[ -d _build/test/logs ]] && rm -rf _build/test/logs || true
|
||||||
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -U SA -P ejabberd_Test1 -S localhost -Q "drop database [ejabberd_test];"
|
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -C -U SA -P ejabberd_Test1 -S localhost -Q "drop database [ejabberd_test];"
|
||||||
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -U SA -P ejabberd_Test1 -S localhost -Q "drop login [ejabberd_test];"
|
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -C -U SA -P ejabberd_Test1 -S localhost -Q "drop login [ejabberd_test];"
|
||||||
mysql -u root -proot -e "DROP DATABASE ejabberd_test;"
|
mysql -u root -proot -e "DROP DATABASE ejabberd_test;"
|
||||||
sudo -u postgres psql -c "DROP DATABASE ejabberd_test;"
|
sudo -u postgres psql -c "DROP DATABASE ejabberd_test;"
|
||||||
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -U SA -P ejabberd_Test1 -S localhost -i /initdb_mssql.sql
|
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -C -U SA -P ejabberd_Test1 -S localhost -i /initdb_mssql.sql
|
||||||
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -U SA -P ejabberd_Test1 -S localhost -d ejabberd_test -i /mssql.new.sql
|
docker exec ejabberd-mssql /opt/mssql-tools18/bin/sqlcmd -C -U SA -P ejabberd_Test1 -S localhost -d ejabberd_test -i /mssql.new.sql
|
||||||
mysql -u root -proot -e "CREATE DATABASE ejabberd_test;"
|
mysql -u root -proot -e "CREATE DATABASE ejabberd_test;"
|
||||||
mysql -u root -proot -e "GRANT ALL ON ejabberd_test.*
|
mysql -u root -proot -e "GRANT ALL ON ejabberd_test.*
|
||||||
TO 'ejabberd_test'@'localhost';"
|
TO 'ejabberd_test'@'localhost';"
|
||||||
|
Loading…
Reference in New Issue
Block a user