Declarative jobset for Hydra CI
This commit is contained in:
parent
3dba050d34
commit
cdba0a7b6d
3 changed files with 43 additions and 14 deletions
|
@ -16,6 +16,7 @@ in
|
|||
notificationSender = "hydra@sinerva.eu";
|
||||
port = 8080;
|
||||
useSubstitutes = true;
|
||||
extraConfig = ''dynamic_run_command = enable'';
|
||||
};
|
||||
|
||||
nginx.virtualHosts.${domain}.locations."/" = {
|
||||
|
@ -23,19 +24,26 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "localhost";
|
||||
protocol = null;
|
||||
system = "x86_64-linux";
|
||||
supportedFeatures = [
|
||||
"kvm"
|
||||
"nixos-test"
|
||||
"big-parallel"
|
||||
"benchmark"
|
||||
];
|
||||
maxJobs = 6;
|
||||
}
|
||||
];
|
||||
nix = {
|
||||
settings.allowed-uris = [
|
||||
"github:"
|
||||
"git+https://github.com/"
|
||||
"git+ssh://github.com/"
|
||||
];
|
||||
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "localhost";
|
||||
protocol = null;
|
||||
system = "x86_64-linux";
|
||||
supportedFeatures = [
|
||||
"kvm"
|
||||
"nixos-test"
|
||||
"big-parallel"
|
||||
"benchmark"
|
||||
];
|
||||
maxJobs = 6;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue