Skip to content

Commit d91395a

Browse files
committed
ci: setup buildbot
1 parent d11a4b5 commit d91395a

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

buildbot-nix.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
attribute = "hydraJobs"

flake.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@
106106
formatting = treefmt.${pkgs.system}.config.build.check self;
107107
});
108108

109+
hydraJobs =
110+
{inherit (self) checks;}
111+
// (lib.mapAttrs'
112+
(
113+
hostname: system:
114+
lib.nameValuePair "nixosSystem.${hostname}" system.config.system.build.toplevel
115+
)
116+
self.nixosConfigurations);
117+
109118
formatter = forAllSystems (pkgs: treefmt.${pkgs.system}.config.build.wrapper);
110119
};
111120
}

systems/renko/services/buildbot.nix

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
{_utils, config, lib, ...}: let
1+
{
2+
_utils,
3+
config,
4+
lib,
5+
...
6+
}: let
27
secrets = _utils.setupSecrets config {
38
namespace = "buildbot";
49
secrets = lib.singleton "token";

0 commit comments

Comments
 (0)