nixos/gitlab: move custom_hooks_dir into gitaly config (#107174)
This commit is contained in:
parent
c4c899d3ef
commit
4bc2573a15
@ -44,6 +44,9 @@ let
|
|||||||
[gitlab-shell]
|
[gitlab-shell]
|
||||||
dir = "${cfg.packages.gitlab-shell}"
|
dir = "${cfg.packages.gitlab-shell}"
|
||||||
|
|
||||||
|
[hooks]
|
||||||
|
custom_hooks_dir = "${cfg.statePath}/custom_hooks"
|
||||||
|
|
||||||
[gitlab]
|
[gitlab]
|
||||||
secret_file = "${cfg.statePath}/gitlab_shell_secret"
|
secret_file = "${cfg.statePath}/gitlab_shell_secret"
|
||||||
url = "http+unix://${pathUrlQuote gitlabSocket}"
|
url = "http+unix://${pathUrlQuote gitlabSocket}"
|
||||||
@ -65,7 +68,6 @@ let
|
|||||||
repos_path = "${cfg.statePath}/repositories";
|
repos_path = "${cfg.statePath}/repositories";
|
||||||
secret_file = "${cfg.statePath}/gitlab_shell_secret";
|
secret_file = "${cfg.statePath}/gitlab_shell_secret";
|
||||||
log_file = "${cfg.statePath}/log/gitlab-shell.log";
|
log_file = "${cfg.statePath}/log/gitlab-shell.log";
|
||||||
custom_hooks_dir = "${cfg.statePath}/custom_hooks";
|
|
||||||
redis = {
|
redis = {
|
||||||
bin = "${pkgs.redis}/bin/redis-cli";
|
bin = "${pkgs.redis}/bin/redis-cli";
|
||||||
host = "127.0.0.1";
|
host = "127.0.0.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user