about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-10T20·37+0300
committerVincent Ambo <mail@tazj.in>2021-12-10T20·37+0300
commitaa5bf312e850fea20bd05187dc29f79c39501e25 (patch)
tree9a6cf7ba8d1fa2f8bb85d1a05eb040799a208771 /ops
parent2f1c654c1466b8fe3875de2babd23aac8c9a5625 (diff)
fix(tvl-buildkite): Use supported credential helper binary name r/3204
Git only allows binary names prefixed with `git-credential-` if the
path to the helper is not absolute.

Why? Who knows.

Change-Id: I216b2a621f62a73f05e21def7ec8016b29ede892
Diffstat (limited to 'ops')
-rw-r--r--ops/modules/tvl-buildkite.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/tvl-buildkite.nix b/ops/modules/tvl-buildkite.nix
index fc0f45b8c029..20f8d3bbe492 100644
--- a/ops/modules/tvl-buildkite.nix
+++ b/ops/modules/tvl-buildkite.nix
@@ -18,7 +18,7 @@ let
     ln -s ${besadiiWithConfig "post-command"} $out/bin/post-command
   '';
 
-  credentialHelper = pkgs.writeShellScriptBin "gerrit-creds" ''
+  credentialHelper = pkgs.writeShellScriptBin "git-credential-gerrit-creds" ''
     echo 'username=buildkite'
     echo "password=$(jq -r '.gerritPassword' /run/agenix/buildkite-besadii-config)"
   '';