summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/buildbot/master.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2024-05-31 13:52:04 +0200
committermakefu <github@syntax-fehler.de>2024-05-31 14:31:23 +0200
commit0f2bc33435dffb1a1ab6f5604563bef3f15902da (patch)
tree2d4acc630f4254a9b8e75858ad167a61e4778f64 /krebs/2configs/buildbot/master.nix
parent26834dcd9b42348f084e1477a6c62c531bf96c30 (diff)
config/buildbot: init
Diffstat (limited to 'krebs/2configs/buildbot/master.nix')
-rw-r--r--krebs/2configs/buildbot/master.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/krebs/2configs/buildbot/master.nix b/krebs/2configs/buildbot/master.nix
new file mode 100644
index 000000000..9598f6fa0
--- /dev/null
+++ b/krebs/2configs/buildbot/master.nix
@@ -0,0 +1,33 @@
+{buildbot-nix,...}:
+let
+ #domain = "buildbot.krebsco.de";
+ domain = "build.hotdog.r";
+in {
+ imports = [
+ buildbot-nix.nixosModules.buildbot-master
+ ];
+
+ #services.nginx.virtualHosts."${domain}" = {
+ # enableACME = true;
+ # forceSSL = true;
+ #};
+
+
+ services.buildbot-nix.master = {
+ enable = true;
+ admins = [ "makefu" ];
+ buildSystems = [ "x86_64-linux" "aarch64-linux" ];
+ inherit domain;
+ evalMaxMemorySize = "4096";
+ evalWorkerCount = 16;
+ workersFile = "/var/src/secrets/buildbot/nix-workers";
+ github = {
+ tokenFile = "/var/src/secrets/buildbot/github-token";
+ webhookSecretFile = "/var/src/secrets/buildbot/github-webhook-secret";
+ oauthSecretFile = "/var/src/secrets/buildbot/github-oauth-secret";
+ oauthId = "Ov23lizFP7t7qoE9FuDA";
+ user = "krebs-bob";
+ topic = "buildbot";
+ };
+ };
+}