Commit bebac1521e7e5fd4e24beb6a0a143011d076c78c
1 parent
f4712547
Exists in
master
and in
2 other branches
Update gitlab.yml template for 7.2
Showing
1 changed file
with
17 additions
and
4 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb
@@ -48,7 +48,7 @@ production: &base | @@ -48,7 +48,7 @@ production: &base | ||
48 | # This also allows normal users to sign up for accounts themselves | 48 | # This also allows normal users to sign up for accounts themselves |
49 | # default: false - By default GitLab administrators must create all new accounts | 49 | # default: false - By default GitLab administrators must create all new accounts |
50 | signup_enabled: <%= @gitlab_signup_enabled %> | 50 | signup_enabled: <%= @gitlab_signup_enabled %> |
51 | - # | 51 | + |
52 | ## Standard login settings | 52 | ## Standard login settings |
53 | # The standard login can be disabled to force login via LDAP | 53 | # The standard login can be disabled to force login via LDAP |
54 | # default: true - If set to false the standard login form won't be shown on the sign-in page | 54 | # default: true - If set to false the standard login form won't be shown on the sign-in page |
@@ -62,6 +62,7 @@ production: &base | @@ -62,6 +62,7 @@ production: &base | ||
62 | # If a commit message matches this regular expression, all issues referenced from the matched text will be closed. | 62 | # If a commit message matches this regular expression, all issues referenced from the matched text will be closed. |
63 | # This happens when the commit is pushed or merged into the default branch of a project. | 63 | # This happens when the commit is pushed or merged into the default branch of a project. |
64 | # When not specified the default issue_closing_pattern as specified below will be used. | 64 | # When not specified the default issue_closing_pattern as specified below will be used. |
65 | + # Tip: you can test your closing pattern at http://rubular.com | ||
65 | # issue_closing_pattern: '([Cc]lose[sd]|[Ff]ixe[sd]) +#\d+' | 66 | # issue_closing_pattern: '([Cc]lose[sd]|[Ff]ixe[sd]) +#\d+' |
66 | 67 | ||
67 | ## Default project features settings | 68 | ## Default project features settings |
@@ -114,8 +115,8 @@ production: &base | @@ -114,8 +115,8 @@ production: &base | ||
114 | gravatar: | 115 | gravatar: |
115 | enabled: <%= @gravatar_enabled %> # Use user avatar image from Gravatar.com (default: true) | 116 | enabled: <%= @gravatar_enabled %> # Use user avatar image from Gravatar.com (default: true) |
116 | # gravatar urls: possible placeholders: %{hash} %{size} %{email} | 117 | # gravatar urls: possible placeholders: %{hash} %{size} %{email} |
117 | - plain_url: <%= single_quote(@gravatar_plain_url) %> # default: http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm | ||
118 | - ssl_url: <%= single_quote(@gravatar_ssl_url) %> # default: https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=mm | 118 | + plain_url: <%= single_quote(@gravatar_plain_url) %> # default: http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon |
119 | + ssl_url: <%= single_quote(@gravatar_ssl_url) %> # default: https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon | ||
119 | 120 | ||
120 | # | 121 | # |
121 | # 2. Auth settings | 122 | # 2. Auth settings |
@@ -190,7 +191,7 @@ production: &base | @@ -190,7 +191,7 @@ production: &base | ||
190 | ## Auth providers | 191 | ## Auth providers |
191 | # Uncomment the following lines and fill in the data of the auth provider you want to use | 192 | # Uncomment the following lines and fill in the data of the auth provider you want to use |
192 | # If your favorite auth provider is not listed you can use others: | 193 | # If your favorite auth provider is not listed you can use others: |
193 | - # see https://github.com/gitlabhq/gitlab-public-wiki/wiki/Working-custom-omniauth-provider-configurations | 194 | + # see https://github.com/gitlabhq/gitlab-public-wiki/wiki/Custom-omniauth-provider-configurations |
194 | # The 'app_id' and 'app_secret' parameters are always passed as the first two | 195 | # The 'app_id' and 'app_secret' parameters are always passed as the first two |
195 | # arguments, followed by optional 'args' which can be either a hash or an array. | 196 | # arguments, followed by optional 'args' which can be either a hash or an array. |
196 | # Documentation for this is available at http://doc.gitlab.com/ce/integration/omniauth.html | 197 | # Documentation for this is available at http://doc.gitlab.com/ce/integration/omniauth.html |
@@ -217,6 +218,7 @@ production: &base | @@ -217,6 +218,7 @@ production: &base | ||
217 | satellites: | 218 | satellites: |
218 | # Relative paths are relative to Rails.root (default: tmp/repo_satellites/) | 219 | # Relative paths are relative to Rails.root (default: tmp/repo_satellites/) |
219 | path: <%= @satellites_path %> | 220 | path: <%= @satellites_path %> |
221 | + timeout: 30 | ||
220 | 222 | ||
221 | ## Backup settings | 223 | ## Backup settings |
222 | backup: | 224 | backup: |
@@ -284,6 +286,17 @@ test: | @@ -284,6 +286,17 @@ test: | ||
284 | gitlab: | 286 | gitlab: |
285 | host: localhost | 287 | host: localhost |
286 | port: 80 | 288 | port: 80 |
289 | + | ||
290 | + # When you run tests we clone and setup gitlab-shell | ||
291 | + # In order to setup it correctly you need to specify | ||
292 | + # your system username you use to run GitLab | ||
293 | + # user: YOUR_USERNAME | ||
294 | + satellites: | ||
295 | + path: tmp/tests/gitlab-satellites/ | ||
296 | + gitlab_shell: | ||
297 | + path: tmp/tests/gitlab-shell/ | ||
298 | + repos_path: tmp/tests/repositories/ | ||
299 | + hooks_path: tmp/tests/gitlab-shell/hooks/ | ||
287 | issues_tracker: | 300 | issues_tracker: |
288 | redmine: | 301 | redmine: |
289 | title: "Redmine" | 302 | title: "Redmine" |