forked from Fediversity/Fediversity
test deployments using data obtained through the data model in VMs. caveats: - SSH currently has a `run` abstraction that the nixops4 model still lacks - the deployed (trivial) configuration on activation has not facilitated new ssh connections (for subsequent) updates, i.e. a more sophisticated configuration would be needed for real-life usage. Reviewed-on: Fediversity/Fediversity#505
41 lines
1,018 B
Nix
41 lines
1,018 B
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;
|
|
};
|
|
};
|
|
};
|
|
}
|