Declarative jobset for Hydra CI
This commit is contained in:
parent
3dba050d34
commit
072504b3d9
3 changed files with 42 additions and 14 deletions
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixvim,
|
nixvim,
|
||||||
disko,
|
disko,
|
||||||
|
@ -74,5 +75,10 @@
|
||||||
) aarch64-linux-hosts
|
) aarch64-linux-hosts
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
hydraJobs = {
|
||||||
|
inherit (self.nixosConfigurations)
|
||||||
|
x86_64-hosts
|
||||||
|
;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,19 +23,26 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.buildMachines = [
|
nix = {
|
||||||
{
|
settings.allowed-uris = [
|
||||||
hostName = "localhost";
|
"github:"
|
||||||
protocol = null;
|
"git+https://github.com/"
|
||||||
system = "x86_64-linux";
|
"git+ssh://github.com/"
|
||||||
supportedFeatures = [
|
];
|
||||||
"kvm"
|
|
||||||
"nixos-test"
|
|
||||||
"big-parallel"
|
|
||||||
"benchmark"
|
|
||||||
];
|
|
||||||
maxJobs = 6;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
|
buildMachines = [
|
||||||
|
{
|
||||||
|
hostName = "localhost";
|
||||||
|
protocol = null;
|
||||||
|
system = "x86_64-linux";
|
||||||
|
supportedFeatures = [
|
||||||
|
"kvm"
|
||||||
|
"nixos-test"
|
||||||
|
"big-parallel"
|
||||||
|
"benchmark"
|
||||||
|
];
|
||||||
|
maxJobs = 6;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
15
spec.json
Normal file
15
spec.json
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"systems": {
|
||||||
|
"enabled": 1,
|
||||||
|
"hidden": false,
|
||||||
|
"description": "NixOS Systems",
|
||||||
|
"type": "flake",
|
||||||
|
"flake": "git+https://forgejo.sinerva.eu/VSinerva/nixos-conf.git",
|
||||||
|
"checkinterval": 300,
|
||||||
|
"schedulingshares": 100,
|
||||||
|
"enableemail": false,
|
||||||
|
"enable_dynamic_run_command": false,
|
||||||
|
"emailoverride": "",
|
||||||
|
"keepnr": 2
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue