forked from Fediversity/Fediversity
add a data model deployment test by VM using opentofu. builds upon #505. Reviewed-on: Fediversity/Fediversity#506
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ inputs, sources, ... }:
|
|
|
|
{
|
|
_class = "flake";
|
|
|
|
perSystem =
|
|
{ pkgs, system, ... }:
|
|
{
|
|
checks = {
|
|
proxmox-basic = import ./check/proxmox {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit sources system;
|
|
};
|
|
|
|
deployment-basic = import ./check/basic {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
|
|
deployment-cli = import ./check/cli {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
|
|
deployment-panel = import ./check/panel {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
|
|
deployment-model-ssh = import ./check/data-model-ssh {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
|
|
deployment-model-nixops4 = import ./check/data-model-nixops4 {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
|
|
deployment-model-tf = import ./check/data-model-tf {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
};
|
|
};
|
|
}
|