mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-19 11:57:07 +09:00
nix: check the policy at build time and the config before a switch
Store-path policy: check policy -f in system.checks. Pre-switch: check all as the headscale user. Offline, no DB copy. Fixes #2898
This commit is contained in:
1 parent
66a50a1241
commit
b6ba6e42ee
5 files changed
+306
-7
No files matched your search
@@ -49,4 +49,4 @@ jobs:
|
||||
if: steps.changed-files.outputs.nix == 'true' || steps.changed-files.outputs.go == 'true'
|
||||
run: |
|
||||
echo "Running NixOS module integration test..."
|
||||
nix build .#checks.x86_64-linux.headscale -L --fallback
|
||||
nix build .#checks.x86_64-linux.headscale .#checks.x86_64-linux.headscale-checks -L --fallback
|
||||
Reference in new issue
Block a user