summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-06-19 23:07:51 +0200
committertv <tv@krebsco.de>2017-06-19 23:07:51 +0200
commitffb3dae30f88e0d735c9ca5dec6e181b06e207a6 (patch)
tree7a9808226d3336989cec5b855ad6a28c5ad24e05 /tv/2configs
parent4a608192841a7ece5a81c079a2a033a089bb4dcf (diff)
gitrepos: don't announce brain's cgit link
Because it's not accessible anyway.
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/gitrepos.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/tv/2configs/gitrepos.nix b/tv/2configs/gitrepos.nix
index 7e059cc..b6480f3 100644
--- a/tv/2configs/gitrepos.nix
+++ b/tv/2configs/gitrepos.nix
@@ -90,26 +90,28 @@ let {
{
brain = {
collaborators = with config.krebs.users; [ lass makefu ];
- hooks.post-receive = irc-announce-retiolum;
+ hooks.post-receive = irc-announce {
+ cgit_endpoint = null;
+ };
};
} //
# TODO don't put secrets/repos.nix into the store
import <secrets/repos.nix> { inherit config lib pkgs; }
);
- irc-announce-retiolum = pkgs.git-hooks.irc-announce {
+ irc-announce = args: pkgs.git-hooks.irc-announce (recursiveUpdate {
+ channel = "#retiolum";
# TODO make nick = config.krebs.build.host.name the default
nick = config.krebs.build.host.name;
- channel = "#retiolum";
server = "ni.r";
verbose = true;
- };
+ } args);
make-public-repo = name: { cgit ? {}, ... }: {
inherit cgit name;
public = true;
hooks = optionalAttrs (config.krebs.build.host.name == "ni") {
- post-receive = irc-announce-retiolum;
+ post-receive = irc-announce {};
};
};