From 3c7c89e5e38c6390c86ed33d3342f7fda82e5bcf Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer <jacob@gitlab.com> Date: Thu, 14 Mar 2019 12:58:41 +0000 Subject: [PATCH] Prepare for Gitaly absorbing gitlab-shell hooks --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd61e78842bb..a4fa6693b95a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ verify: services: - name: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest # Disable the hooks so we don't have to stub the GitLab API - command: ["bash", "-c", "mkdir -p /home/git/repositories && rm -rf /srv/gitlab-shell/hooks/* && exec /scripts/process-wrapper"] + command: ["bash", "-c", "mkdir -p /home/git/repositories && rm -rf /srv/gitlab-shell/hooks/* && exec /usr/bin/env GITALY_TESTING_NO_GIT_HOOKS=1 /scripts/process-wrapper"] alias: gitaly variables: GITALY_ADDRESS: "tcp://gitaly:8075" -- GitLab