780 Commits

Author SHA1 Message Date
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
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
Klos, Jan
428e37a821
fix "unknown group 'syslog'" error preventing logrotate from functioning 2018-03-25 04:45:01 +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
dbe49107de
Add Kerberos dev libs for omnibus-auth-kerberos package
Signed-off-by: solidnerd <niclas@mietz.io>
2018-01-26 17:25:54 +01:00
solidnerd
81f54f7135
Replace re2 manual install with libre2-dev
Since we are using xenial now. It’s also possible to cleanup this build instruction.

Signed-off-by: solidnerd <niclas@mietz.io>
2018-01-26 17:25:54 +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
Niclas Mietz
5430452ad3
Merge pull request #1449 from drubin/fix-aws-multi-part-upload
Correct template file for AWS_BACKUP_MULTIPART_CHUNK_SIZE env
2018-01-04 21:15:04 +01:00
Wang Xuerui
29fc2f5a1f Allow running on PaX kernels
`ruby` needs the PaX MPROTECT flag disabled to run on PaX-enabled systems because of JIT. Mark it as such.
2017-12-30 17:57:05 +08: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
David Rubin
a3a23a4bc6 Correct template file for AWS_BACKUP_MULTIPART_CHUNK_SIZE env
Fixes #1293

Correctly setup and configure the template in order to use chunked
upload.
2017-12-26 20:53:06 +01:00
solidnerd
cf29d0676b
Update gitlab.yml to upstream
Signed-off-by: solidnerd <niclas@mietz.io>
2017-12-26 11:20:05 +01:00
solidnerd
1f02a1b54c
Remove GITLAB_TIMEOUT
Signed-off-by: solidnerd <niclas@mietz.io>
2017-12-26 11:20:05 +01:00
solidnerd
c04ee489d9
Remove GITLAB_MAX_OBJECT_SIZE
Signed-off-by: solidnerd <niclas@mietz.io>
2017-12-26 11:20:05 +01:00
solidnerd
8d29eb22af
Remove GITLAB_REPOSITORIES_STORAGES_DEFAULT_STORAGE_TIMEOUT
Signed-off-by: solidnerd <niclas@mietz.io>
2017-12-26 11:20:05 +01:00
solidnerd
91157bca06
Remove GITLAB_REPOSITORIES_STORAGES_DEFAULT_FAILURE_RESET_TIME
Signed-off-by: solidnerd <niclas@mietz.io>
2017-12-26 11:20:05 +01:00