Browse Source

CI server: disable ssl connexion to mysql server.

git-svn-id: https://svn.redmine.org/redmine/trunk@22470 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/147/head
Jean-Philippe Lang 6 months ago
parent
commit
9e07e16bf1
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      lib/tasks/ci.rake

+ 2
- 1
lib/tasks/ci.rake 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

Loading…
Cancel
Save