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"; + }; + }; };