summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <makefu@nixos.dev>2015-12-16 14:30:21 +0100
committermakefu <makefu@nixos.dev>2015-12-16 14:30:21 +0100
commit8f18b00ab141df92b7df4725a18bb3283b184d76 (patch)
treee7a6694fd0639a70bb9f15407cd3d36b8bbe5b33 /makefu
parent2156aa4d37071408b8e5385a4f639ed029f70620 (diff)
m 1 vbob: configure buildbot master and slave
Diffstat (limited to 'makefu')
-rw-r--r--makefu/1systems/vbob.nix31
1 files changed, 28 insertions, 3 deletions
diff --git a/makefu/1systems/vbob.nix b/makefu/1systems/vbob.nix
index 6bcdb3ecd..5b03d40a8 100644
--- a/makefu/1systems/vbob.nix
+++ b/makefu/1systems/vbob.nix
@@ -2,8 +2,9 @@
#
#
{ lib, config, pkgs, ... }:
-
-{
+let
+ pkgs-unst = import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {};
+in {
krebs.build.host = config.krebs.hosts.vbob;
krebs.build.target = "root@10.10.10.220";
imports =
@@ -14,6 +15,28 @@
# environment
];
+ nixpkgs.config.packageOverrides = pkgs: {
+ tinc = pkgs.tinc_pre;
+ buildbot = pkgs-unst.buildbot;
+ buildbot-slave = pkgs-unst.buildbot-slave;
+ };
+
+ makefu.buildbot.master = {
+ enable = true;
+ irc = {
+ enable = true;
+ server = "cd.retiolum";
+ channel = "retiolum";
+ allowForce = true;
+ };
+ };
+ makefu.buildbot.slave = {
+ enable = true;
+ masterhost = "localhost";
+ username = "testslave";
+ password = "krebspass";
+ };
+
krebs.build.source.git.nixpkgs = {
#url = https://github.com/nixos/nixpkgs;
# HTTP Everywhere
@@ -30,9 +53,11 @@
openssh.authorizedKeys.keys = [ config.krebs.users.makefu-vbob.pubkey ];
};
};
- nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; };
environment.systemPackages = with pkgs;[
+ buildbot
+ buildbot-slave
get
+ genid
];
networking.firewall.allowedTCPPorts = [