334 Commits

Author SHA1 Message Date
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
orvice
e2d7d726f5 add artifacts:direct_upload back
that was removed at: 9ec381b3ef (diff-c23ee6433bb041af815df0457df129d0L175)
2020-06-05 18:23:28 +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
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
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
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
7ca29dfce0 Use updated gitlab-ce repository name gitlab-foss
Gitlab is moving to a single codebase for GitLab Community and Enterprise editions.
All code and development is moved into the gitlab-ee repository.
The code of the gitlab-ce repository remains as is, and won't include any proprietary code.
The `gitlab-ce` repository is renamed to `gitlab-foss`

See https://about.gitlab.com/2019/08/23/a-single-codebase-for-gitlab-community-and-enterprise-edition/

Signed-off-by: Pierre Belloy <p.belloy@axelor.com>
2019-09-26 06:24:52 +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
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
Sergey Rusakov
d1e15afe02 Removed ipv6only option from gitlab-pages-ssl nginx config template 2019-06-17 21:08:55 +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