DavHau
0367fc1e90
clan-cli tests: remove dynamic inclusion of helpers module
...
Dynamically extending the python path at runtime is bad for developer experience, as this is not understood by the text editor and therefore jump to definition etc. does not work.
-> Better to remove the dynamic inclusion and force developers to specify the import correctly.
2024-07-05 16:38:22 +07:00
Jörg Thalheim
b4698528ef
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
Qubasa
70ca824e88
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
Qubasa
38c0233496
clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret
2024-06-24 20:08:02 +02:00
Qubasa
eac869dde5
Fix run_vm test
...
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
88f97bd2b6
Fixed Contributing.md guide
2024-06-24 19:22:24 +02:00
Qubasa
8038a9b488
clan-cli: Add validity check for ssh
...
stash
2024-06-24 19:22:19 +02:00
Qubasa
1ff58adcef
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
Jörg Thalheim
f0f97baa65
drop global argparse flags
...
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
Jörg Thalheim
f385e0e037
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
lassulus
f16667e25a
refactor secrets & facts -> secret_facts & public_facts
2024-03-23 05:46:54 +01:00
Jörg Thalheim
0481746198
drop meshnamed from repository
...
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00
Jörg Thalheim
57e9b27ff8
add option to set defaultGroups for secrets
2024-02-16 17:26:20 +01:00
Qubasa
f7c6ab5888
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
lassulus
1ea13646ea
clan_cli: flake_name -> flake_dir
2023-11-15 16:23:28 +01:00
Jörg Thalheim
bdc8ef63ed
add module for meshnamed
2023-11-14 12:58:15 +01:00
Jörg Thalheim
c28089d4b2
allow to persist zerotier identities/ips/meshnames for non-controller
2023-11-10 11:56:54 +01:00
lassulus
7b3d3e20b4
clan-cli secrets: flake_name -> flake_dir
2023-11-05 16:58:48 +01:00
Qubasa
c1b4fa6d55
nix fmt
2023-10-27 19:21:50 +02:00
Qubasa
3581e0c9a8
Fixing a multitude of tests
2023-10-27 19:21:50 +02:00
Qubasa
8cc1c2c4bd
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
Qubasa
32e60f5adc
Added flake_name:str argument everywhere, nix fmt doesn't complain anymore
2023-10-27 19:15:40 +02:00
lassulus
89b7ffce6c
clan-cli secrets upload: secrets are populated into tmpdir
2023-09-29 20:05:35 +02:00
Jörg Thalheim
739d3b3578
zerotier: document mdns ports; drop duplicate udp firewall rules
...
the nixos module already opens the zerotier port
2023-09-28 17:58:42 +02:00
Jörg Thalheim
be6592c82c
also generate zerotier secret for vm
2023-09-28 17:57:44 +02:00
Jörg Thalheim
74a3c85c29
move zerotier secret generation into nixos module
2023-09-26 17:57:43 +02:00
Jörg Thalheim
0314132a1a
rewrite sops backend for secret generation and add tests
2023-09-21 17:22:20 +02:00