hydra: add nix-build to buildMachines
This commit is contained in:
parent
69a90ba470
commit
dee06b4790
|
@ -1,6 +1,8 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
nix-build = "client@172.22.99.156";
|
||||||
|
in {
|
||||||
nix = {
|
nix = {
|
||||||
binaryCaches =
|
binaryCaches =
|
||||||
[ "https://cache.nixos.org" "https://genodepkgs.cachix.org" ];
|
[ "https://cache.nixos.org" "https://genodepkgs.cachix.org" ];
|
||||||
|
@ -11,12 +13,22 @@
|
||||||
allowed-uris = http:// https://
|
allowed-uris = http:// https://
|
||||||
'';
|
'';
|
||||||
trustedUsers = [ "hydra" ];
|
trustedUsers = [ "hydra" ];
|
||||||
buildMachines = [{
|
buildMachines = [ {
|
||||||
hostName = "localhost";
|
hostName = "localhost";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ];
|
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ];
|
||||||
maxJobs = 4;
|
maxJobs = 4;
|
||||||
}];
|
} {
|
||||||
|
hostName = nix-build;
|
||||||
|
system = "x86_64-linux";
|
||||||
|
supportedFeatures = [ "nixos-test" "big-parallel" "benchmark" ];
|
||||||
|
maxJobs = 4;
|
||||||
|
} {
|
||||||
|
hostName = nix-build;
|
||||||
|
system = "aarch64-linux";
|
||||||
|
supportedFeatures = [ "nixos-test" "big-parallel" "benchmark" ];
|
||||||
|
maxJobs = 4;
|
||||||
|
} ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.hydra = {
|
services.hydra = {
|
||||||
|
|
Loading…
Reference in New Issue