Commit a792670ace151d2e61273b5ba954779bb2d101fb
Committed by
Job van der Voort
1 parent
c7a31ebf
Exists in
6-8-stable
Correctly set HOME for Unicorn and Sidekiq
This fixes a bug where ~git/.gitconfig was being ignored, leading to CRLF problems in web edits. Conflicts: CHANGELOG
Showing
3 changed files
with
10 additions
and
2 deletions
Show diff stats
CHANGELOG
| 1 | +6.8.2 | ||
| 2 | +- Fix Git CRLF bug | ||
| 3 | +- Use gitlab-rails 6.8.2 | ||
| 4 | + | ||
| 5 | +6.8.1 | ||
| 6 | +- Use gitlab-rails 6.8.1 | ||
| 7 | + | ||
| 8 | +6.8.0 | ||
| 1 | - MySQL client support (EE only) | 9 | - MySQL client support (EE only) |
| 2 | - Update to omnibus-ruby 3.0 | 10 | - Update to omnibus-ruby 3.0 |
| 3 | - Update omnibus-software (e.g. Postgres to 9.2.8) | 11 | - Update omnibus-software (e.g. Postgres to 9.2.8) |
files/gitlab-cookbooks/gitlab/templates/default/sv-sidekiq-run.erb
| @@ -3,4 +3,4 @@ | @@ -3,4 +3,4 @@ | ||
| 3 | cd <%= node['gitlab']['gitlab-rails']['dir'] %>/working | 3 | cd <%= node['gitlab']['gitlab-rails']['dir'] %>/working |
| 4 | 4 | ||
| 5 | exec 2>&1 | 5 | exec 2>&1 |
| 6 | -exec chpst -P -U <%= node['gitlab']['user']['username'] %> -u <%= node['gitlab']['user']['username'] %> /usr/bin/env BUNDLE_GEMFILE=/opt/gitlab/embedded/service/gitlab-rails/Gemfile HOME="<%= node['gitlab']['gitlab-rails']['dir'] %>" /opt/gitlab/embedded/bin/bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e <%= node['gitlab']['gitlab-rails']['environment'] %> -r /opt/gitlab/embedded/service/gitlab-rails | 6 | +exec chpst -P -U <%= node['gitlab']['user']['username'] %> -u <%= node['gitlab']['user']['username'] %> /usr/bin/env BUNDLE_GEMFILE=/opt/gitlab/embedded/service/gitlab-rails/Gemfile HOME="<%= node['gitlab']['user']['home'] %>" /opt/gitlab/embedded/bin/bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,gitlab_shell,common,default -e <%= node['gitlab']['gitlab-rails']['environment'] %> -r /opt/gitlab/embedded/service/gitlab-rails |
files/gitlab-cookbooks/gitlab/templates/default/sv-unicorn-run.erb
| @@ -3,4 +3,4 @@ | @@ -3,4 +3,4 @@ | ||
| 3 | cd /opt/gitlab/embedded/service/gitlab-rails | 3 | cd /opt/gitlab/embedded/service/gitlab-rails |
| 4 | 4 | ||
| 5 | exec 2>&1 | 5 | exec 2>&1 |
| 6 | -exec chpst -P -U <%= node['gitlab']['user']['username'] %> -u <%= node['gitlab']['user']['username'] %> /usr/bin/env HOME="<%= node['gitlab']['gitlab-rails']['dir'] %>" /opt/gitlab/embedded/bin/bundle exec unicorn -E <%= node['gitlab']['gitlab-rails']['environment'] %> -c <%= File.join(node['gitlab']['gitlab-rails']['dir'], "etc", "unicorn.rb") %> /opt/gitlab/embedded/service/gitlab-rails/config.ru | 6 | +exec chpst -P -U <%= node['gitlab']['user']['username'] %> -u <%= node['gitlab']['user']['username'] %> /usr/bin/env HOME="<%= node['gitlab']['user']['home'] %>" /opt/gitlab/embedded/bin/bundle exec unicorn -E <%= node['gitlab']['gitlab-rails']['environment'] %> -c <%= File.join(node['gitlab']['gitlab-rails']['dir'], "etc", "unicorn.rb") %> /opt/gitlab/embedded/service/gitlab-rails/config.ru |