Commit 2923fd3cc077cadbdce59a6cafaff3a5939fd2b8
Committed by
Athos
1 parent
16a49e0f
Exists in
master
and in
90 other branches
Settings gitlab host and email_from using our yaml
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
config/development/config.yaml
@@ -10,4 +10,4 @@ email_subject_prefix: '[spb|dev]' | @@ -10,4 +10,4 @@ email_subject_prefix: '[spb|dev]' | ||
10 | lists_hostname: listas.dev.softwarepublico.gov.br | 10 | lists_hostname: listas.dev.softwarepublico.gov.br |
11 | lists_admin: paulo@softwarelivre.org | 11 | lists_admin: paulo@softwarelivre.org |
12 | relay_hostname: relay.dev.softwarepublico.gov.br | 12 | relay_hostname: relay.dev.softwarepublico.gov.br |
13 | - | 13 | +from_address: noreply@dev.softwarepublico.gov.br |
config/local/config.yaml
@@ -11,3 +11,4 @@ lists_hostname: listas.softwarepublico.dev | @@ -11,3 +11,4 @@ lists_hostname: listas.softwarepublico.dev | ||
11 | lists_admin: paulo@softwarelivre.org | 11 | lists_admin: paulo@softwarelivre.org |
12 | relay_hostname: relay.softwarepublico.dev | 12 | relay_hostname: relay.softwarepublico.dev |
13 | alt_ssh_port: 5555 | 13 | alt_ssh_port: 5555 |
14 | +from_address: noreply@softwarepublico.dev |
cookbooks/gitlab/templates/gitlab.yml.erb
1 | production: &base | 1 | production: &base |
2 | gitlab: | 2 | gitlab: |
3 | - host: softwarepublico.dev | 3 | + host: <%= node['config']['external_hostname'] %> |
4 | relative_url_root: /gitlab | 4 | relative_url_root: /gitlab |
5 | port: 80 # Set to 443 if using HTTPS | 5 | port: 80 # Set to 443 if using HTTPS |
6 | https: false # Set to true if using HTTPS | 6 | https: false # Set to true if using HTTPS |
7 | - email_from: example@example.com | 7 | + email_from: <%= node['config']['from_address'] %> |
8 | default_projects_limit: 10 | 8 | default_projects_limit: 10 |
9 | default_projects_features: | 9 | default_projects_features: |
10 | issues: true | 10 | issues: true |