From 62a27d27af9438e1b9da947f0082bbdcf00b90e7 Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Thu, 2 Jan 2025 14:26:55 +0100 Subject: [PATCH] cleanup one of the hydra tryouts was removed, updated zen flake to one that is maintained --- .hydra/jobsets.nix | 55 ---------------------- .hydra/spec.json | 25 ---------- flake.lock | 10 ++-- flake.nix | 2 +- systems/x86_64-linux/yggdrasil/default.nix | 1 - 5 files changed, 6 insertions(+), 87 deletions(-) delete mode 100644 .hydra/jobsets.nix delete mode 100644 .hydra/spec.json diff --git a/.hydra/jobsets.nix b/.hydra/jobsets.nix deleted file mode 100644 index 641b25c..0000000 --- a/.hydra/jobsets.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - nixpkgs, - # pulls, - ... -}: -let - pkgs = import nixpkgs { }; - - # prs = builtins.fromJSON (builtins.readFile pulls); - # prJobsets = pkgs.lib.mapAttrs (num: info: { - # enabled = 1; - # hidden = false; - # description = "PR ${num}: ${info.title}"; - # checkinterval = 60; - # schedulingshares = 20; - # enableemail = false; - # emailoverride = ""; - # keepnr = 1; - # type = 1; - # flake = "github:shawn8901/nix-configuration/pull/${num}/head"; - # }) prs; - mkFlakeJobset = branch: { - description = "Build ${branch}"; - checkinterval = "3600"; - enabled = "1"; - schedulingshares = 100; - enableemail = false; - emailoverride = ""; - keepnr = 3; - hidden = false; - type = 1; - flake = "github:shawn8901/nix-configuration/${branch}"; - }; - - desc = { - "main" = mkFlakeJobset "main"; - }; - - log = { - # pulls = prs; - jobsets = desc; - }; -in -{ - jobsets = pkgs.runCommand "spec-jobsets.json" { } '' - cat >$out <tmp <