3774 Commits

Author SHA1 Message Date
Steven Achilles
d8013c3073
Merge pull request #2870 from sachilles/upgrade-to-16.6.2
[GitLab Security Release] Upgrade to GitLab CE 16.6.2
16.6.2
2023-12-17 00:24:16 +01:00
Steven Achilles
d6a78cca23 Upgrade to GitLab CE 16.6.2 2023-12-16 23:29:00 +01:00
Steven Achilles
c8f1f4c860
Merge pull request #2864 from alexislefebvre/patch-1
README.md: Docker is not new anymore
2023-12-16 23:13:07 +01:00
Alexis Lefebvre
ee2d082621
README.md: Docker is not new anymore 2023-12-04 11:43:53 +01:00
Steven Achilles
01d8073002
Merge pull request #2863 from sachilles/upgrade-to-16.6.1
[GitLab Security Release] Upgrade to GitLab CE 16.6.1
16.6.1
2023-12-02 09:46:05 +01:00
Steven Achilles
d74fb49fc9 Upgrade to GitLab CE 16.6.1 2023-12-02 08:49:39 +01:00
Steven Achilles
53cfbea509
Merge pull request #2857 from sachilles/upgrade-to-16.6.0
Upgrade to GitLab CE 16.6.0
16.6.0
2023-11-19 15:00:43 +01:00
Steven Achilles
d37154d59f Upgrade to GitLab CE 16.6.0 2023-11-19 13:58:48 +01:00
Steven Achilles
2f5b09717a
Merge pull request #2854 from froque/upgrade_postgres_instructions
Upgrade instructions from Postgresql 12 to 14
2023-11-19 13:42:14 +01:00
Steven Achilles
af17c908cf
Merge pull request #2847 from kkimurak/add-patch-for-preinstall.mjs-relative_url
Add build patch to avoid removing node_modules
2023-11-19 13:29:05 +01:00
Filipe Roque
51cc21dfc8 Bump orb to circleci/docker@2.4.0 2023-11-09 13:53:04 +00:00
Filipe Roque
c814fb7ac9 Upgrade instructions form Postgresql 12 to 14
Postgres 15 has a permissions problem.
See https://github.com/sameersbn/docker-postgresql/issues/168
2023-11-09 11:54:36 +00:00
Steven Achilles
53d1ab4521
Merge pull request #2853 from sachilles/upgrade-to-16.5.1
[GitLab Security Release] Upgrade to GitLab CE 16.5.1
16.5.1
2023-11-03 23:15:22 +01:00
Steven Achilles
bac9b4f876 Upgrade to GitLab CE 16.5.1 2023-11-03 22:16:56 +01:00
Steven Achilles
d7fc3877dc
Merge pull request #2849 from massej/massej/oauth_allow_bypass_two_factor
Added missing configuration variable OAUTH_ALLOW_BYPASS_TWO_FACTOR.
2023-11-03 22:03:58 +01:00
massej
e574613c9e
Update assets/runtime/config/gitlabhq/gitlab.yml
Co-authored-by: Kazunori Kimura <33391846+kkimurak@users.noreply.github.com>
2023-10-24 08:23:11 -04:00
massej
9500ad163b
Update README.md
Co-authored-by: Kazunori Kimura <33391846+kkimurak@users.noreply.github.com>
2023-10-24 08:23:00 -04:00
massej
0001125859
Update env-defaults 2023-10-24 08:22:08 -04:00
massej
6021919e32
Update docker-compose.yml 2023-10-24 08:21:28 -04:00
massej
d11ae7b617
Added missing configuration variable OAUTH_ALLOW_BYPASS_TWO_FACTOR. 2023-10-23 22:17:20 -04:00
Steven Achilles
800dae76dc
Merge pull request #2848 from sachilles/upgrade-to-16.5.0
Upgrade to GitLab CE 16.5.0
16.5.0
2023-10-23 22:48:26 +02:00
Steven Achilles
daae8b70d3
Merge pull request #2841 from massej/patch-1
Added - OAuth2 Generic - missing label and scope variables
2023-10-23 22:45:00 +02:00
Steven Achilles
3033b64bbb
Merge pull request #2714 from sam-mosleh/add-builds-folder-to-runner
Mount builds folder to runners
2023-10-23 16:28:29 +02:00
Steven Achilles
d626a7430d
Merge pull request #2846 from kkimurak/issue/2828-allow-multiple-value-for-rack-attack-whitelist
Accept multiple hosts for RACK_ATTACK_WHITELIST
2023-10-23 16:24:50 +02:00
Steven Achilles
6a6becb5be
Merge pull request #2843 from massej/patch-3
Fix tipo.
2023-10-23 16:22:08 +02:00
Steven Achilles
43d0a969d1 Upgrade to GitLab CE 16.5.0 2023-10-23 00:36:46 +02:00
Kazunori Kimura
da0d78bf5b Add build patch to avoid removing node_modules
note: Only affected if using the relative_url feature

`gitlab/script/frontent/preinstall.mjs` is introduced since v16.4.0.
This script is executed on container startup, if using the relative url.
This script removes `NODE_MODULES` (/home/git/gitlab/node_modules) when
"the folder seems to end up being a corrupted somehow"
See more detail:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/130938

On sameersbn/gitlab, the folder node_modules is declared as volume.
The volume is always busy so that cannot be removed in the container.
You can see following error reported on container startup
(sameersbn/gitlab:16.4.0 or later).

````
yarn install v1.22.19
$ node ./scripts/frontend/preinstall.mjs
[WARNING] package.json changed significantly. Removing node_modules to be sure there are no problems. node:internal/process/esm_loader:97
    internalBinding('errors').triggerUncaughtException(
                              ^

[Error: EBUSY: resource busy or locked, rmdir '/home/git/gitlab/node_modules'] {
  errno: -16,
  code: 'EBUSY',
  syscall: 'rmdir',
  path: '/home/git/gitlab/node_modules'
}

Node.js v18.17.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. -----
````

This PR add a build time patch to change the behavior of
script/frontend/preinstall.mjs to not to remove node_modules directly,
but empty it instead.
2023-10-21 01:24:39 +09:00
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
massej
755a9ac8f9
Update docs/keycloak-idp.md
Co-authored-by: Kazunori Kimura <33391846+kkimurak@users.noreply.github.com>
2023-10-02 09:28:54 -04:00
massej
8bcb068cac
Update README.md 2023-10-02 09:00:08 -04:00
massej
964e29c92d
Fix tipo. 2023-10-01 13:55:50 -04:00
massej
ab0e2e63f8
Update docker-compose.yml 2023-10-01 13:49:47 -04:00
massej
fa75409aff
Update README.md 2023-10-01 13:48:54 -04:00
massej
a903d98290
Update functions 2023-10-01 13:45:02 -04:00
massej
af693c5ecc
Update env-defaults 2023-10-01 13:44:28 -04:00
massej
c8bc43b914
Added missing label and scope variable field. 2023-10-01 13:40:45 -04:00
Steven Achilles
52e14611b1
Merge pull request #2837 from sachilles/upgrade-to-16.4.1
[GitLab Critical Security Release] Upgrade to GitLab CE 16.4.1
16.4.1
2023-09-30 20:05:00 +02:00
Steven Achilles
02d95f1431 Upgrade to GitLab CE 16.4.1 2023-09-30 17:35:02 +02:00
Steven Achilles
b97b7c0607
Merge pull request #2833 from sachilles/upgrade-to-16.4.0
Upgrade to GitLab CE 16.4.0
16.4.0
2023-09-30 17:29:27 +02:00
Steven Achilles
8c1c480265 Upgrade to GitLab CE 16.4.0 2023-09-28 20:13:36 +02:00
Steven Achilles
37a80668fd
Merge pull request #2830 from Patrick-Remy/upgrade-to-16.3.4
Upgrade to GitLab CE 16.3.4
16.3.4
2023-09-19 22:04:18 +02:00
Patrick Remy
f742f4d151
Upgrade to GitLab CE 16.3.4 2023-09-19 09:45:42 +02:00
Steven Achilles
abc00ed3e7
Merge pull request #2827 from sachilles/upgrade-to-16.3.3
Upgrade to GitLab CE 16.3.3
16.3.3
2023-09-13 19:55:05 +02:00
Steven Achilles
25f5a93ac5 Upgrade to GitLab CE 16.3.3 2023-09-13 06:59:15 +02:00
Steven Achilles
249f10963a
Merge pull request #2824 from sachilles/upgrade-to-16.3.2
Upgrade to GitLab CE 16.3.2
16.3.2
2023-09-08 17:18:29 +02:00
Steven Achilles
f90bafce66 Upgrade to GitLab CE 16.3.2 2023-09-07 20:31:22 +02:00
Steven Achilles
6e0bc2b22b
Merge pull request #2822 from sachilles/upgrade-to-16.3.1
[GitLab Security Release] Upgrade GitLab CE to 16.3.1
16.3.1
2023-09-02 09:27:42 +02:00
Steven Achilles
2fb3680976 Remove temporary patch for lfs object URL (see c51770292e) 2023-09-02 08:28:56 +02:00
Steven Achilles
22ab5727ae Upgrade GitLab CE to 16.3.1 2023-09-02 07:05:35 +02:00
Steven Achilles
8d52e96b1c
Merge pull request #2817 from sachilles/upgrade-to-16.3.0
Upgrade GitLab CE to 16.3.0
16.3.0
2023-08-24 06:46:48 +02:00