summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2023-11-20 17:01:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2023-11-20 17:01:04 +0000
commit9e07e16bf1a31cff7aba0883bde2af7a6482a329 (patch)
tree488fc1eea66c37fcdab7034dbabd9ca454c56d2e
parentb9a629cd256705a0ab14d6000b1bd26c0a693b03 (diff)
downloadredmine-9e07e16bf1a31cff7aba0883bde2af7a6482a329.tar.gz
redmine-9e07e16bf1a31cff7aba0883bde2af7a6482a329.zip
CI server: disable ssl connexion to mysql server.
git-svn-id: https://svn.redmine.org/redmine/trunk@22470 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--lib/tasks/ci.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 80df61cc3..9800c226e 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -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