2023-10-20 00:10:59 -04:00
|
|
|
{
|
2024-12-22 19:33:23 -05:00
|
|
|
system ? builtins.currentSystem,
|
|
|
|
config ? { },
|
|
|
|
pkgs ? import ../../.. { inherit system config; },
|
2024-12-13 08:58:09 -05:00
|
|
|
lts ? true,
|
|
|
|
...
|
2023-10-20 00:10:59 -04:00
|
|
|
}:
|
2024-12-13 08:58:09 -05:00
|
|
|
let
|
|
|
|
incusTest = import ./incus-tests.nix;
|
|
|
|
in
|
2023-10-20 00:10:59 -04:00
|
|
|
{
|
2024-12-13 08:58:09 -05:00
|
|
|
all = incusTest {
|
2024-12-22 19:33:23 -05:00
|
|
|
inherit lts pkgs system;
|
2024-12-13 08:58:09 -05:00
|
|
|
allTests = true;
|
2024-03-18 23:02:30 -04:00
|
|
|
};
|
2024-12-13 08:58:09 -05:00
|
|
|
|
|
|
|
container = incusTest {
|
2024-12-22 19:33:23 -05:00
|
|
|
inherit lts pkgs system;
|
2024-12-13 08:58:09 -05:00
|
|
|
instanceContainer = true;
|
2024-03-18 23:02:30 -04:00
|
|
|
};
|
2024-12-13 08:58:09 -05:00
|
|
|
|
|
|
|
lvm = incusTest {
|
2024-12-22 19:33:23 -05:00
|
|
|
inherit lts pkgs system;
|
2024-12-13 08:58:09 -05:00
|
|
|
storageLvm = true;
|
|
|
|
};
|
|
|
|
|
2024-12-22 19:33:23 -05:00
|
|
|
lxd-to-incus = import ./lxd-to-incus.nix {
|
|
|
|
inherit lts pkgs system;
|
|
|
|
};
|
2024-12-13 08:58:09 -05:00
|
|
|
|
|
|
|
openvswitch = incusTest {
|
2024-12-22 19:33:23 -05:00
|
|
|
inherit lts pkgs system;
|
2024-12-13 08:58:09 -05:00
|
|
|
networkOvs = true;
|
|
|
|
};
|
|
|
|
|
2024-12-22 19:33:23 -05:00
|
|
|
ui = import ./ui.nix {
|
|
|
|
inherit lts pkgs system;
|
|
|
|
};
|
2024-12-13 08:58:09 -05:00
|
|
|
|
|
|
|
virtual-machine = incusTest {
|
2024-12-22 19:33:23 -05:00
|
|
|
inherit lts pkgs system;
|
2024-12-13 08:58:09 -05:00
|
|
|
instanceVm = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
zfs = incusTest {
|
2024-12-22 19:33:23 -05:00
|
|
|
inherit lts pkgs system;
|
2025-03-03 12:53:02 +08:00
|
|
|
storageZfs = true;
|
2024-05-09 10:03:07 -04:00
|
|
|
};
|
2025-03-03 13:01:14 +08:00
|
|
|
|
|
|
|
appArmor = incusTest {
|
|
|
|
inherit lts pkgs system;
|
|
|
|
appArmor = true;
|
|
|
|
allTests = true;
|
|
|
|
};
|
2023-10-20 00:10:59 -04:00
|
|
|
}
|