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:
parent
7078bc7a4a
commit
7ff4b59342
1 changed files with 0 additions and 7 deletions
|
@ -54,12 +54,5 @@ let
|
||||||
patches = [ ./cgit_idx.patch thttpdConfigPatch ];
|
patches = [ ./cgit_idx.patch thttpdConfigPatch ];
|
||||||
});
|
});
|
||||||
in writeShellScriptBin "cgit-launch" ''
|
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}
|
exec ${thttpdCgit}/bin/thttpd -D -C ${thttpdConfig}
|
||||||
# ''
|
# ''
|
||||||
|
|
Loading…
Reference in a new issue