Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-08-24 10:12:49 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-08-29 08:54:15 +0300
commit5d7ecbde6ac469c13fe0750a73583d128ba00ff6 (patch)
tree1115a28f32e602c3b238d5c0d1f375c47048890f /_support/praefect-schema.sql
parent9f68a47fa45b3e5acb6e75114f68bf188a05d0ff (diff)
gitaly/config: Allow configuration without `gitaly-hooks` directory
Our configuration validation logic enforces that the `gitaly-hooks` directory must be set. This directory is used for two different things, both of which already have proper replacements: - It identifies the location of the `.gitlab_shell_secret` file, which is required in order to connect to GitLab. This can also be configured via `[gitlab] secret` and `[gitlab] secret_file`. - It identifies the location of custom hooks. This can also be configured via `[hooks] custom_hooks_directory`. The `gitaly-hooks` section can thus be considered legacy and should ideally not be used anymore. Rewrite the configuration validation to allow the `gitaly-hooks` directory to remain unset. Instead, we will verify that the GitLab secret is properly configured.
Diffstat (limited to '_support/praefect-schema.sql')
0 files changed, 0 insertions, 0 deletions