From 7ff4b59342fd7ce26c38a4aa22afb379e8fa771c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Dec 2019 14:09:34 +0000 Subject: 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. --- services/cgit-taz/default.nix | 7 ------- 1 file changed, 7 deletions(-) (limited to 'services/cgit-taz') diff --git a/services/cgit-taz/default.nix b/services/cgit-taz/default.nix index 5fce2f2aab5a..e0ffabbabf6f 100644 --- a/services/cgit-taz/default.nix +++ b/services/cgit-taz/default.nix @@ -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} # '' -- cgit 1.4.1