hydra-config/jobsets.nix

203 lines
5.7 KiB
Nix
Raw Normal View History

2019-09-12 00:58:00 +02:00
{ pkgs ? import <nixpkgs> {} }:
let
2019-09-12 23:01:05 +02:00
mkJobset = { description, nixexprpath, gitUrls }: {
inherit description nixexprpath;
enabled = 1;
hidden = false;
nixexprinput = "hydra-config";
checkinterval = 300;
schedulingshares = 100;
enableemail = true;
2019-09-12 23:02:31 +02:00
emailoverride = "";
keepnr = 12;
2020-04-21 15:54:56 +02:00
type = 0;
2019-09-12 23:01:05 +02:00
inputs = {
hydra-config = {
type = "git";
value = "https://gitea.c3d2.de/C3D2/hydra-config.git master 1";
emailresponsible = false;
};
nixpkgs = {
type = "git";
2020-04-21 23:17:39 +02:00
value = "https://github.com/NixOS/nixpkgs.git release-20.03 1";
2019-09-12 23:01:05 +02:00
emailresponsible = false;
};
} // (builtins.mapAttrs (_: gitUrl: {
type = "git";
value = gitUrl;
emailresponsible = false;
}) gitUrls);
};
2019-09-12 00:58:00 +02:00
jobsets = {
2019-09-13 00:10:53 +02:00
# TODO: host tests
2019-09-12 23:01:05 +02:00
spacemsg = mkJobset {
2019-09-12 00:58:00 +02:00
description = "Astro's HQ IoT stuff";
2019-09-12 01:01:31 +02:00
nixexprpath = "spacemsg.nix";
2019-09-12 23:01:05 +02:00
gitUrls = {
spacemsg = "https://github.com/astro/spacemsg.git master 1";
2019-09-12 00:58:00 +02:00
};
};
2019-09-12 03:29:00 +02:00
2019-09-12 23:01:05 +02:00
yammat = mkJobset {
2019-09-12 03:29:00 +02:00
description = "Matemat by nek0";
nixexprpath = "yammat.nix";
2019-09-12 23:01:05 +02:00
gitUrls = {
2020-12-03 15:32:42 +01:00
yammat = "https://gitea.nek0.eu/nek0/yammat.git master 1";
2019-09-12 03:29:00 +02:00
};
};
2019-11-15 18:39:55 +01:00
mateamt = mkJobset {
description = "Mateamt by nek0";
nixexprpath = "mateamt.nix";
gitUrls = {
mateamt = "https://github.com/nek0/mateamt.git master 1";
haskell-nix = "https://github.com/input-output-hk/haskell.nix master 1";
2019-11-15 18:39:55 +01:00
};
};
2019-11-15 19:15:49 +01:00
matebeamter = mkJobset {
description = "Mateamt frontend by nek0";
nixexprpath = "matebeamter.nix";
gitUrls = {
mateamt = "https://github.com/nek0/mateamt.git master 1";
matebeamter = "https://github.com/nek0/matebeamter.git master 1";
};
};
2019-09-12 23:01:05 +02:00
tigger = mkJobset {
2019-09-12 16:20:39 +02:00
description = "XMPP MUC bot";
nixexprpath = "tigger.nix";
2019-09-12 23:01:05 +02:00
gitUrls = {
tigger = "https://github.com/astro/tigger.git master 1";
2019-09-12 16:20:39 +02:00
};
};
2019-09-13 00:12:11 +02:00
slidenado = mkJobset {
2019-09-12 17:14:55 +02:00
description = "CmS slide generator";
nixexprpath = "slidenado.nix";
2019-09-12 23:01:05 +02:00
gitUrls = {
slidenado = "https://github.com/c3d2/slidenado.git master 1";
2019-09-12 17:14:55 +02:00
};
};
2019-09-13 00:12:11 +02:00
pile = mkJobset {
2019-09-13 00:10:53 +02:00
description = "Programatically Illuminated Lighting Environment";
nixexprpath = "pile.nix";
gitUrls = {
pile = "https://github.com/astro/pile.git master 1";
};
};
2019-09-24 20:40:29 +02:00
gnunet = mkJobset {
description = "gnu:net overlay";
nixexprpath = "gnunet.nix";
gitUrls = {
gnunet = "https://git.gnunet.org/gnunet.git master";
2020-04-23 11:59:39 +02:00
nixpkgs-gnunet = "https://code.ulrich.earth/christian/nixpkgs-gnunet master";
2019-09-24 20:40:29 +02:00
};
};
2019-10-07 00:29:22 +02:00
ticker = mkJobset {
description = "Calendar aggregation";
2019-10-07 00:32:55 +02:00
nixexprpath = "ticker.nix";
2019-10-07 00:29:22 +02:00
gitUrls = {
ticker = "https://gitea.c3d2.de/astro/ticker.git master 1";
2019-10-26 01:18:19 +02:00
mozillaOverlay = "https://github.com/mozilla/nixpkgs-mozilla.git master 1";
2019-10-07 00:29:22 +02:00
};
2019-10-07 00:32:18 +02:00
};
2019-10-10 23:37:35 +02:00
frpball = mkJobset {
description = "Functional reactive programming ball game";
nixexprpath = "frpball.nix";
gitUrls = {
frpball = "https://github.com/nek0/frpball.git master 1";
};
};
2019-10-26 01:22:48 +02:00
2019-11-03 22:38:47 +01:00
dn42-registry = mkJobset {
description = "dn42 registry checks";
nixexprpath = "dn42-registry.nix";
gitUrls = {
registry = "https://git.dn42.us/dn42/registry.git";
};
};
2019-11-06 21:44:39 +01:00
hail = mkJobset {
description = "NixOS builds for deployment through Hail";
nixexprpath = "hail.nix";
gitUrls = {
nix-config = "https://gitea.c3d2.de/C3D2/nix-config.git";
2019-11-09 16:45:47 +01:00
yggdrasil-package-nix = "https://github.com/ehmry/yggdrasil-package-nix.git";
2020-04-21 23:17:39 +02:00
nixpkgs = "https://github.com/NixOS/nixpkgs.git release-20.03";
nixpkgs-unstable = "https://github.com/NixOS/nixpkgs.git master";
2019-11-06 21:44:39 +01:00
};
};
2019-11-24 00:06:00 +01:00
wikidata-query-rdf = mkJobset {
description = "wikidata/query/rdf";
nixexprpath = "wikidata-query-rdf.nix";
gitUrls = {
2019-11-24 00:07:46 +01:00
wikidata-query-rdf = "https://github.com/wikimedia/wikidata-query-rdf.git";
2019-11-24 00:06:00 +01:00
};
};
wikidata-query-rdf-graviola = mkJobset {
description = "wikidata/query/rdf (gra.one fork)";
nixexprpath = "wikidata-query-rdf.nix";
gitUrls = {
2019-11-24 00:07:46 +01:00
wikidata-query-rdf = "https://git.gra.one/graviola/wikidata/wikidata-query-rdf.git";
2019-11-24 00:06:00 +01:00
};
};
2019-12-13 19:11:49 +01:00
collectd = mkJobset {
description = "Test dependencies for each collectd plugin";
nixexprpath = "collectd.nix";
gitUrls = {
2020-07-24 01:03:29 +02:00
nixpkgs = "https://github.com/astro/nixpkgs.git collectd-plugins 1";
2019-12-13 19:11:49 +01:00
};
};
collectd-master = mkJobset {
description = "Test dependencies for each collectd plugin";
nixexprpath = "collectd-master.nix";
gitUrls = {
collectd = "https://git.octo.it/collectd.git";
nixpkgs = "https://github.com/NixOS/nixpkgs.git nixos-unstable";
};
};
2019-12-23 21:27:31 +01:00
2019-12-23 21:29:13 +01:00
"36c3-everything" = mkJobset {
2019-12-23 21:27:31 +01:00
description = "All 36C3 events in HTML";
nixexprpath = "c3-everything.nix";
gitUrls = {
html = "https://github.com/c3d2/36c3-everything.git";
schedule = "https://github.com/voc/36C3_schedule.git";
};
};
2019-12-28 19:34:33 +01:00
aparte = mkJobset {
description = "Rust console XMPP client";
nixexprpath = "aparte.nix";
gitUrls = {
aparte = "https://github.com/paulfariello/aparte.git";
mozillaOverlay = "https://github.com/mozilla/nixpkgs-mozilla.git";
};
};
2020-07-23 18:53:17 +02:00
c3d2-web = mkJobset {
description = "www.c3d2.de";
nixexprpath = "c3d2-web.nix";
gitUrls = {
2020-07-24 00:06:28 +02:00
c3d2-web = "http://git.c3d2.de/c3d2-web.git";
2020-07-23 18:53:17 +02:00
};
};
2019-09-12 00:58:00 +02:00
};
jobsetsJson = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets );
in
{
2019-09-12 02:39:36 +02:00
jobsets = pkgs.runCommand "jobsets.json" {} ''
cp ${jobsetsJson} $out
2019-09-12 00:58:00 +02:00
'';
}