about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-20T14·09+0000
committerVincent Ambo <tazjin@google.com>2019-12-20T14·09+0000
commit7ff4b59342fd7ce26c38a4aa22afb379e8fa771c (patch)
tree00063684f03369d1e895ba8c478efea403de5c85
parent7078bc7a4a2134bb12002144f660f4dbdcbf838d (diff)
chore(cgit-taz): Remove git synchronisation from startup script r/212
This will be moved into a sidecar container using sync-gcsr that
updates the repo periodically.
-rw-r--r--services/cgit-taz/default.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/services/cgit-taz/default.nix b/services/cgit-taz/default.nix
index 5fce2f2aab..e0ffabbabf 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}
 # ''