about summary refs log tree commit diff
path: root/infra/kubernetes/cgit/config.yaml (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-12-20 r/237 chore: Significantly restructure folder layoutVincent Ambo1-73/+0
This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit)
2019-12-20 r/232 chore(infra/k8s): Run 2 copies of the cgit serverVincent Ambo1-1/+1
It's stateless - yay! Redundancy makes it less likely that downtime occurs during rollouts.
2019-12-20 r/229 feat(infra/k8s): Rewrite cgit URLs by routing them through nginxVincent Ambo1-2/+1
Configures nginx to rewrite all requests to cgit, except for those retrieving static files, to `/depot/`. In combination with the previous commits that apply patches to cgit itself, this effectively means that the depot is rendered on the site root. This is pretty cool: It lets people do stuff like `git clone https://git.tazj.in` and get the depot!
2019-12-20 r/221 feat(infra/k8s): Add cgit to Ingress load balancerVincent Ambo1-1/+2
Apart from the fact that TLS certificate provisioning is very wonky, it seems to be working now. AFAICT the L7 LBs still don't support path rewriting, which means that this is likely not the final configuration and it will move behind nginx instead.
2019-12-20 r/217 feat(infra/k8s): Deploy sync-gcsr container into cgit podVincent Ambo1-5/+18
This actually works - who would have thought!
2019-12-20 r/210 feat(infra/k8s): Add git cookie secret for repository syncVincent Ambo1-0/+10
2019-12-19 r/207 feat(infra/k8s): Add deployment configuration for cgitVincent Ambo1-0/+50
This is not yet done because repository cloning doesn't work at all, in any way whatsoever.