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 = {
|
2020-08-10 16:49:10 +00:00
|
|
|
serverAliases = [ "build.r" "build.${config.networking.hostName}.r" ];
|
2021-12-08 14:59:59 +00:00
|
|
|
locations."/" = {
|
|
|
|
proxyPass = "http://127.0.0.1:${toString config.services.buildbot-master.port}";
|
|
|
|
proxyWebsockets = true;
|
|
|
|
extraConfig = ''
|
|
|
|
proxy_read_timeout 3600s;
|
|
|
|
'';
|
|
|
|
};
|
2018-05-27 06:27:12 +00:00
|
|
|
};
|
|
|
|
};
|
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.ni.r/disko"
|
|
|
|
"http://cgit.prism.r/disko"
|
|
|
|
];
|
2018-09-29 21:19:02 +00:00
|
|
|
krops.urls = [
|
|
|
|
"http://cgit.ni.r/krops"
|
|
|
|
"http://cgit.prism.r/krops"
|
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.ni.r/nix-writers"
|
|
|
|
"http://cgit.prism.r/nix-writers"
|
|
|
|
];
|
2018-09-12 12:33:59 +00:00
|
|
|
stockholm.urls = [
|
|
|
|
"http://cgit.gum.r/stockholm"
|
|
|
|
"http://cgit.ni.r/stockholm"
|
|
|
|
"http://cgit.prism.r/stockholm"
|
|
|
|
];
|
2018-05-27 06:27:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|