139 Commits

Author SHA1 Message Date
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
d11ae7b617
Added missing configuration variable OAUTH_ALLOW_BYPASS_TWO_FACTOR. 2023-10-23 22:17:20 -04: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
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
c8bc43b914
Added missing label and scope variable field. 2023-10-01 13:40:45 -04:00
Ivan Baranov
8b9ca622f9 Tested support for azure_activedirectory_v2 2022-09-05 21:46:20 +09:00
Steven Achilles
a02abdce2d Address inconsistencies when using git (packaged with gitaly). 2022-05-03 17:58:58 +02:00
Steven Achilles
073eb52cb2
Merge pull request #2438 from peter-jozsa/allow-to-config-terraform-state
Allow to configure Terraform State
2022-04-22 16:15:01 +02:00
Péter Józsa
7374743a0f fix wrong footer comment of GCS related terraform state configuration 2022-04-11 12:13:21 +02:00
Péter Józsa
4752be956c Allow to configure terraform state feature 2022-04-11 12:13:09 +02:00
Poppo
86a329086a refs https://github.com/sameersbn/docker-gitlab/issues/2538: Fix Variables for UPLOADS in GCP 2022-04-08 17:10:45 +02:00
Kazunori Kimura
e91d9b5f7c support GITLAB_ISSUE_CLOSING_PATTERN 2022-03-27 07:28:01 +09:00
Akanoa
e2354ed8aa feat: Add "AWS_SIGNATURE_VERSION" related environment variables 2021-07-30 22:41:31 +00:00
Akanoa
cfa1fe2e28 fix: bad default value 2021-07-30 16:32:24 +00:00
Akanoa
bed4200b02 feat: allow to configure the packages registry from environment variables 2021-07-30 16:32:24 +00:00
Sameer Naik
6b619f4891
Merge pull request #2311 from sue445/csp_params
Add content_security_policy params
2021-06-23 10:45:20 +05:30
Sameer Naik
7b25affe22
Merge pull request #2321 from l00v3/add_prevent_ldap_sign_in
Add LDAP_PREVENT_LDAP_SIGN_IN configuration parameter
2021-06-21 10:31:36 +05:30
Rene Gärtner
bb6a889e0b added OAUTH_AUTO_LINK_USER option 2021-04-30 14:17:28 +02:00
sue445
b820c61f33 Add content_security_policy params 2021-04-18 23:28:28 +09:00
l00v3
9b7536a32e Add LDAP_PREVENT_LDAP_SIGN_IN configuration parameter
Committer: l00v3 <love@localhost.localdomain>
2021-03-12 11:59:03 +01:00
Sameer Naik
adf79a6c11 functions: properly delete the bitbucket auth config when not in use 2021-03-10 13:42:54 +05:30
Bruno Léon
8311b1ee74 Set default value for BITBUCKET_URL
If this value is not set importing repo fails when connecting to
bitbucket.
2021-02-23 08:19:52 +01:00
orvice
e2d7d726f5 add artifacts:direct_upload back
that was removed at: 9ec381b3ef (diff-c23ee6433bb041af815df0457df129d0L175)
2020-06-05 18:23:28 +02:00
Carlos Álvaro
74013d82ab feat: Add healthcheck for gitlab service 2020-05-26 18:10:55 +02:00
solidnerd
ae6fad48c4 chore: sync configs 2020-05-25 06:56:20 +02:00
solidnerd
45d638a884 fix: duplicate remote directory key and aws encryption settings 2020-05-21 11:36:41 +02:00
Sameer Naik
25cb2e7466 gitlab: upgrade to 12.10.4 2020-05-16 08:04:45 +02:00
Sameer Naik
9ec381b3ef sync: upstream configs 2020-05-16 08:04:45 +02:00
Niclas Mietz
67a5fc30b4
Upgrade to 12.8.0 (#2090)
* Upgrade GitLab CE to 12.8.0

* Update gitlab-workhorse to 8.21.0

Signed-off-by: solidnerd <niclas@mietz.io>

* Update gitlab-pages to 1.16.0

Signed-off-by: solidnerd <niclas@mietz.io>

* Update gitaly to 12.8.0

Signed-off-by: solidnerd <niclas@mietz.io>

* fix: gitaly-hooks missing symlink

Signed-off-by: solidnerd <niclas@mietz.io>

* chore(base-image): update base image to 20200219

* fix: unicorn worker limits

Signed-off-by: solidnerd <niclas@mietz.io>

* fix(ci): disable caching

Signed-off-by: solidnerd <niclas@mietz.io>

* feat: add patch support for gitlab during the installation

Signed-off-by: solidnerd <niclas@mietz.io>

* fix: ArgumentError: 'import/{{oauth2_generic_name}}' is not a supported controller name

Closes #2101

Signed-off-by: solidnerd <niclas@mietz.io>

* fix: add fix for upstream gitaly problems during a fresh install

Signed-off-by: solidnerd <niclas@mietz.io>

* chore: update changelog.md
2020-03-29 15:29:09 +02:00
Bart Joris
2ea27eef81
Add Generic OAuth2 provider (#2070)
* Add Generic OAuth2 provider

* Add docs to test Keycloak on a local environment

* Update docs for oauth2_generic
2020-03-12 09:05:21 +01:00
pbe-axelor
73cb6392fd Add S/MIME Email Signing (#2009)
* Add S/MIME Email Signing

See https://docs.gitlab.com/ce/administration/smime_signing_email.html

Signed-off-by: Pierre Belloy <p.belloy@axelor.com>

* Remove s/mime email configs if not enabled

Signed-off-by: Pierre Belloy <p.belloy@axelor.com>
2019-09-26 06:58:29 +02:00
Pierre Belloy
97ec6e337a Set Sidekiq default log format to json
This follow gitlab default value.
See https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/32842

Signed-off-by: Pierre Belloy <p.belloy@axelor.com>
2019-09-24 11:36:58 +02:00
sue445
edfe1492e2 Add Sentry configuration to gitlab.yml 2019-09-24 07:07:19 +02:00
Julien Grenier
9d8903a523 Fix Auth0 config (#1964)
Fix Auth0 configuration and Add OAUTH_AUTH0_SCOPE
2019-09-24 07:04:13 +02:00
Bartosz Cisek
be45df494d Add support for AWS S3 signature version
Some 3rd party storage solutions allow upload via S3 protocol but still
use v2 of signature schema. [Fog library used by gitlab](https://docs.gitlab.com/ee/administration/uploads.html#s3-compatible-connection-settings)
allows to override default version 4.
2019-07-13 13:24:12 +02:00
David Rubin
76bfb2f1e0 Support Google Cloud Object Store 2019-03-06 07:21:53 +01:00
Pierre Belloy
13e856141e ADD GITLAB_IMPERSONATION_ENABLED
Signed-off-by: Pierre Belloy <p.belloy@axelor.com>
2019-01-02 13:47:35 +01:00
Alexander Trost
ec4df3a82f Added OAUTH_SAML_ATTRIBUTE_STATEMENTS_USERNAME
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-01-02 13:43:43 +01:00
solidnerd
33ef7ffde8
Add LDAP_USER_ATTRIBUTE_*
This will add misssing options to configure LDAP_USER_ATTRIBUTES

These will fix several Issues and merge multiple merge requests.

Fixes sameersbn#699
Fixes sameersbn#1746
Fixes sameersbn#1814

Signed-off-by: solidnerd <niclas@mietz.io>
2018-12-29 00:06:15 +01:00
Gert-Jan Timmer
0a8f6bd872 Add: gitlab pages access control (11.5)
Added gitlab pages access control (Introduced in gitlab 11.5).

Fixes: #1769
2018-11-25 17:09:18 +01:00
Maycon Lopes dos Santos
7f24c384fb Added GITLAB_ARTIFACTS_OBJECT_STORE_DIRECT_UPLOAD to the templates
GITLAB_ARTIFACTS_OBJECT_STORE_DIRECT_UPLOAD description

fix number of args
2018-11-06 19:24:04 -02:00
Tobias Haber
91e05e4489
Add GITLAB_DEFAULT_THEME 2018-09-01 11:00:01 +02:00
lucianomores
07094553f0 Fix uploads object storage aws endpoint variable 2018-05-15 11:43:49 -03:00
solidnerd
0bf46bf73b
Add GITLAB_UPLOADS_OBJECT_STORE_*
Signed-off-by: solidnerd <niclas@mietz.io>
2018-04-29 10:49:51 +02:00
solidnerd
79eb0a7e9a
Add GITLAB_LFS_OBJECT_STORE_*
Signed-off-by: solidnerd <niclas@mietz.io>
2018-04-29 10:49:51 +02:00
solidnerd
fdc26d2dd5
Add GITLAB_ARTIFACTS_OBJECT_STORE_*
Signed-off-by: solidnerd <niclas@mietz.io>
2018-04-29 10:49:51 +02:00
solidnerd
6111c2e375
Add GITLAB_SIDEKIQ_LOG_FORMAT
Signed-off-by: solidnerd <niclas@mietz.io>
2018-04-29 10:49:51 +02:00
solidnerd
b4bb8536c7
Sync upstream gitlab.yml
Signed-off-by: solidnerd <niclas@mietz.io>
2018-02-25 12:44:42 +01:00
solidnerd
96e2a8fca6
Add LDAP_LOWERCASE_USERNAMES
Signed-off-by: solidnerd <niclas@mietz.io>
2018-02-25 12:44:42 +01:00
solidnerd
52b669a7a3
Add GITLAB_UPLOADS_STORAGE_PATH and GITLAB_UPLOADS_BASE_DIR 2018-02-25 12:44:29 +01:00