From dd81b78f7ac92e4b23cd6f658a865072b950c4b1 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sun, 28 Jul 2024 23:40:36 +0200 Subject: [PATCH] add nixos-main jobset --- terraform/hydra.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/terraform/hydra.nix b/terraform/hydra.nix index 39e62bb..b758616 100644 --- a/terraform/hydra.nix +++ b/terraform/hydra.nix @@ -284,5 +284,45 @@ in } ]; }; + + resource.hydra_jobset.nixos-main = { + project = config.resource.hydra_project.forkos.name; + state = "enabled"; + visible = true; + name = "nixos-main"; + type = "legacy"; + description = "nixos jobset for the main branch"; + + nix_expression = { + file = "nixos/release-combined.nix"; + input = "nixpkgs"; + }; + + check_interval = 0; + scheduling_shares = 3000; + keep_evaluations = 3; + + email_notifications = false; + + input = [ + { + name = "nixpkgs"; + type = "git"; + value = "https://cl.forkos.org/nixpkgs main"; + notify_committers = false; + } + { + name = "officialRelease"; + type = "boolean"; + value = "false"; + notify_committers = false; + } + { + name = "supportedSystems"; + type = "nix"; + value = ''[ "x86_64-linux" ]''; + } + ]; + }; }; }