fix(cgit-taz): Pin SSH into image via Nix

This commit is contained in:
Vincent Ambo 2019-12-18 20:21:30 +00:00
parent 5894d521b9
commit c551f35b03

View file

@ -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 \