1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

CI server: disable ssl connexion to mysql server.

git-svn-id: https://svn.redmine.org/redmine/trunk@22470 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2023-11-20 17:01:04 +00:00
parent b9a629cd25
commit 9e07e16bf1

View File

@ -59,7 +59,8 @@ file 'config/database.yml' do
when /(mysql|mariadb)/
dev_conf = {'adapter' => 'mysql2',
'database' => dev_db_name, 'host' => (ENV['CI_MYSQL_HOST'] || 'localhost'),
'encoding' => 'utf8'}
'encoding' => 'utf8',
'ssl_mode' => 'disabled'}
if ENV['RUN_ON_NOT_OFFICIAL']
dev_conf['username'] = 'root'
else