Skip to content

Commit

Permalink
nix: enable buildbot badges
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Jan 31, 2024
1 parent 6552835 commit f964095
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/master.nix
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,17 @@ in
ps.treq
ps.psycopg2
(ps.toPythonModule pkgs.buildbot-worker)
pkgs.buildbot-plugins.badges
pkgs.buildbot-plugins.www-react
(pkgs.python3.pkgs.callPackage ../default.nix { })
];

extraConfig = ''
c.setdefault("www", {})
c['www'].setdefault("plugins", {})
# https://docs.buildbot.net/current/manual/configuration/www.html#badges
c['www']['plugins'].setdefault("badges", {})
'';
};

systemd.services.buildbot-master = {
Expand Down

0 comments on commit f964095

Please sign in to comment.