301 Commits

Author SHA1 Message Date
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
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
Lewis Marshall
06ecea8855 Make the chown of backup files optional 2018-11-09 09:08:23 +00: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
Niclas Mietz
58333c6118
Merge pull request #1699 from froque/invalid_date
date: invalid date correction
2018-09-22 09:40:31 +02:00
Carl Kittelberger
56b6c4245c
Fix backup config stripping for when AWS & GCS are disabled 2018-09-19 09:18:21 +02:00
Tobias Haber
91e05e4489
Add GITLAB_DEFAULT_THEME 2018-09-01 11:00:01 +02:00
Filipe Roque
4b2ff6da0b correction for parsing dates from backups files,
due to format change in version 9.2

see:
https://docs.gitlab.com/ce/raketasks/backup_restore.html#backup-timestamp
https://github.com/sameersbn/docker-gitlab/issues/1414
https://github.com/sameersbn/docker-gitlab/issues/1042#issuecomment-271522064
2018-08-09 11:35:54 +01:00
Sven Dowideit
474fe9f17b Add Docker Swarm config file, and Swar&compose config file support
Signed-off-by: Sven Dowideit <sven.dowideit@csiro.au>
2018-05-22 14:23:36 +10:00
lucianomores
07094553f0 Fix uploads object storage aws endpoint variable 2018-05-15 11:43:49 -03:00
solidnerd
9543f1297e
Remove duplicated curly bracket 2018-05-01 11:29:19 +02:00
solidnerd
d2f1262dfa
Delete Object Store config when it's not used 2018-05-01 10:57:25 +02: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
ff0e1ce1ce
Fix default upload dir 2018-03-17 11:46:49 +01: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
solidnerd
501bd390f6
Fix Typo
Signed-off-by: solidnerd <niclas@mietz.io>
2018-02-25 10:46:52 +01:00
solidnerd
82b3592f23
Remove direct redis integration from gitlab-shell
Signed-off-by: solidnerd <niclas@mietz.io>
2018-02-25 10:46:52 +01:00
solidnerd
5e17cd8a24
Remove rsa1 ssh_host_key
This means that the SSH 1 protocol wouldn’t be supported anymore.

Signed-off-by: solidnerd <niclas@mietz.io>
2018-02-03 09:32:08 +01:00
solidnerd
169ec31ac0
Update gitaly config.toml
Signed-off-by: solidnerd <niclas@mietz.io>
2018-01-24 20:35:00 +01:00
solidnerd
7ae99c01d6
Remove unused redis bin configuration.
Signed-off-by: solidnerd <niclas@mietz.io>
2018-01-24 20:35:00 +01:00
David Rubin
14c3225d03 Add AWS_BACKUP_STORAGE_CLASS configuration option 2017-12-29 16:46:58 +01:00
David Rubin
5ea41eb3d6 Add AWS_BACKUP_ENCRYPTION ENV to enable aws backup aes encryption backups
Also refactor the multi part config to match
2017-12-29 16:42:15 +01:00
David Rubin
94d5f687df Remove multipart configs if AWS_BACKUP_MULTIPART_CHUNK_SIZE is not set 2017-12-29 16:16:22 +01:00