380 Commits

Author SHA1 Message Date
haroldsamuels87
944a638a28
fixed a typo
took me 5 HOURS to find this tiny little typo.
2022-05-12 18:13:55 +04:30
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
82e88ff0ad create terraform state directory based on new configuration variables during datadir initialization
#2501
2022-04-11 12:13:28 +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
Steven Achilles
1a091cea44
Merge pull request #2511 from getfloret/master
Fix: HealthCheck Script will Fail if the ENV GITLAB_HTTPS set True
2022-03-29 20:45:41 +02:00
AlpsTsui
def7ef5fea Fix: HealthCheck Script will Fail if the ENV GITLAB_HTTPS set True 2022-03-29 22:22:31 +08:00
Kazunori Kimura
e91d9b5f7c support GITLAB_ISSUE_CLOSING_PATTERN 2022-03-27 07:28:01 +09:00
Kazunori Kimura
a9b4feb77b add NGINX_CUSTOM_GITLAB_SERVER_CONFIG 2022-03-04 22:49:52 +09:00
Kazunori Kimura
4943e1ffc0 replace non-break space with normal space
especially, rails warns when "non-break space" found
in configuration file (such as cable.yml)
2022-02-19 14:02:16 +09:00
Kazunori Kimura
2448c6aada add terraform/packages dir to initialize_datadir()
Also add them to sanitize_datadir()

Note that the backup will fail if these directories do not exist
with each feature enabled.
2022-01-28 02:12:35 +09:00
Paolo Mainardi
09e76bb2e7 Missing redis db number 2022-01-03 18:28:10 +01:00
Paolo Mainardi
0a24da2cfe Copy cable.yml template file 2022-01-03 16:54:08 +01:00
Paolo Mainardi
36330f5366 Support actioncable 2022-01-03 16:32:16 +01:00
Steven Achilles
d4ede13e38 Use new syntax for 'config/database.yml' 2021-12-29 22:03:57 +01:00
sue445
82576f27d0 Fixed Pages config not being created when GITLAB_PAGES_ACCESS_CONTROL was disabled 2021-12-09 22:24:30 +01:00
Kazunori Kimura
729a00a3c9 remove runtime/config/gitlabhq/rack_attack.rb 2021-10-09 15:45:11 +09:00
Jonathan Kline
f323481206 Corrected a typo in the artifacts section to allow proper updating and
replacement of the AWS_SIGNING_VERSION for artifacts
2021-08-02 16:39:10 -05: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
sue445
73dae28e31 Pass {{GITLAB_INSTALL_DIR}} to gitlab-pages/config 2021-07-21 09:38:37 +09:00
sue445
50bad15845 Resolved. GitLab Pages doesn't work since GitLab v14.0
ref. #2375

As I can see from the error message below, it looks like both
`api-secret-key` and `gitlab-server` (or `internal-gitlab-server` ) are required since GitLab v14.0

```
time="2021-06-28T02:28:34Z" level=fatal msg="could not create domains config source" error="GitLab API URL or API secret has not been provided"
```

https://gitlab.com/gitlab-org/gitlab-pages/-/blob/v1.41.0/internal/source/gitlab/client/client.go#L50-52
2021-07-20 18:38:04 +09:00
Sameer Naik
6ed4aa776c fixed typo 2021-07-01 19:06:26 +02:00
G.J.R. Timmer
e194e7d8d0 moved default TIMEZONE variable to env-defaults
Resolve conversation
2021-07-01 19:06:26 +02:00
Gert-Jan Timmer
9180bed1fe fix Container TimeZone
Fix Container TimeZone


Fix Container TimeZone
2021-07-01 19:06:26 +02:00
Sameer Naik
09b8c1c265
Merge pull request #1884 from taomaree/custom_hooks_dir
Add support for GITLAB_SHELL_CUSTOM_HOOKS_DIR
2021-06-23 10:46:02 +05:30
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
Kazunori Kimura
4ccb8eefb5 Support healthcheck with relative URL
traditional one with relative url always returns 404 (unhealthy).
Now we can use ${GITLAB_RELATIVE_URL_ROOT} variable to set healcheck URL
after moving script generation to runtime,
2021-04-08 21:12:19 +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
950b1e8242
Merge pull request #2183 from galet/master
Obfuscate access_token and private_token in nginx access log
2021-03-10 14:37:52 +05:30
Sameer Naik
adf79a6c11 functions: properly delete the bitbucket auth config when not in use 2021-03-10 13:42:54 +05:30
Sameer Naik
ebcd5bac34
Merge pull request #2310 from brunoleon/fix_bitbucket
Set default value for BITBUCKET_URL
2021-03-10 10:30:59 +05:30
3kami3
7197de2f3e Update Puma Worker Killer RAM limits 2021-03-04 00:15:58 +09:00
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
麦当苗儿
83202cdf6a
added SSL_PROTOCOLS option to change protocols of the nginx (#2304) 2021-02-16 08:21:06 +01:00
solidnerd
ca34ea0486 fix: GITLAB_RELATIVE_URL_ROOT installation method
During the last remove of the node_modules folder it wasn’t possbile to recompile assets on the start of the container. This is neccesarry for the GITLAB_RELATIVE_URL_ROOT to work correctly.

Signed-off-by: solidnerd <niclas@mietz.io>
2020-12-26 14:40:51 +01:00
sue445
0946fef04c Add GITLAB_PAGES_ARTIFACTS_SERVER_URL 2020-12-02 22:57:46 +01:00
John Regan
b45f86cd9b
Allow setting sshd MaxStartups with env variable (fixes #969) (#1111) 2020-08-24 20:53:24 +02:00
Constantin Wildförster
740677fe34 fixes #2200 2020-08-12 07:51:08 +02:00
Constantin Wildförster
8411b944e4 fix wrong gitaly configuration 2020-08-02 17:15:51 +02:00
Constantin Wildförster
ad57e9f354 add gitlab url to gitaly.toml config 2020-08-02 17:15:51 +02:00
Phi Tran
80212eff1a
Fix gitlab pages deamon error when enabling access control (#2177) 2020-08-02 17:06:45 +02:00
Michal Galet
d2263980ea Obfuscate access_token and private_token in nginx access log
Authentication tokens are allowed to be part of URI and therefore they are printed
in the access log. This can be a security concern especially when system and
application logs are being send to an external logging system (syslog, wazuh,
splunk, etc.).
2020-06-24 13:33:04 +02:00
orvice
e2d7d726f5 add artifacts:direct_upload back
that was removed at: 9ec381b3ef (diff-c23ee6433bb041af815df0457df129d0L175)
2020-06-05 18:23:28 +02:00