Commit Graph

322 Commits

Author SHA1 Message Date
Jörg Thalheim
ae8cff57aa remove unused multi machine clan urls 2024-07-02 12:20:30 +02:00
clan-bot
6cf0cc491e Merge pull request 'machines/machines: drop unused qmp wrapper' (#1683) from Mic92-main into main 2024-07-02 10:01:43 +00:00
Jörg Thalheim
54cec7f772 remove unused MachineParams 2024-07-02 11:57:39 +02:00
Johannes Kirschbauer
2996ab5941 api: clan Modules add readme content 2024-07-02 11:45:48 +02:00
clan-bot
bd7df2a166 Merge pull request 'API: migrate add machine to inventory' (#1676) from hsjobeki/clan-core:hsjobeki-main into main 2024-07-02 09:25:01 +00:00
Johannes Kirschbauer
c17943428a Fix test 2024-07-02 11:21:52 +02:00
Jörg Thalheim
d7a17a2ada drop duplicate empty template 2024-07-02 10:41:55 +02:00
Johannes Kirschbauer
4a61e51afd API: migrate add machine to inventory 2024-07-01 21:55:42 +02:00
DavHau
bc3d17ad06 api: add endpoint machine_schema 2024-06-27 16:58:37 +07:00
Johannes Kirschbauer
17532e999f API: add clanModules list and details test 2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
cf03c71966 Docs: rename clanName to just name 2024-06-25 14:21:53 +02:00
Qubasa
1cb6cff6fe clan-cli: Better env jailing in temporary_home 2024-06-25 12:03:44 +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
DavHau
4db2e8303f refactor: rename clanCore -> clan.core 2024-06-18 18:32:40 +07:00
DavHau
f4060b6d16 test: extend minimal flake test with verification 2024-06-09 22:19:38 -07:00
DavHau
8eafd43fd3 tests: add test for creating machine on minimal clan 2024-06-09 21:54:04 -07:00
Qubasa
0ffb45eaf0 clan-cli: temporary_home, set XDG_RUNTIME_DIR 2024-06-05 13:34:17 +02:00
Johannes Kirschbauer
49c3b78c77 clan-core: add template to impure tests 2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
c7008fd302 clan-core: add clan meta for ui usage 2024-05-31 16:26:46 +00:00
Jörg Thalheim
84f75de34c split list machines into show machine command 2024-05-31 16:56:09 +02:00
Jörg Thalheim
1b8ba590f7 make config command read-only 2024-05-29 13:17:55 +02:00
Jörg Thalheim
d002419ae7 drop global argparse flags
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
Johannes Kirschbauer
daa0be20de api: fix breaking tests 2024-05-26 14:17:17 +02:00
Johannes Kirschbauer
bacc862d52 fix: tests 2024-05-26 13:41:05 +02:00
DavHau
e09658c817 secrets: ensure all added/deleted files get committed 2024-04-24 17:26:32 +07:00
a-kenji
bd10720e5d clan-cli: fix clan ssh --json and --png
This fixes `clan ssh` with the `--json` and `--png` flags.

It will now correctly use the actual fields that are present in the
generated json.

- probes if the ports are accessible
- if accessible will attempt a single ssh connection with the provided
password, in order to not spam ssh attempts

Fixes #1177
2024-04-17 10:12:37 +00:00
Jörg Thalheim
033e5194fb refactor facts command to regenerate facts for all machines 2024-04-15 22:14:54 +02:00
Qubasa
941bc49c1d clan-cli: Fix tmpdir leak and fix tests/temporary_dir inconsistencies 2024-03-27 15:51:52 +01:00
Jörg Thalheim
00704e9e55 re-encrypt secrets after rotating users/machines keys 2024-03-25 12:34:29 +01:00
clan-bot
e737b4c56d Merge pull request 'clan-vm-manager: Basic pytest framework established' (#1026) from Qubasa-main into main 2024-03-24 22:41:07 +00:00
Qubasa
d6d8a88549 clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself 2024-03-24 23:36:00 +01:00
lassulus
8d34c51df2 refactor secrets & facts -> secret_facts & public_facts 2024-03-23 05:46:54 +01:00
Jörg Thalheim
ede4d3f6e5 re-format with nixfmt 2024-03-17 19:48:49 +01:00
Qubasa
285a83ec97 clan_cli: Renamed ClanUrl to FlakeId 2024-03-08 23:47:27 +07:00
Qubasa
bda7701861 clan_cli: Simplify ClanURI 2024-03-07 19:04:48 +07:00
Qubasa
e640e0d7c3 clan_cli: Rewrite ClanURI 2024-03-07 16:41:37 +07: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
dd98cac94e secret cli: accept a pattern in secrets list 2024-02-22 14:21:53 +01:00
clan-bot
e023d25b4b Merge pull request 'add option to set defaultGroups for secrets' (#858) from Mic92-target_host into main 2024-02-16 16:29:28 +00:00
Jörg Thalheim
023b9f4257 add option to set defaultGroups for secrets 2024-02-16 17:26:20 +01:00
Qubasa
8a0edddca7 clan-vm-manager: Fixing vm starting. 2024-02-16 16:10:49 +07:00
Qubasa
0b0867907e clan-vm-manager: Added clan icon to trayicon 2024-02-16 12:25:06 +07:00
clan-bot
f91df4fb88 Merge pull request 'clan_vm_manager: --debug enables debug mode in clan_cli too' (#840) from Qubasa-add_spinner into main 2024-02-14 08:43:14 +00:00
Qubasa
3e8350bd3f clan_cli: Added longer timeout for test 2024-02-14 15:40:03 +07:00
Jörg Thalheim
9f494e1024 drop check for /var/lib/nixos 2024-02-13 12:44:22 +01:00