diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-18T20·21+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-18T20·21+0000 |
commit | c551f35b03479e3cd02baca0f1c8c8e7a0f07f6f (patch) | |
tree | ccf5f073b5aac2056cb1424c64df1b1c100b4c8f /services/cgit-taz | |
parent | 5894d521b9fcc0d8f9eba9cf6b08544b8770dc7e (diff) |
fix(cgit-taz): Pin SSH into image via Nix r/192
Diffstat (limited to 'services/cgit-taz')
-rw-r--r-- | services/cgit-taz/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |