add c3d2-web

This commit is contained in:
Astro 2019-09-12 14:39:44 +02:00
parent 35ed052d2d
commit 9e19d3f2dd
2 changed files with 35 additions and 0 deletions

6
c3d2-web.nix Normal file
View File

@ -0,0 +1,6 @@
{ pkgs ? import <nixpkgs> {},
}:
{
c3d2-web = pkgs.lib.hydraJob (import <c3d2-web>);
}

View File

@ -61,6 +61,35 @@ let
};
};
` c3d2-web = {
enabled = 1;
hidden = false;
description = "Source of www.c3d2.de";
nixexprinput = "hydra-config";
nixexprpath = "c3d2-web.nix";
checkinterval = 300;
schedulingshares = 100;
enableemail = true;
emailoverride = "astro@spaceboyz.net";
keepnr = 3;
inputs = {
c3d2-web = {
type = "git";
value = "git://git.c3d2.de/c3d2-web.git master 1";
emailresponsible = false;
};
hydra-config = {
type = "git";
value = "https://gitea.c3d2.de/C3D2/hydra-config.git master 1";
emailresponsible = false;
};
nixpkgs = {
type = "git";
value = "git://github.com/NixOS/nixpkgs.git release-19.09 1";
emailresponsible = false;
};
};
};
};
jobsetsJson = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets );