summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-21 20:36:19 +0200
committerlassulus <lass@aidsballs.de>2015-05-21 20:36:19 +0200
commit1d40f7ffc624ae407edf46f74ba71201da0b350a (patch)
treec75ec4d25d86d247ed4c82ddeacd32891e06651c /modules
parentad2093acbd29f0cbe91991d567d7570ecfea29b3 (diff)
update test gitolite config
Diffstat (limited to 'modules')
-rw-r--r--modules/uriel/default.nix24
1 files changed, 22 insertions, 2 deletions
diff --git a/modules/uriel/default.nix b/modules/uriel/default.nix
index 9cab8915f..367a2847c 100644
--- a/modules/uriel/default.nix
+++ b/modules/uriel/default.nix
@@ -19,7 +19,7 @@
];
nixpkgs = {
url = "https://github.com/Lassulus/nixpkgs";
- rev = "b3531eebf625e388d2fa33d56646180236263e74";
+ rev = "946329e1342acc08d9bed9e7af860f2a5b1f1765";
};
services.gitolite = {
@@ -82,7 +82,7 @@
repo config
RW+ = lass
RW+ = uriel
- R = fastpoke
+ option hook.post-receive = irc-announce
'';
rc = ''
@@ -229,6 +229,26 @@
| nc "$IRC_SERVER" "$IRC_PORT" | tee -a ircin
'';
};
+
+ customFiles = [
+ {
+ filename = ".gitolite/conf/irc-announce.conf";
+ content = ''
+ IRC_NICK="$(hostname)$GL_TID"
+ case "$GL_REPO" in
+ brain|painload|services|load-env|pong|config)
+ IRC_CHANNEL='#retiolum'
+ ;;
+ emse*)
+ IRC_CHANNEL='#emse'
+ ;;
+ *)
+ IRC_CHANNEL='&testing'
+ ;;
+ esac
+ '';
+ }
+ ];
};