Skip to content

Prepare for Gitaly absorbing gitlab-shell hooks

Jacob Vosmaer requested to merge jv-test-gitaly-hooks-override into master

Fixes #211 (closed).

This should be merged before gitaly!1130 (merged) so that by the time a new gitaly CNG image is built, we have this fix in place in our CI.

The change here is that we use a new environment variable (introduced in gitaly!1130 (merged)) to configure Gitaly to not use Git hooks at all. This is a requirement for our tests, because the Git hooks try to make HTTP requests to gitlab-rails, and we don't boot gitlab-rails during the gitlab-workhorse tests.

Edited by Jacob Vosmaer

Merge request reports