feat(camden): Move cgit to code.tvl.fyi

Moves the host at which cgit is served to 'code.tvl.fyi'.

Also updates related projects that link to this, most importantly:

* Hound's & Gerrit's cgit link bases have been updated
* besadii is updated to request CI builds for the new location

Change-Id: I44e3e584010ac29cc913ebb1a197c996eb024d80
Reviewed-on: https://cl.tvl.fyi/c/depot/+/71
Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
Vincent Ambo 2020-06-12 02:01:08 +01:00 committed by tazjin
parent 79fdb0bb5f
commit 37bbc43146
6 changed files with 24 additions and 15 deletions

View file

@ -65,7 +65,7 @@ type Manifest struct {
func prepareManifest(commit string) string {
m := Manifest{
Image: "nixos/latest",
Sources: []string{"https://git.tazj.in/"},
Sources: []string{"https://code.tvl.fyi/"},
// secret for cachix/tazjin
Secrets: []string{"f7f02546-4d95-44f7-a98e-d61fdded8b5b"},
@ -74,15 +74,15 @@ func prepareManifest(commit string) string {
{"setup": `# sourcehut does not censor secrets in builds, hence this hack:
echo -n 'export CACHIX_SIGNING_KEY=' >> ~/.buildenv
cat ~/.cachix-tazjin >> ~/.buildenv
nix-env -iA third_party.cachix -f git.tazj.in
nix-env -iA third_party.cachix -f code.tvl.fyi
cachix use tazjin
cd git.tazj.in
cd code.tvl.fyi
git checkout ` + commit},
{"build": `cd git.tazj.in
{"build": `cd code.tvl.fyi
nix-build ci-builds.nix > built-paths`},
{"cache": `cd git.tazj.in
{"cache": `cd code.tvl.fyi
cat built-paths | cachix push tazjin`},
},