Skip creation of gitlab api if GITALY_TESTING_NO_GIT_HOOKS is set
in !2243 (merged), we added functionality to fail gitaly startup unless a gitlabapi was created. However, there are many places in gitlab where CI does not run hooks, and there aren't the config options to support a gitlabapi starting up.
this MR allows those places to set an environment variable to disable startup from creating a gitlab api.
when GITALY_TESTING_NO_GIT_HOOKS
is set, the hooks aren't run at all so the gitlabapi never gets called.
Edited by 🤖 GitLab Bot 🤖