1278 Commits

Author SHA1 Message Date
Kazunori Kimura
a2dd4e5ed8 Accept multiple hosts for RACK_ATTACK_WHITELIST
see sameersbn/docker-gitlab#2828

The current setup also accepts multiple hosts,
but the syntax is a bit strange.
The leading/trailing double quotes are embedded
in the configuration file itself,
so users should expect double quotes around the string they set.
In other words, when setting two hosts 0.0.0.0 and 1.1.1.1,
you will set the strings 0.0.0.0","1.1.1.1 in the
environment variables. This is not intuitive.

This commit removes double quote around corresponding config
and set backward compatibility fallback process
to surround whole with [], each host with double quote.
Also, validation script (written in ruby) will be executed during configuration.

Example docker-compose.yml
````yaml
services:
  gitlab:
    image: sameersbn/gitlab:latest
    environment:
    - RACK_ATTACK_WHITELIST='["127.0.0.1","0.0.0.0"]'
````

Co-authored-by: Mikhail Khadarenka <chodorenko@mail.ru>
2023-10-20 22:24:22 +09:00
Steven Achilles
02d95f1431 Upgrade to GitLab CE 16.4.1 2023-09-30 17:35:02 +02:00
Steven Achilles
8c1c480265 Upgrade to GitLab CE 16.4.0 2023-09-28 20:13:36 +02:00
Patrick Remy
f742f4d151
Upgrade to GitLab CE 16.3.4 2023-09-19 09:45:42 +02:00
Steven Achilles
25f5a93ac5 Upgrade to GitLab CE 16.3.3 2023-09-13 06:59:15 +02:00
Steven Achilles
f90bafce66 Upgrade to GitLab CE 16.3.2 2023-09-07 20:31:22 +02:00
Steven Achilles
22ab5727ae Upgrade GitLab CE to 16.3.1 2023-09-02 07:05:35 +02:00
Steven Achilles
8a9c8b6f63 Upgrade GitLab CE to 16.3.0 2023-08-22 21:18:16 +02:00
Steven Achilles
87fe3890a4 Upgrade GitLab CE to 16.2.4 2023-08-12 10:00:01 +02:00
Steven Achilles
2c12bd7e30 Upgrade GitLab CE to 16.2.3 2023-08-05 09:55:19 +02:00
Steven Achilles
cc97ed19f0 Upgrade GitLab CE to 16.2.2 2023-08-04 18:05:20 +02:00
Steven Achilles
ecd2b35bdf Upgrade GitLab CE to 16.2.1 2023-07-28 19:15:23 +02:00
Steven Achilles
eb5130f86e Upgrade GitLab CE to 16.2.0 2023-07-22 18:46:31 +02:00
Steven Achilles
fc33f9e90f Upgrade GitLab CE to 16.1.2 2023-07-06 22:01:01 +02:00
Steven Achilles
ec8eb9c568 Upgrade GitLab CE to 16.1.1 2023-07-01 10:02:57 +02:00
Steven Achilles
b2062dd6e2 Upgrade GitLab CE to 16.1.0 2023-06-23 19:21:50 +02:00
Steven Achilles
208b1e81b2 Upgrade GitLab CE to 16.0.5 2023-06-18 09:29:36 +02:00
Steven Achilles
7718f194a5 Upgrade GitLab CE to 16.0.4 2023-06-14 20:56:35 +02:00
Steven Achilles
df4a093404 Upgrade GitLab CE to 16.0.3 2023-06-07 19:17:53 +02:00
Steven Achilles
e123975ab8 Upgrade GitLab CE to 16.0.2 2023-06-07 18:04:49 +02:00
Kazunori Kimura
df09358dce README: Fix typo in note about postgresql-client 2023-06-07 22:36:52 +09:00
Kazunori Kimura
2e7102401a README: postgresql-client-12 no longer contained 2023-06-07 22:32:26 +09:00
Steven Achilles
5d215d6f25 Upgrade GitLab CE to 16.0.1 2023-05-25 21:05:54 +02:00
Steven Achilles
88148ec146 Upgrade GitLab CE to 16.0.0 2023-05-25 06:44:20 +02:00
Steven Achilles
f9e3ae132e Upgrade GitLab CE to 15.11.5 2023-05-22 22:45:04 +02:00
Steven Achilles
72aa682868 Upgrade GitLab CE to 15.11.4 2023-05-22 22:02:19 +02:00
Steven Achilles
110a8d75ab
Update README.md 2023-05-22 21:14:14 +02:00
Kazunori Kimura
69d490b757 README.md: Add note for the case any version of client does not match 2023-05-23 04:07:41 +09:00
Kazunori Kimura
b736b992d6 README.md: Add description about postgresql-client switching behavior
Co-authored by: Steven Achilles <steven.achilles@googlemail.com>
2023-05-23 04:07:32 +09:00
Steven Achilles
632ca2bc17 Upgrade GitLab CE to 15.11.3 2023-05-11 20:12:09 +02:00
Steven Achilles
c0a2827cd2 Upgrade GitLab CE to 15.11.2 2023-05-05 17:01:23 +02:00
Steven Achilles
d9e936ae1e Upgrade GitLab CE to 15.11.1 2023-05-04 05:41:38 +02:00
Steven Achilles
c39cb4d600 Upgrade GitLab CE to 15.11.0 2023-04-22 22:32:22 +02:00
Steven Achilles
286b938f93 Upgrade GitLab CE to 15.10.3 2023-04-16 20:21:24 +02:00
Steven Achilles
41c5afe804 Upgrade GitLab CE to 15.10.2 2023-04-07 08:45:55 +02:00
Steven Achilles
a5582d96f5 Upgrade GitLab CE to 15.10.1 2023-03-31 10:36:45 +02:00
Steven Achilles
268af66259 Upgrade GitLab CE to 15.10.0 2023-03-23 20:24:45 +01:00
Steven Achilles
7b37de2568 Upgrade GitLab CE to 15.9.3 2023-03-13 00:30:21 +01:00
Steven Achilles
9e58a673c1
Merge pull request #2716 from kkimurak/increase-default-sidekiq-memory-killer-max-rss
Increase default value for SIDEKIQ_MEMORY_KILLER_MAX_RSS to 2GB
2023-03-13 00:29:03 +01:00
Steven Achilles
bb1af3a067 Upgrade to GitLab CE 15.9.2 2023-03-06 20:14:30 +01:00
Steven Achilles
7e2632746a Upgrade to GitLab CE 15.9.1 2023-02-25 10:02:03 +01:00
Steven Achilles
1ddbbffa87 Upgrade to GitLab CE 15.9.0 2023-02-25 09:04:25 +01:00
Kazunori Kimura
255ec9461a Increase default SIDEKIQ_MEMORY_KILLER_MAX_RSS to 2GB
There are many warnings like below
recorded in {GITLAB_LOG_DIR}/supervisord/sidekiq.log.
This can be avoided by simply increasing SIDEKIQ_MEMORY_KILLER_MAX_RSS.

----
{
  "severity": "WARN",
  "time": "[MASKED]",
  "class": "Gitlab::SidekiqDaemon::MemoryKiller",
  "pid": [MASKED],
  "message": "Sidekiq worker RSS out of range",
  "current_rss": 1009636,
  "soft_limit_rss": 1000000,
  "hard_limit_rss": [MASKED],
  "memory_total_kb": [MASKED],
  "reason": "current_rss(1009636) \u003e soft_limit_rss(1000000)",
  "running_jobs": [],
  "retry": 0
}
----

For sameersbn/gitlab, this parameter have been introduced with
following commit on May 21, 2015 and never updated until today:
e4008cc7ab9efd626511af4c43e52e2a9490d612

On upstream, the default setting documentation is updated here:
  https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/31682
but it is said "the documentation is outdated" at this time.
I could not find out when the value is increased.

At least, In omnibus-gitlab, this have been introduced in MR 2360
(release 11.10.0+ce.0 / 11.10.0+ee.0)
https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/2360
2023-02-22 04:00:45 +09:00
Steven Achilles
9b6ec634c9 Upgrade to GitLab CE 15.8.2 2023-02-17 07:41:37 +01:00
Ruben Silva
991281c9fc
Upgrade to GitLab CE 15.8.1 2023-02-01 07:42:28 +01:00
Steven Achilles
096085cd6c Upgrade to GitLab CE 15.8.0 2023-01-22 23:45:54 +01:00
Ruben Silva
6b3dfc4d14 Upgrade to GitLab CE 15.7.5 2023-01-18 23:14:45 +01:00
Steven Achilles
744448e8d0 Upgrade to GitLab CE 15.7.3 2023-01-14 14:03:05 +01:00
Antt1995
30bb1b0a59
Upgrade to GitLab CE 15.7.2 2023-01-10 01:18:10 +00:00
Antt1995
d473f5f495
Upgrade to GitLab CE 15.7.1 2023-01-06 11:19:10 +00:00