From 097c74d9f2bf958607a8319dffde25cbbe37d3e7 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 18 Jul 2024 09:22:54 +0200 Subject: [PATCH] update gitea --- machines/orbi/buildbot-master.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/machines/orbi/buildbot-master.nix b/machines/orbi/buildbot-master.nix index 243a4bb..08419c5 100644 --- a/machines/orbi/buildbot-master.nix +++ b/machines/orbi/buildbot-master.nix @@ -27,12 +27,24 @@ # Domain name under which the buildbot frontend is reachable domain = "orbi.private:8010"; admins = [ "palo" ]; - authBackend = "none"; workersFile = pkgs.writeText "workers.json" '' [ { "name": "test", "pass": "password", "cores": 2 } ] ''; + + # How to authenticate against buildbot + authBackend = "none"; + + # How to authenticate against gitea + gitea = { + enable = true; + instanceUrl = "https://git.ingolf-wagner.de"; + webhookSecretFile = pkgs.writeText "gitea-webhook-secret" "my-secret"; + tokenFile = pkgs.writeText "gitea-token" "my-token"; + topic = "buildbot"; + }; + }; };