243 Commits

Author SHA1 Message Date
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
麦当苗儿
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
Phi Tran
80212eff1a
Fix gitlab pages deamon error when enabling access control (#2177) 2020-08-02 17:06:45 +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
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
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
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
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
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
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
Niclas Mietz
eadd27cdb0
Fix Auth0 Scope config parsing (#2007) 2019-09-24 11:02:34 +02:00
GO Sueyoshi
1c7629d5a9 Add prepared_statements to database.yml (#1994)
* Add prepared_statements  to database.yml

Co-Authored-By: Niclas Mietz <github@mietz.io>
2019-09-24 07:50:48 +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
solidnerd
cc474269d5 Fix HostKey function for ubuntu:bionic 2019-08-28 07:18:35 +02:00
solidnerd
1a22748ea2 Remove MySQL Support for Versions > 12.1 2019-08-11 19:08:22 +02:00
solidnerd
fe04334b61 Fix behaviour of gitlab:backup:restore/backup
Since 10.8 GitLab requires Gitaly as core process. Gitaly needs to be
run to make backups successfuly.

For this case we will start all proccess to let handle the backup and
restore correctly like before.

Signed-off-by: solidnerd <niclas@mietz.io>
2019-07-13 13:30:04 +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
KOMURA Takaaki
6fb00aea11 fix gitlab_configure_oauth_saml_attribute_statements()
OAUTH_SAML_ATTRIBUTE_STATEMENTS_USERNAME reflects username: in gitlab.yml
OAUTH_SAML_ATTRIBUTE_STATEMENTS_NAME is not required.
2019-05-29 16:01:48 +09:00
Olaf Meeuwissen
79f84308f6 Fix gitlab:assets:compile task for relative URL root setups
This makes container startup/upgrades use the same `NODE_OPTIONS` as
the Docker image build process.

Fixes #1896
2019-04-17 19:53:59 +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
Gert-Jan Timmer
3c910cdb8f Fix Gitlab Pages Access Control
Signed-off-by: solidnerd <niclas@mietz.io>

# Conflicts:
#	README.md
#	assets/runtime/env-defaults
2019-01-02 13:46:49 +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
e5feefa189
fix-backup-subdirectory 2018-12-29 00:06:15 +01:00
Gert-Jan Timmer
5c59e16edb
Fix: Gitlab Pages Custom Domain Setup 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