update gitea

This commit is contained in:
Ingolf Wagner 2024-07-18 09:22:54 +02:00
parent b494d653ac
commit 097c74d9f2
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -27,12 +27,24 @@
# Domain name under which the buildbot frontend is reachable # Domain name under which the buildbot frontend is reachable
domain = "orbi.private:8010"; domain = "orbi.private:8010";
admins = [ "palo" ]; admins = [ "palo" ];
authBackend = "none";
workersFile = pkgs.writeText "workers.json" '' workersFile = pkgs.writeText "workers.json" ''
[ [
{ "name": "test", "pass": "password", "cores": 2 } { "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";
};
}; };
}; };