diff options
author | sefidel <contact@sefidel.net> | 2024-02-20 05:48:01 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-08-06 16:41:23 +0900 |
commit | fecda1751806039ea47fba56fd2a3bd9cf11e8b5 (patch) | |
tree | dc11dd4fd0b29a78de73c4258b97a2a88b80dc47 /hydra | |
download | nixpkgs-exotic-fecda1751806039ea47fba56fd2a3bd9cf11e8b5.tar.gz nixpkgs-exotic-fecda1751806039ea47fba56fd2a3bd9cf11e8b5.zip |
project: Initial commit
Diffstat (limited to 'hydra')
-rw-r--r-- | hydra/default.nix | 1 | ||||
-rw-r--r-- | hydra/jobsets.nix | 34 | ||||
-rw-r--r-- | hydra/spec.json | 24 |
3 files changed, 59 insertions, 0 deletions
diff --git a/hydra/default.nix b/hydra/default.nix new file mode 100644 index 0000000..827748a --- /dev/null +++ b/hydra/default.nix @@ -0,0 +1 @@ +{ nixpkgs-exotic }: (import nixpkgs-exotic).hydraJobs diff --git a/hydra/jobsets.nix b/hydra/jobsets.nix new file mode 100644 index 0000000..f426873 --- /dev/null +++ b/hydra/jobsets.nix @@ -0,0 +1,34 @@ +{ nixpkgs, ... }: + +let + pkgs = import nixpkgs {}; + + jobsets = { + main = { + enabled = 1; + hidden = false; + description = "main branch"; + nixexprinput = "nixpkgs-exotic"; + nixexprpath = "hydra/default.nix"; + checkinterval = 300; + schedulingshares = 100; + enableemail = false; + emailoverride = ""; + keepnr = 1; + inputs = { + nixpkgs-exotic = { + type = "git"; + value = "https://git.exotic.sh/nixpkgs-exotic main"; + emailresponsible = false; + }; + nixpkgs = { + type = "git"; + value = "https://github.com/NixOS/nixpkgs.git"; + emailresponsible = false; + }; + }; + }; + }; +in { + jobsets = pkgs.writeText "jobsets.json" (builtins.toJSON jobsets); +} diff --git a/hydra/spec.json b/hydra/spec.json new file mode 100644 index 0000000..cf17ff4 --- /dev/null +++ b/hydra/spec.json @@ -0,0 +1,24 @@ +{ + "enabled": 1, + "hidden": false, + "description": "Jobsets", + "nixexprinput": "nixpkgs-exotic", + "nixexprpath": "hydra/jobsets.nix", + "checkinterval": 300, + "schedulingshares": 100, + "enableemail": false, + "emailoverride": "", + "keepnr": 1, + "inputs": { + "nixpkgs-exotic": { + "type": "git", + "value": "https://git.exotic.sh/nixpkgs-exotic main", + "emailresponsible": false + }, + "nixpkgs": { + "type": "git", + "value": "https://github.com/NixOS/nixpkgs.git", + "emailresponsible": false + } + } +} |