lassulus
2a8f40e91a
clan_cli machines: use Flake instead of FlakeId
2025-02-07 06:26:09 +01:00
Johannes Kirschbauer
f16f68c77b
Fix: remove password from facts store tests
2025-01-14 17:19:51 +01:00
Jörg Thalheim
609dc90775
remove ssh.id_ed25519 from facts test
...
we have moved this to vars now.
2024-11-19 09:46:14 +00:00
Jörg Thalheim
e150b37fb8
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +02:00
Qubasa
19fe0432d9
clan-cli: Fix some type errors in tests
2024-08-21 15:48:43 +02:00
Qubasa
f74df54edd
clan-vm-manager: Fix regression
2024-08-21 15:48:43 +02:00
DavHau
4898706480
clan-cli: simplify cli helper
2024-07-10 18:14:06 +07:00
DavHau
336e99b2a7
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
2f1dac6962
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
Qubasa
642b60cd98
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
Qubasa
10877d73f4
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
960d8541b1
Fix run_vm test
...
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
9a39ed1766
Fixed Contributing.md guide
2024-06-24 19:22:24 +02:00
Qubasa
feab5f737e
clan-cli: Add validity check for ssh
...
stash
2024-06-24 19:22:19 +02:00
Qubasa
7b0e1b437b
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
Jörg Thalheim
d002419ae7
drop global argparse flags
...
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
Jörg Thalheim
033e5194fb
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
lassulus
8d34c51df2
refactor secrets & facts -> secret_facts & public_facts
2024-03-23 05:46:54 +01:00
Jörg Thalheim
c23a878dfd
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
023b9f4257
add option to set defaultGroups for secrets
2024-02-16 17:26:20 +01:00
Qubasa
6647c38417
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
lassulus
082d628497
clan_cli: flake_name -> flake_dir
2023-11-15 16:23:28 +01:00
Jörg Thalheim
7fd0f1fbb7
add module for meshnamed
2023-11-14 12:58:15 +01:00
Jörg Thalheim
e436fef13d
allow to persist zerotier identities/ips/meshnames for non-controller
2023-11-10 11:56:54 +01:00
lassulus
efafe6f0e3
clan-cli secrets: flake_name -> flake_dir
2023-11-05 16:58:48 +01:00
Qubasa
0be3dac289
nix fmt
2023-10-27 19:21:50 +02:00
Qubasa
8ff80b025c
Fixing a multitude of tests
2023-10-27 19:21:50 +02:00
Qubasa
7bbadaa60f
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
Qubasa
f976121fa6
Added flake_name:str argument everywhere, nix fmt doesn't complain anymore
2023-10-27 19:15:40 +02:00
lassulus
0db337d57e
clan-cli secrets upload: secrets are populated into tmpdir
2023-09-29 20:05:35 +02:00
Jörg Thalheim
0178be0231
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
b42d0598bc
also generate zerotier secret for vm
2023-09-28 17:57:44 +02:00
Jörg Thalheim
2e88454b5a
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