move vm tests out of checks into a nightly vmTests workflow
This commit is contained in:
parent
d29f63d4cf
commit
4eb27543e5
3 changed files with 75 additions and 4 deletions
|
|
@ -144,8 +144,6 @@ in
|
|||
inherit (pkgs) lib;
|
||||
shared = moduleEvalShared;
|
||||
};
|
||||
# Runs the squid module in a VM; needs KVM, unlike every check above.
|
||||
vm-hive-squid = import ./vm-tests/hive-squid.nix { inherit pkgs; };
|
||||
module-eval-hive-otel = import ./module-eval/hive-otel.nix {
|
||||
inherit pkgs self nixosSystem;
|
||||
inherit (pkgs) lib;
|
||||
|
|
|
|||
7
nix/vm-tests.nix
Normal file
7
nix/vm-tests.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# NixOS VM tests: one derivation per test, exposed as `vmTests.<system>.<name>`.
|
||||
# Kept out of `checks` because each boots VMs and needs KVM; the nightly
|
||||
# workflow `.forgejo/workflows/vm-nightly.yml` builds them.
|
||||
{ pkgs }:
|
||||
{
|
||||
hive-squid = import ./vm-tests/hive-squid.nix { inherit pkgs; };
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# `checks.vm-hive-squid`: runs ../host-modules/hive-squid.nix in a VM, which
|
||||
# `vmTests.<system>.hive-squid`: runs ../host-modules/hive-squid.nix in a VM, which
|
||||
# the module-eval suite can only read, and checks that an agent with the proxy
|
||||
# variables of nix/agent-modules/egress-proxy.nix reaches squid and skips it
|
||||
# where it should. Three nodes on two networks:
|
||||
|
|
|
|||
Loading…
Reference in a new issue