2018-09-12 12:33:59 +00:00
|
|
|
{ config, ... }: with import <stockholm/lib>;
|
2018-05-27 06:27:12 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 ];
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
virtualHosts.build = {
|
2018-09-12 12:33:59 +00:00
|
|
|
serverAliases = [ "build.${config.networking.hostName}.r" ];
|
2018-05-27 06:27:12 +00:00
|
|
|
locations."/".extraConfig = ''
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
proxy_pass http://127.0.0.1:${toString config.krebs.buildbot.master.web.port};
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
2018-09-12 12:33:59 +00:00
|
|
|
krebs.ci = {
|
2018-05-27 06:27:12 +00:00
|
|
|
enable = true;
|
2018-09-12 12:33:59 +00:00
|
|
|
repos = {
|
2018-09-14 09:40:48 +00:00
|
|
|
disko.urls = [
|
|
|
|
"http://cgit.gum.r/disko"
|
|
|
|
"http://cgit.hotdog.r/disko"
|
|
|
|
"http://cgit.ni.r/disko"
|
|
|
|
"http://cgit.prism.r/disko"
|
|
|
|
];
|
2018-09-29 21:19:02 +00:00
|
|
|
krops.urls = [
|
|
|
|
"http://cgit.hotdog.r/krops"
|
|
|
|
"http://cgit.ni.r/krops"
|
|
|
|
"http://cgit.prism.r/krops"
|
|
|
|
"https://git.ingolf-wagner.de/krebs/krops.git"
|
2020-01-11 19:25:32 +00:00
|
|
|
"https://github.com/krebs/krops.git"
|
2018-09-29 21:19:02 +00:00
|
|
|
];
|
2018-09-14 07:57:09 +00:00
|
|
|
nix_writers.urls = [
|
|
|
|
"http://cgit.hotdog.r/nix-writers"
|
|
|
|
"http://cgit.ni.r/nix-writers"
|
|
|
|
"http://cgit.prism.r/nix-writers"
|
|
|
|
"https://git.ingolf-wagner.de/krebs/nix-writers.git"
|
|
|
|
];
|
2018-09-12 12:33:59 +00:00
|
|
|
stockholm.urls = [
|
|
|
|
"http://cgit.enklave.r/stockholm"
|
|
|
|
"http://cgit.gum.r/stockholm"
|
|
|
|
"http://cgit.hotdog.r/stockholm"
|
|
|
|
"http://cgit.ni.r/stockholm"
|
|
|
|
"http://cgit.prism.r/stockholm"
|
|
|
|
];
|
2018-05-27 06:27:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|