Skip to content

Gitaly hook transistion changes

Jacob Vosmaer requested to merge gitaly-transistion-helpers into master

Some small changes to ease the transition of the Git hooks into the Gitaly project. gitaly#1226 (closed)

In the first stage of the transition, the embedded copy of gitlab-shell in gitaly will still use the original gitlab-shell/config.yml (and hence, gitlab-shell/gitlab-shell.log). Once we Gitaly owns the code of the hooks we can start making changes on that side in how the hooks get their configuration data (internal API URL, log file etc.)

To prepare for the first step (with shared gitlab-shell/config.yml) this change adds:

  • A structured logging field that we can see if the gitaly-embedded copy is active
  • A way to inject the gitlab-shell ROOT_PATH via a environment variable GITLAB_SHELL_DIR
Edited by Jacob Vosmaer

Merge request reports