mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-05 22:30:07 +09:00
nix: add a NixOS test kit for Tailscale clients
nixosModules.testkit makes a node a control server every client joins without trust setup; testkit-peer joins it with hs-join.
This commit is contained in:
committed by
Kristoffer Dalby
parent
35a90e0018
commit
200c2c01e8
@@ -331,3 +331,9 @@ a broken one.
|
||||
- **Do not edit `gen/`** — it is regenerated from `proto/` by
|
||||
`make generate`.
|
||||
- **Proto changes + code changes should be two commits**, not one.
|
||||
- **The NixOS test kit is a public contract** consumed by other projects'
|
||||
NixOS tests: the "Contract" in `nix/README.md`, covering
|
||||
`nix/testkit.nix`, `nix/testkit-peer.nix`, the embedded DERP region
|
||||
and `HEADSCALE_DEBUG_INSECURE_TLS_LISTEN_ADDR`, and the CLI commands
|
||||
`hs-authkey` calls. Breaking it needs a "NixOS test kit" BREAKING entry
|
||||
in `CHANGELOG.md`.
|
||||
|
||||
Reference in New Issue
Block a user