Commit 0d712907a8e60a1dd7688c22f31675f30ab26183
Exists in
master
and in
2 other branches
Merge branch 'master' of gitlab.com:gitlab-org/omnibus-gitlab
Showing
3 changed files
with
3 additions
and
1 deletions
Show diff stats
CHANGELOG
... | ... | @@ -6,6 +6,7 @@ omnibus-gitlab repository. |
6 | 6 | 7.2.0 |
7 | 7 | - Pass environment variables to Unicorn and Sidekiq (Chris Portman) |
8 | 8 | - Add openssl_verify_mode to SMTP email configuration (Dionysius Marquis) |
9 | +- Enable the 'ssh_host' field in gitlab.yml (Florent Baldino) | |
9 | 10 | |
10 | 11 | 7.1.0 |
11 | 12 | - Build: explicitly use .forward for sending notifications | ... | ... |
files/gitlab-cookbooks/gitlab/attributes/default.rb
... | ... | @@ -54,6 +54,7 @@ default['gitlab']['gitlab-rails']['rate_limit_period'] = 60 |
54 | 54 | default['gitlab']['gitlab-rails']['gitlab_host'] = node['fqdn'] |
55 | 55 | default['gitlab']['gitlab-rails']['gitlab_port'] = 80 |
56 | 56 | default['gitlab']['gitlab-rails']['gitlab_https'] = false |
57 | +default['gitlab']['gitlab-rails']['gitlab_ssh_host'] = nil | |
57 | 58 | default['gitlab']['gitlab-rails']['gitlab_email_from'] = "gitlab@#{node['fqdn']}" |
58 | 59 | default['gitlab']['gitlab-rails']['gitlab_default_projects_limit'] = 10 |
59 | 60 | default['gitlab']['gitlab-rails']['gitlab_default_can_create_group'] = nil | ... | ... |
files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb
... | ... | @@ -17,7 +17,7 @@ production: &base |
17 | 17 | # Uncommment this line below if your ssh host is different from HTTP/HTTPS one |
18 | 18 | # (you'd obviously need to replace ssh.host_example.com with your own host). |
19 | 19 | # Otherwise, ssh host will be set to the `host:` value above |
20 | - # ssh_host: ssh.host_example.com | |
20 | + ssh_host: <%= @gitlab_ssh_host %> | |
21 | 21 | |
22 | 22 | # WARNING: See config/application.rb under "Relative url support" for the list of |
23 | 23 | # other files that need to be changed for relative url support | ... | ... |