Commit Graph

12 Commits

Author SHA1 Message Date
GitLab Bot e6a54b33a9 Add latest changes from gitlab-org/gitlab@master 2021-11-09 15:12:42 +00:00
GitLab Bot b808458daa Add latest changes from gitlab-org/gitlab@master 2021-11-09 12:12:15 +00:00
GitLab Bot 729d26fafc Add latest changes from gitlab-org/gitlab@master 2021-05-22 03:10:39 +00:00
GitLab Bot 0d8e625e4c Add latest changes from gitlab-org/gitlab@master 2020-05-25 15:07:58 +00:00
GitLab Bot 1cf95147ea Add latest changes from gitlab-org/gitlab@master 2020-05-22 18:08:21 +00:00
Qingyu Zhao b7ea4bd853 Enable puma by default in GDK
Two changes:
1. Move bin/web to bin/web_unicorn(removed PUMA switching logic)
Introduce new shadow script bin/web. Now we have 3 scripts working
together: bin/web, bin/web_puma, bin/web_unicorn

  In bin/web, it checks ENV['USE_WEB_SERVER']:
    - if value is 'puma' or value is not set, call bin/web_puma
    - if value is 'unicorn', call bin/web_unicorn
    - report error if other values given

2. Gitlab rails allow ENV setting to override timeout
    - ENV['GITLAB_RAILS_RACK_TIMEOUT'] for service_timeout
    - ENV['GITLAB_RAILS_WAIT_TIMEOUT'] for wait_timeout
2019-07-09 23:31:32 +10:00
Andrew Newdigate 1065f8ce7a Add experimental support for Puma
This allows us (and others) to test drive Puma without it affecting all
users. Puma can be enabled by setting the environment variable
"EXPERIMENTAL_PUMA" to a non empty value.
2018-10-25 17:50:15 +01:00
Jacob Vosmaer 8a6776caa9 Use 'exec' in Unicorn and Sidekiq launch scripts
When running Unicorn or Sidekiq in the foreground this change removes
an intermediate /bin/sh process. This makes process supervision in the
GitLab Development Kit more reliable.

This change does not affect Omnibus-GitLab (because there we do not
use these launch scripts). Installations from source do use the launch
scripts but for the standard GitLab init script this change will not
make a difference.

Custom installations using Upstart or Systemd may be affected however,
because under certain configurations these systems count exactly how
many forks happen during process startup, and we are reducing that
number by one here.
2016-04-28 12:11:08 +02:00
Jacob Vosmaer 66f28577ad Improve bin/ launchers 2016-01-14 15:08:15 +01:00
Jacob Vosmaer 59d2f6db75 Wrap arguments for `[ -z` in double quotes 2014-09-08 14:28:42 +02:00
Pavel Novitskiy b37247ac31 change bash to sh 2014-07-04 11:45:20 +04:00
Marin Jankovski 2341cefd6f Move from script to bin directory. 2014-05-27 17:14:41 +02:00