nixpkgs/nixos/tests/incus/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
920 B
Nix
Raw Normal View History

2023-10-20 00:10:59 -04: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 {
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 {
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 {
inherit lts pkgs system;
2024-12-13 08:58:09 -05:00
storageLvm = true;
};
lxd-to-incus = import ./lxd-to-incus.nix {
inherit lts pkgs system;
};
2024-12-13 08:58:09 -05:00
openvswitch = incusTest {
inherit lts pkgs system;
2024-12-13 08:58:09 -05:00
networkOvs = true;
};
ui = import ./ui.nix {
inherit lts pkgs system;
};
2024-12-13 08:58:09 -05:00
virtual-machine = incusTest {
inherit lts pkgs system;
2024-12-13 08:58:09 -05:00
instanceVm = true;
};
zfs = incusTest {
inherit lts pkgs system;
storageZfs = true;
};
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
}