From 5a05e44a953b4fe1d94fc4562772ffa29c5ee732 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Wed, 17 Jul 2024 13:34:10 +0200 Subject: [PATCH] tf/hydra: add a project for our hydra fork --- terraform/hydra.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/terraform/hydra.nix b/terraform/hydra.nix index 5e62bcb..dd3a758 100644 --- a/terraform/hydra.nix +++ b/terraform/hydra.nix @@ -138,5 +138,32 @@ in email_notifications = false; }; + + resource.hydra_project.hydra = { + name = "hydra"; + display_name = "ForkOS Hydra"; + description = "ForkOS hydra fork"; + homepage = "https://git.lix.system/lix-project/hydra"; + owner = "terraform"; + enabled = true; + visible = true; + }; + + resource.hydra_jobset.hydra_main = { + project = config.resource.hydra_project.hydra.name; + state = "enabled"; + visible = true; + name = "main"; + type = "flake"; + description = "main branch for the hydra repo"; + + flake_uri = "git+https://git.lix.systems/lix-project/hydra"; + + check_interval = 600; + scheduling_shares = 3000; + keep_evaluations = 5; + + email_notifications = false; + }; }; }