mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-06 06:40:06 +09:00
nix: run the headscale VM test on the test kit
Drops nginx, the cert and dead ip_prefixes. Proves DERP relay and TLS noise after a restart, and puts nix/module.nix under CI.
This commit is contained in:
committed by
Kristoffer Dalby
parent
200c2c01e8
commit
00663fbbfe
@@ -296,12 +296,14 @@
|
||||
}
|
||||
);
|
||||
|
||||
checks = {
|
||||
headscale = pkgs.testers.nixosTest (import ./nix/tests/headscale.nix);
|
||||
}
|
||||
# The Go build/test checks are gated to Linux: parts of the tree are
|
||||
# Linux-specific and the pure unit subset is validated by CI.
|
||||
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux goChecks;
|
||||
# Gated to Linux: parts of the tree are Linux-specific, and the VM
|
||||
# test needs KVM.
|
||||
checks = pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (
|
||||
goChecks
|
||||
// {
|
||||
headscale = pkgs.testers.runNixOSTest (import ./nix/tests/headscale.nix self);
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user