809 Commits

Author SHA1 Message Date
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
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
33d97605d6 Upgrade base-image to ubuntu:bionic 2019-08-26 21:09:53 +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
Don Bowman
d902ec2ff8 Add support for receive.advertisePushOptions
See [install](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md)
which suggests doing:

```
sudo -u git -H git config --global receive.advertisePushOptions true
```

Signed-off-by: Don Bowman <db@donbowman.ca>
2019-02-23 22:49:58 +01:00
Sameer Naik
2ca3c61261 fix image builds on docker hub 2019-01-05 22:51:27 +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
solidnerd
9d5f0dbb0b Fix various shellcheck warnings and errors
Signed-off-by: solidnerd <niclas@mietz.io>
2018-11-24 09:47:58 +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
Stéphane Klein
6d6976c08b Add %h/.ssh/authorized_keys_proxy to AuthorizedKeysFile parameter in /etc/ssh/sshd_config to support ssh host forwarding to GitLab container 2018-10-07 13:08:58 +02:00
Niclas Mietz
06ae0baedc
Merge pull request #1727 from solidnerd/upgrade-to-11.3.0
Upgrade GitLab to 11.3.0
2018-09-22 09:41:27 +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
solidnerd
5efa8619af
Fix gitaly-ssh missing symlink
* Opening a merge request from a branch within my fork towards the master of the upstream repo, this results in 503 errors.

* Updating existing cross-fork merge request with new commits, they do not show up in the merge requests, neither do the diffs.
However, the branch in the fork shows the newly added commit.

FIXES #1721, #1712
2018-09-22 09:38:40 +02:00
Carl Kittelberger
56b6c4245c
Fix backup config stripping for when AWS & GCS are disabled 2018-09-19 09:18:21 +02:00
Niclas Mietz
347e6c0063
Merge pull request #1708 from solidnerd/upgrade-to-11.2.0
Upgrade GitLab to 11.2.0
2018-09-01 11:01:25 +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
Sameer Naik
cdfa19d4f1
install: simplify and optimize gitaly installation directory contents 2018-08-01 16:34:16 +05:30
Sameer Naik
571334f97e
install: simplify gitlab-pages build steps 2018-08-01 16:34:16 +05:30
Sameer Naik
a95766d652
install: simplify gitlab-workhorse build steps 2018-08-01 16:34:16 +05:30
Sameer Naik
3b17df4d95
use GOROOT variable whenever possible 2018-08-01 16:34:15 +05:30
Sameer Naik
bf5c5d3a23
install: update gitlab-shell tarball url 2018-08-01 16:34:15 +05:30
Sameer Naik
278443069f
build: clean up unused artifacts leftover from the build stage 2018-08-01 16:34:14 +05:30
Niclas Mietz
4e9b6d5105
Merge pull request #1678 from sameersbn/clean-build-caches
clean up the $HOME/.cache directory after installation
2018-07-28 10:35:29 +02:00
Sameer Naik
96c3e9e983
clean up the $HOME/.cache directory after installation
Yarn stores every package in a global cache in your user directory on
the file system. This ends up to be around ~400M of extra utilized by
the image and has no benefits whatsoever.

Additionally `go` populates a build cache with will also be cleared
when the ~/.cache directory is purged

/cc @solidnerd
2018-07-27 16:47:09 +05:30
Sameer Naik
46e45c92da
baseimage: switch to official ubuntu:xenial-20180705 image 2018-07-27 11:07:56 +05:30
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