From ed19426eb7df50387106796e73a3428185742f84 Mon Sep 17 00:00:00 2001 From: ahtlon Date: Fri, 13 Mar 2026 15:21:14 +0100 Subject: [PATCH] Add status callback --- .hydra/declarative-jobsets.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.hydra/declarative-jobsets.nix b/.hydra/declarative-jobsets.nix index e357062..33d5b58 100644 --- a/.hydra/declarative-jobsets.nix +++ b/.hydra/declarative-jobsets.nix @@ -15,6 +15,28 @@ let keepnr = 1; type = 1; flake = "${info.head.repo.html_url}/archive/${info.head.ref}.tar.gz"; + inputs = { + gitea_repo_name = { + type = "string"; + value = "${info.head.repo.name}"; + emailresponsible = false; + }; + gitea_repo_owner = { + type = "string"; + value = "${info.head.repo.owner.username}"; + emailresponsible = false; + }; + gitea_http_url = { + type = "string"; + value = "https://git.dynamicdiscord.de"; + emailresponsible = false; + }; + gitea_status_repo = { + type = "string"; + value = "${info.head.ref}"; + emailresponsible = false; + }; + }; }) prs; mkFlakeJobset = branch: { description = "Build ${branch} branch of the Malobeo Infrastructure repo";