From 0e24c18815eed4c6386c2500f9544633d47f3fa0 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Wed, 10 Jul 2024 01:57:12 +0200 Subject: [PATCH] tf/hydra: add a test staging-small nixpkgs jobset --- terraform/hydra.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/terraform/hydra.nix b/terraform/hydra.nix index 3427f36..183c64c 100644 --- a/terraform/hydra.nix +++ b/terraform/hydra.nix @@ -71,5 +71,45 @@ in } ]; }; + + resource.hydra_jobset.delroth-nixpkgs-staging-small = { + project = config.resource.hydra_project.forkos.name; + state = "enabled"; + visible = true; + name = "delroth-nixpkgs-staging-small"; + type = "legacy"; + description = "small eval of nixpkgs staging for testing"; + + nix_expression = { + file = "pkgs/top-level/release-small.nix"; + input = "nixpkgs"; + }; + + check_interval = 0; + scheduling_shares = 3000; + keep_evaluations = 3; + + email_notifications = false; + + input = [ + { + name = "nixpkgs"; + type = "git"; + value = "https://github.com/nixos/nixpkgs staging"; + notify_committers = false; + } + { + name = "officialRelease"; + type = "boolean"; + value = "false"; + notify_committers = false; + } + { + name = "supportedSystems"; + type = "nix"; + value = ''[ "x86_64-linux" ]''; + } + ]; + }; }; }