diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-18 10:19:08 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-18 12:46:47 +0200 |
commit | e41a29b0c381458f789d62cfeb9ad94920f78804 (patch) | |
tree | a4fc62468ad98fdff7b475906acf4ef048c209a4 /config/initializers | |
parent | 1eb3dde45b55afb723954e577b7bd12946aeb3ca (diff) | |
download | gitlab-ce-e41a29b0c381458f789d62cfeb9ad94920f78804.tar.gz |
Allow to disable GitLab CI
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/1_settings.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index fe81ffd4205..274e3d409fb 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -178,6 +178,7 @@ Settings.gitlab['import_sources'] ||= ['github','bitbucket','gitlab','gitorious' # CI # Settings['gitlab_ci'] ||= Settingslogic.new({}) +Settings.gitlab_ci['enabled'] = true if Settings.gitlab_ci['enabled'].nil? Settings.gitlab_ci['all_broken_builds'] = true if Settings.gitlab_ci['all_broken_builds'].nil? Settings.gitlab_ci['add_pusher'] = false if Settings.gitlab_ci['add_pusher'].nil? Settings.gitlab_ci['url'] ||= Settings.send(:build_gitlab_ci_url) |