Skip to content

CI: stop trying to rm -rf gitaly hooks in docker container

Jacob Vosmaer requested to merge jv-simplify-ci into master

When testing Git push we disable the Git hooks in Gitaly that make API calls to GitLab. In the past this had to be done by deleting hook executables with rm -rf. This has long been deprecated; it suffices to use the GITALY_TESTING_NO_GIT_HOOKS environment variable.

Also remove mkdir -p /home/git/repositories because the Dockerfile already does that: https://gitlab.com/gitlab-org/build/CNG/-/blob/7f24e24ac117660d44994e64d22caf1a35688f38/gitaly/Dockerfile#L29

Edited by Jacob Vosmaer

Merge request reports

Loading