diff options
author | lassulus <lass@blue.r> | 2018-09-09 00:20:15 +0200 |
---|---|---|
committer | lassulus <lass@blue.r> | 2018-09-09 00:20:15 +0200 |
commit | 95b166e4ce9a510c912a11e11c91dbdd2faffad7 (patch) | |
tree | 8e26bf672bb59f5181bea4682b1a6006dd804995 /lass/2configs | |
parent | 69a1de787e5baa2bd6a9b00f585f7b60d4262d1e (diff) | |
parent | 29e5989265bf2f1f8df3dd83706abf791fc63712 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/git.nix | 13 | ||||
-rw-r--r-- | lass/2configs/repo-sync.nix | 6 |
2 files changed, 13 insertions, 6 deletions
diff --git a/lass/2configs/git.nix b/lass/2configs/git.nix index 923de683e..caa7c3065 100644 --- a/lass/2configs/git.nix +++ b/lass/2configs/git.nix @@ -104,10 +104,12 @@ let # TODO make nick = config.krebs.build.host.name the default nick = config.krebs.build.host.name; channel = "#xxx"; + # TODO define refs in some kind of option per repo + refs = [ + "refs/heads/master" + ]; server = "irc.r"; verbose = config.krebs.build.host.name == "prism"; - # TODO define branches in some kind of option per repo - branches = [ "master" ]; }; }; }; @@ -125,10 +127,13 @@ let # TODO make nick = config.krebs.build.host.name the default nick = config.krebs.build.host.name; channel = "#xxx"; + # TODO define refs in some kind of option per repo + refs = [ + "refs/heads/master" + "refs/heads/staging*" + ]; server = "irc.r"; verbose = false; - # TODO define branches in some kind of option per repo - branches = [ "master" "staging*" ]; }; } // hooks; }; diff --git a/lass/2configs/repo-sync.nix b/lass/2configs/repo-sync.nix index 6a07172fe..8b7d0db71 100644 --- a/lass/2configs/repo-sync.nix +++ b/lass/2configs/repo-sync.nix @@ -14,10 +14,12 @@ let hooks = mkIf announce (mkDefault { post-receive = pkgs.git-hooks.irc-announce { nick = config.networking.hostName; - verbose = false; channel = "#xxx"; + refs = [ + "refs/heads/newest" + ]; server = "irc.r"; - branches = [ "newest" ]; + verbose = false; }; }); }; |