gitlab-org--gitlab-foss/config
Timothy Andrew 15dba34c9a Add Omniauth OAuth config to the test section of gitlab.yml
- I tried to get this to work by stubbing out portions of the config within the
  test. This didn't work as expected because Devise/Omniauth loaded before the
  stub could run, and the stubbed config was ignored.

- I attempted to fix this by reloading Devise/Omniauth after stubbing the
  config. This successfully got Devise to load the stubbed providers, but failed
  while trying to access a route such as `user_gitlab_omniauth_authorize_path`.

- I spent a while trying to figure this out (even trying
  `Rails.application.reload_routes!`), but nothing seemed to work.

- I settled for adding this config directly to `gitlab.yml` rather than go down
  this path any further.
2017-07-06 06:30:06 +00:00
..
environments
initializers
locales
prometheus
routes Split up MergeRequestsController 2017-06-28 18:17:44 -05:00
application.rb
aws.yml.example
boot.rb
database.yml.env
database.yml.mysql
database.yml.postgresql
dependency_decisions.yml
environment.rb
gitlab.yml.example Add Omniauth OAuth config to the test section of gitlab.yml 2017-07-06 06:30:06 +00:00
karma.config.js
license_finder.yml
mail_room.yml
no_todos_messages.yml
README.md
resque.yml.example
routes.rb
secrets.yml.example
sidekiq.yml.example
sidekiq_queues.yml
unicorn.rb.example
unicorn.rb.example.development
webpack.config.js Merge branch 'enable-webpack-code-splitting' into 'master' 2017-06-30 20:55:09 +00:00

Configuration files Documentation

Note that most configuration files (config/*.*) committed into gitlab-ce will not be used for omnibus-gitlab. Configuration files committed into gitlab-ce are only used for development.

gitlab.yml

You can find most of GitLab configuration settings here.

mail_room.yml

This file is actually an YML wrapped inside an ERB file to enable templated values to be specified from gitlab.yml. mail_room loads this file first as an ERB file and then loads the resulting YML as its configuration.

resque.yml

This file is called resque.yml for historical reasons. We are NOT using Resque at the moment. It is used to specify Redis configuration values instead.