From d4f8cb6c8716f61627263758ff5421692c47f566 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sat, 20 Jul 2024 01:18:54 +0200 Subject: [PATCH] add jobset for yureka-staging-test --- terraform/hydra.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/terraform/hydra.nix b/terraform/hydra.nix index dd3a758..74d133c 100644 --- a/terraform/hydra.nix +++ b/terraform/hydra.nix @@ -165,5 +165,45 @@ in email_notifications = false; }; + + resource.hydra_jobset.yureka-staging-test = { + project = config.resource.hydra_project.forkos.name; + state = "enabled"; + visible = true; + name = "yureka-staging-test"; + type = "legacy"; + description = "staging branch for yureka-nixos"; + + nix_expression = { + file = "pkgs/top-level/release.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 sandbox/yureka/staging-test"; + notify_committers = false; + } + { + name = "officialRelease"; + type = "boolean"; + value = "false"; + notify_committers = false; + } + { + name = "supportedSystems"; + type = "nix"; + value = ''[ "x86_64-linux" ]''; + } + ]; + }; }; }