chore(cgit-taz): Remove git synchronisation from startup script

This will be moved into a sidecar container using sync-gcsr that
updates the repo periodically.
This commit is contained in:
Vincent Ambo 2019-12-20 14:09:34 +00:00
parent 7078bc7a4a
commit 7ff4b59342

View file

@ -54,12 +54,5 @@ let
patches = [ ./cgit_idx.patch thttpdConfigPatch ];
});
in writeShellScriptBin "cgit-launch" ''
# v0v
gcloud config set core/custom_ca_certs_file ${cacert}/etc/ssl/certs/ca-bundle.crt
# The role account that this container is running at in Kubernetes
# has permission to clone the repository.
${google-cloud-sdk}/bin/gcloud source repos --project tazjins-infrastructure clone depot /git/depot
exec ${thttpdCgit}/bin/thttpd -D -C ${thttpdConfig}
# ''