857 Commits

Author SHA1 Message Date
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
intec_bf
2d0159b61d reduce image size 2020-12-02 22:57:31 +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
Constantin Wildförster
3f349977f5 update patch to work on gitlab 13.2.0+ 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
Carlos Álvaro
31325c1007 fix: healthcheck and GITLAB_HTTPS=true
Follow redirects
Allow connections to SSL sites without certs
2020-05-27 21:09:51 +02:00
Sebastián Ramírez
b3eacbdd9d 🐛 Fix running generate_registry_certificates by default and returning to directory 2020-05-26 20:57:04 +02:00
Sebastián Ramírez
998c491877 Implement function generate_registry_certificates 2020-05-26 20:57:04 +02:00
Sebastián Ramírez
6e1ded73b5 Add default for GITLAB_REGISTRY_GENERATE_INTERNAL_CERTIFICATES 2020-05-26 20:57:04 +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
1c3c1aa7d0 fix: revert #1443 of mapping uid and gid
This is only a revert only of #1443 to get back in functional working.

Closes #2144
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
Tien Tran
b80e2673fe Fix accidental replacement if no backup is configured
If none of AWS or GCS backups are configured, sed command would accidentially replace the second "upload:" occurrence until the end of file.
2020-05-21 11:14:42 +02:00
solidnerd
4b4cbb8f98 fix: add GITLAB_HOME env for gitlab.yml substitution
This adds a missing environment variable that was required in
https://github.com/sameersbn/docker-gitlab/blob/master/assets/runtime/config/gitlabhq/gitlab.yml#L1100

Closes #2145
2020-05-17 14:54:03 +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
Aurélien Chrétien
f377eda47a
handle new gitaly logs correctly 2020-05-06 12:20:47 +02:00
Sameer Naik
780e8d455b
Merge pull request #1443 from kauden/patch-2
Accelerate map_uidgid
2020-05-06 14:36:49 +05:30
Sameer Naik
954b3b1b86
Merge pull request #2138 from sameersbn/remove-temp-fixes
remove "Fix for rebase in forks"
2020-05-06 10:59:27 +05:30
Sameer Naik
4422e1c4a0
remove "Fix for rebase in forks" 2020-05-06 10:05:01 +05:30
Sameer Naik
e921ce84d7
Merge pull request #1925 from emon/oauth_saml_attribute_statements
fix gitlab_configure_oauth_saml_attribute_statements()
2020-05-06 09:42:40 +05:30
Sameer Naik
b8503427f6
Merge pull request #2093 from appvia/change-sshd-listen-port
Allow modifying the sshd listen port
2020-05-06 08:33:15 +05:30
Sameer Naik
a40c27645b
Merge pull request #2097 from elitvinov/gitlab-backup-logging
Add logging for backup operations
2020-05-06 08:31:41 +05:30
Sameer Naik
c3f0b37fd0
Merge pull request #2126 from tom-dierckx/master
generic_oauth variable name for automatic authentication
2020-05-06 08:28:13 +05:30
Sameer Naik
0cd4a358c4
gitaly: updated to 12.10.0 2020-05-04 11:28:07 +05:30
Sameer Naik
452062d9fe
build: clean up build caches from bundle and go steps 2020-05-03 10:23:42 +05:30
Tom Dierckx
df71a7d5fa allows generic name 2020-04-10 10:38:21 +02:00
GO Sueyoshi
c530f56eeb
Pass parameters of puma_worker_killer to puma config (#2124) 2020-04-10 10:27:58 +02:00
Niclas Mietz
e87f29c2a3
Upgrade to 12.9.0 (#2117)
* Upgrade GitLab CE to 12.9.0

* Update gitlab-shell to 12.0.0

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

* Update gitlab-workhorse to 8.25.0

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

* Update gitlab-pages to 1.17.0

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

* Update gitaly to 12.9.0-rc42

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

* feat: replace unicorn with puma as webserver

Signed-off-by: solidnerd <niclas@mietz.io>
2020-04-04 10:08:52 +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
Evgeny Litvinov
755e3f75c5 Add logging for backup operations to file ${GITLAB_LOG_DIR}/gitlab/gitlab-backup.log 2020-03-13 13:09:04 +03: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
Kashif Saadat
be2d9a870f Allow modifying the sshd listen port 2020-03-02 16:46:22 +00:00
Steven Achilles
844d721efa fix(gitlab-shell): let gitlab-shell compile again 2020-01-25 11:30:43 +01:00
Peter Leitzen
ae4c826c5a Remove remaining references to MySQL
MySQL support was removed in https://github.com/sameersbn/docker-gitlab/pull/1961
2019-10-25 09:41:04 +02:00
Peter Leitzen
aa10ebcf01 Hide unused envvar DB_COLLATION
MySQL support was removed in https://github.com/sameersbn/docker-gitlab/pull/1961
and PostgreSQL doesn't support it anyway.
2019-10-22 20:16:51 -04:00
Peter Leitzen
7e86b54241 Remove deprecated "ssl" directives from nginx
Before this commit running "nginx -c -f /etc/nginx/nginx.conf" warned:

    nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/gitlab:60
2019-10-22 20:00:13 -04:00