mirror of
https://github.com/redmine/redmine.git
synced 2026-01-21 06:53:08 +01:00
Adds support for environment variable for CI postgresql host.
git-svn-id: https://svn.redmine.org/redmine/trunk@22468 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -69,7 +69,7 @@ file 'config/database.yml' do
|
||||
test_conf = dev_conf.merge('database' => test_db_name)
|
||||
when /postgresql/
|
||||
dev_conf = {'adapter' => 'postgresql', 'database' => dev_db_name,
|
||||
'host' => 'localhost'}
|
||||
'host' => (ENV['CI_PG_HOST'] || 'localhost')}
|
||||
if ENV['RUN_ON_NOT_OFFICIAL']
|
||||
dev_conf['username'] = 'postgres'
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user