diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-02-16 14:08:16 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-02-16 14:58:30 +0300 |
commit | 75a8abf172d964c79ae4a76a19490fc9b0830a55 (patch) | |
tree | c392646348c844d2f532ce5d5f7363ec4097be84 /cmd | |
parent | bfa0044c89284bb676e65ee3785dd92574c8def6 (diff) |
git: Stop injecting GITALY_BIN_DIR environment variable
The GITALY_BIN_DIR environment variable was used to derive the location
of the gitaly-hooks executable when we were still using the Ruby wrapper
scripts. We now exclusively use symlinks for this though, and thus the
variable is not used anymore.
Stop injecting the GITALY_BIN_DIR environment variable.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gitaly-hooks/hooks_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/gitaly-hooks/hooks_test.go b/cmd/gitaly-hooks/hooks_test.go index 0be1a9c2b..2a529366c 100644 --- a/cmd/gitaly-hooks/hooks_test.go +++ b/cmd/gitaly-hooks/hooks_test.go @@ -67,7 +67,6 @@ func envForHooks(t testing.TB, ctx context.Context, cfg config.Cfg, repo *gitaly env := append(command.AllowedEnvironment(os.Environ()), []string{ payload, - "GITALY_BIN_DIR=" + cfg.BinDir, fmt.Sprintf("%s=%s", gitalylog.GitalyLogDirEnvKey, cfg.Logging.Dir), }...) env = append(env, gitPushOptions...) |