Florian Klink
aa2878cfcf
Merge pull request #58284 from bgamari/gitlab-rails
...
nixos/gitlab: Package gitlab-rails
2019-03-28 21:12:15 +01:00
Ben Gamari
af909b3238
nixos/gitlab: Package gitlab-rails
...
This utility (particularly `gitlab-rails console`) is packaged by GitLab
Omnibus and is used for diagnostics and maintenance operations.
2019-03-28 11:45:31 -04:00
Ben Gamari
b90f5f03c2
nixos/gitaly: Run gitaly with procps in scope
...
Gitaly uses `ps` to track the RSS of `gitlab-ruby` and kills it when it
detects excessive memory leakage. See
https://gitlab.com/gitlab-org/gitaly/issues/1562 .
2019-03-28 10:48:51 -04:00
Ben Gamari
f2bdc91b35
nixos/gitlab: Allow configuration of extra initializers
...
This adds a configuration option allowing the addition of additional
initializers in config/extra-gitlab.rb.
2019-03-25 15:18:35 -04:00
Johan Thomsen
292c1ce7ff
nixos/gitlab: added gzip and bzip2 as dependencies for gitaly
2019-03-12 15:04:45 +00:00
Florian Klink
11699d03bc
Merge pull request #56072 from bgamari/gitlab-database-config
...
nixos/gitlab: Introduce database pool size option
2019-02-20 01:56:28 +01:00
Ben Gamari
bd5ba09b79
nixos/gitlab: Introduce database pool size option
...
As well as a extraDatabaseConfig option.
2019-02-19 17:49:15 -05:00
Jeff Slight
059e5e0ba0
gitlab: add openssh dependency to gitaly
2019-01-30 11:29:32 -08:00
Florian Klink
3caeeabb14
gitlab: stop regenerating the authorized_keys file
2018-11-28 23:09:23 +01:00
Robin Gloster
74df0823f3
gitlab: fix smtp setting
...
fixes #50163
2018-11-14 18:58:45 +01:00
Robin Gloster
eadb998581
gitlab module: fix config handling
2018-11-04 00:26:01 +01:00
Robin Gloster
ec7cb84bf0
gitlab: refactor and fix test
2018-11-02 22:40:21 +01:00
Jeff Slight
7bafe25553
add custom hooks directory to gitlab-shell
...
Add custom_hooks_dir to gitlab-shell yml config file.
2018-10-12 09:33:37 -07:00
WilliButz
78ad8d4a62
nixos/gitlab: rebuild authorized_keys during preStart
...
This updates the path to the 'gitlab-shell' to the
correct store path when gitlab is restarted.
2018-09-25 03:53:32 +02:00
Robin Gloster
dc915565ba
gitlab module: workhorse may start before gitlab
2018-09-25 03:53:32 +02:00
Kristoffer Thømt Ravneberg
f17f59ca8e
nixos/gitlab: avoid creating recursive symlinks, add gitlab-rake deps
2018-09-25 03:53:32 +02:00
Teo Klestrup Röijezon
6c54cfb280
nixos/gitlab: don't install pg_trgm for remote hosts
...
Fixes #41476
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon
e0983f3eec
nixos/gitlab: create uploads folder
...
It seems like Gitlab doesn't pick up GITLAB_UPLOADS_PATH. The internal uploads
folder is already symlinked to /run/gitlab/uploads by the gitlab package. Here
we symlink this further to ${statePath}/uploads, since /run is (usually) a tmpfs.
2018-07-30 19:41:12 +02:00
Teo Klestrup Röijezon
3250b89987
nixos/gitlab: don't delete ${statePath}/lib if it doesn't exist
...
The old behaviour caused new instances to be unable to start
2018-07-30 19:41:12 +02:00
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
2018-06-30 03:02:58 +02:00
Robin Gloster
53475653a5
gitlab module: update for 10.8
2018-05-24 04:40:46 +02:00
Robin Gloster
783fb86de4
gitlab module: update to gitlab 10.7
2018-04-26 00:15:24 +02:00
Simon Lackerbauer
1b55905806
gitlab: 10.3.4 -> 10.5.4
2018-03-22 02:29:28 +01:00
Robin Gloster
31d77fd4f3
gitlab-shell: fix config path finding
...
and remove TimeoutSec for gitlab
2018-03-22 02:29:27 +01:00
Robin Gloster
e606bb252b
gitlab module: config changes for gitlab 10.3
2018-01-07 05:02:56 +01:00
Robin Gloster
69c396f273
gitlab module: gitaly fixes
2018-01-07 05:02:35 +01:00
Orivej Desh
b249907d04
Merge pull request #33197 from bgamari/gitlab-jws-fix
...
gitlab: Rename jws_private_key to openid_connect_signing_key
2018-01-06 03:08:57 +00:00
Ben Gamari
b95cdd4f6c
gitlab: Rename jws_private_key to openid_connect_signing_key
...
See
24d56df29b
2017-12-29 22:11:04 -05:00
Robin Gloster
c4036762b2
gitlab: remove unnecessary assertion
...
It also gives less information than the error from the module system.
2017-12-26 01:11:16 +01:00
Márton Boros
c556c72a2e
nixos/gitlab: fix secret generation
...
This line previously produced an error and an empty secret file.
2017-10-30 12:49:27 +01:00
Márton Boros
00c03e9003
nixos/gitlab: fix preStart script
2017-10-30 12:49:27 +01:00
Márton Boros
29e80bde40
nixos/gitlab: fix hard-coded database name
2017-10-30 12:49:27 +01:00
Márton Boros
a89b28f8b7
nixos/gitlab: fix startup script
...
The preStart script used a hardcoded "git" user instead of the cfg value.
2017-10-22 15:23:25 +02:00
Simon Lackerbauer
414720709b
gitlab-module: fix hooks links for older repositories
2017-10-22 14:28:56 +02:00
Markus Mueller
60b0db0e08
gitlab: link tmp/ directory to writable path
2017-10-16 14:58:02 +02:00
Markus Mueller
f250015ea3
nixos/gitlab: fix uploades directory permissions
2017-10-16 14:58:02 +02:00
Alexander Foremny
03a5d729ef
nixos/gitlab: fix gitlab service
...
Fix GitLab service and update documentation. Fixes #30059 .
2017-10-04 02:40:07 +02:00
Robin Gloster
57ed9e7e1d
gitlab: 9.5.5 -> 10.0.2
2017-09-28 23:14:31 +02:00
Robin Gloster
e2822f6384
gitlab: 9.5.2 -> 9.5.5
2017-09-21 20:26:12 +02:00
Robin Gloster
370ac6275e
gitlab module: fix shell hook path
2017-09-20 23:51:26 +02:00
Franz Pletz
2f48144d0e
gitlab: 9.4.5 -> 9.5.2
2017-09-03 15:50:52 +02:00
Robin Gloster
eedffc5277
gitlab module: fix permissions and path
2017-09-02 23:31:26 +02:00
Robin Gloster
aaff3fa5f3
gitlab module: fix postgres superUser
...
(cherry picked from commit edd8265c36
)
2017-09-02 23:30:53 +02:00
Robin Gloster
45605db3e0
gitlab: fix postgres calls
2017-09-02 23:30:49 +02:00
Robin Gloster
0156db2da5
Merge remote-tracking branch 'upstream/master' into HEAD
2017-09-02 23:29:04 +02:00
Daiderd Jordan
a03d6116ce
gitlab: fix archive urls for gitlab service
...
Accessing an url like https://gitlab.example.org/group/project/repository/archive.tar.gz?ref=master
requires tar/gzip to be in the path of the gitlab-workhorse service otherwise it fails.
2017-07-19 21:34:17 +02:00
roblabla
0c7c421baa
gitlab: 8.17.6 -> 9.3.4
2017-07-06 13:29:49 +02:00
Franz Pletz
02bb7c2ec0
Revert "gitlab service: fix preStart script"
...
This reverts commit 31a5e065b0
.
See #26000 .
2017-05-23 00:06:00 +02:00
Samuel Leathers
31a5e065b0
gitlab service: fix preStart script
2017-05-22 22:07:35 +02:00
Michał Pałka
8aa756b64a
gitlab service: fix uploading artifacts from gitlab-runner
...
Add the binaries from gitlab-workhorse to the path of the
gitlab-workhorse service, as gitlab-zip-metadata is needed
by the service
2017-05-12 06:52:33 +00:00