From c551f35b03479e3cd02baca0f1c8c8e7a0f07f6f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 18 Dec 2019 20:21:30 +0000 Subject: fix(cgit-taz): Pin SSH into image via Nix --- services/cgit-taz/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/services/cgit-taz/default.nix b/services/cgit-taz/default.nix index 6f075dc64d59..b3727923223d 100644 --- a/services/cgit-taz/default.nix +++ b/services/cgit-taz/default.nix @@ -57,6 +57,7 @@ in writeShellScriptBin "cgit-launch" '' ${coreutils}/bin/mkdir -p /srv/git # The SSH keys are placed in the container by Kubernetes. + export GIT_SSH_COMMAND="${openssh}/bin/ssh -F /var/cgit/ssh_config" ${git}/bin/git clone --mirror \ -c http.sslcainfo=${cacert}/etc/ssl/certs/ca-bundle.crt \ ssh://source.developers.google.com:2022/p/tazjins-infrastructure/r/depot \ -- cgit 1.4.1