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:
parent
79fdb0bb5f
commit
37bbc43146
6 changed files with 24 additions and 15 deletions
|
|
@ -256,7 +256,7 @@ in lib.fix(self: {
|
|||
url = "file:///var/lib/gerrit/git/depot.git";
|
||||
vcs = "git";
|
||||
url-pattern = {
|
||||
base-url = "https://git.tazj.in/tree/{path}{anchor}";
|
||||
base-url = "https://code.tvl.fyi/tree/{path}{anchor}";
|
||||
anchor = "#n{line}";
|
||||
};
|
||||
};
|
||||
|
|
@ -373,9 +373,8 @@ in lib.fix(self: {
|
|||
};
|
||||
|
||||
virtualHosts.cgit = {
|
||||
serverName = "git.tazj.in";
|
||||
serverAliases = [ "git.camden.tazj.in" ];
|
||||
useACMEHost = "tazj.in";
|
||||
serverName = "code.tvl.fyi";
|
||||
useACMEHost = "tvl.fyi";
|
||||
addSSL = true;
|
||||
|
||||
extraConfig = ''
|
||||
|
|
@ -391,6 +390,16 @@ in lib.fix(self: {
|
|||
'';
|
||||
};
|
||||
|
||||
virtualHosts.cgit-old = {
|
||||
serverName = "git.tazj.in";
|
||||
useACMEHost = "tazj.in";
|
||||
addSSL = true;
|
||||
|
||||
extraConfig = ''
|
||||
return 301 https://code.tvl.fyi$request_uri;
|
||||
'';
|
||||
};
|
||||
|
||||
virtualHosts.hound = {
|
||||
serverName = "cs.tazj.in";
|
||||
useACMEHost = "tazj.in";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue