about summary refs log tree commit diff
path: root/hydra/jobsets.nix
blob: daf1a5a08fbe8dbc958769c0a4630808cbd1ee77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ nixpkgs, ... }:

let
  pkgs = import nixpkgs {};

  jobsets = {
    main = {
      enabled = 1;
      hidden = false;
      description = "main branch";
      nixexprinput = "infra";
      nixexprpath = "hydra/default.nix";
      checkinterval = 300;
      schedulingshares = 100;
      enableemail = false;
      emailoverride = "";
      keepnr = 1;
      inputs = {
        infra = {
          type = "git";
          value = "https://git.exotic.sh/infra main";
          emailresponsible = false;
        };
        nixpkgs = {
          type = "git";
          value = "https://github.com/NixOS/nixpkgs.git nixos-unstable";
          emailresponsible = false;
        };
      };
    };
  };
in {
  jobsets = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets);
}