Johannes Kirschbauer
df598275f9
templates: fix tests
2025-06-27 19:14:21 +02:00
Mic92
baf9f4722a
Merge pull request 'pkgs/clan: Fix clan ssh subcommand' ( #4124 ) from mic92/kenji/ke-fix-ssh-deploy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4124
2025-06-27 16:57:07 +00:00
Jörg Thalheim
1e6ceac2bd
don't keep appending --impure to nix_options when running tests
2025-06-27 18:54:13 +02:00
a-kenji
73db293ec7
pkgs/clan: Fix clan ssh subcommand
2025-06-27 15:39:38 +02:00
Jörg Thalheim
6ae6f48586
select: disable remote building and substitution
...
this should make things faster since the derivation itself is trivial.
2025-06-27 13:37:16 +02:00
kenji
2467039fe2
Merge pull request 'pkgs/clan: Add machine validator with suggestion logic' ( #4112 ) from ke-machines-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4112
2025-06-27 11:09:05 +00:00
kenji
fcc862ac3d
Merge pull request 'pkgs/clan: Improve error message on clan secrets users add' ( #4095 ) from kenji/ke-clan-age-key-error into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4095
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-06-27 10:52:16 +00:00
a-kenji
5a81adfc68
pkgs/clan: Add machine validator with suggestion logic
...
Add machine validator with suggestion logic to:
- `clan machines update`
- `clan machines delete`
- `clan machines update-hardware-config`
2025-06-27 12:32:36 +02:00
Johannes Kirschbauer
f6cad7c4a4
tests/create_clan: bring back read,write checks
2025-06-27 11:04:31 +02:00
Johannes Kirschbauer
8ab9556a12
templates/minimal: consistent input names
2025-06-27 11:04:31 +02:00
pinpox
77d8f76eb8
Cleanup templates
2025-06-27 10:39:59 +02:00
Johannes Kirschbauer
66ee74e193
schema: update clan option source
2025-06-26 13:24:34 +02:00
a-kenji
aaac5b5b7c
pkgs/clan: Improve error message on clan secrets users add
...
Improve error message on `clan secrets users add [user] --age-key
`AGE-PLUGIN-YUBIKEY`
Since there is no way to get the recipient through the AGE-PLUGIN-YUBIKEY,
we should fail fast and give an actionable error to the user.
2025-06-25 17:30:59 +02:00
a-kenji
7c9600b427
pkgs/clan-cli: Fix typo in sshd test
2025-06-25 10:13:06 +02:00
DavHau
3cb91769ca
nix_modules: generate clan.py in top-level shell
...
Generally I don't think dev shells are the right place to trigger generation of files.
This should be part of the formatter and pre-commit hook
@hsjobeki
2025-06-25 12:33:36 +07:00
Qubasa
43df077dda
clan-app: Add a 'group' to log_manager. Move log_manager to own subdirectory
2025-06-24 21:42:18 +02:00
Qubasa
cb2097c1e5
clan-cli: Remove unecessary nix_options args from functions
2025-06-24 19:07:41 +02:00
Qubasa
cd1d49b603
clan-lib: Move nix_options from Machine class to Flake class
2025-06-24 19:03:20 +02:00
Luis Hebendanz
20080f8857
Merge pull request 'Move update.py to clan_lib/machines part 4' ( #4073 ) from Qubasa/clan-core:move_to_clan_lib6 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4073
2025-06-24 14:52:10 +00:00
Luis Hebendanz
2ec23b96cf
Merge pull request 'Move delete.py to clan_lib/machines part 3' ( #4069 ) from Qubasa/clan-core:move_to_clan_lib5 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4069
2025-06-24 14:51:19 +00:00
Luis Hebendanz
d477018e72
Merge pull request 'Move list.py to clan_lib/machines part 2' ( #4068 ) from Qubasa/clan-core:move_to_clan_lib4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4068
2025-06-24 14:51:06 +00:00
pinpox
7fc8776742
Merge branch 'main' into machine-id-option
2025-06-24 11:12:24 +00:00
Qubasa
6e4dc03b1d
clan-cli: Move update.py to clan_lib/machines
2025-06-24 12:17:21 +02:00
Qubasa
2bfc33bc31
clan-cli: Move delete.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
Qubasa
21b0c00c05
clan-cli: Move list.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
Qubasa
d65bdb30eb
clan-cli: Move morph.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
DavHau
7745e9eec6
inventory interface: add description for module.name
2025-06-24 10:09:05 +00:00
pinpox
4f4153660f
Merge branch 'main' into machine-id-option
2025-06-24 10:08:04 +00:00
Qubasa
ded7f0eb39
clan-cli: Move list.py to clan_lib/machines
2025-06-24 11:57:02 +02:00
kenji
2e403425f9
Merge pull request 'pkgs/clan: Add --tags support to clan machines update' ( #4061 ) from kenji/pkgs/clan: Add --tags support to clan machines update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4061
2025-06-24 09:43:35 +00:00
pinpox
b0575e79e1
Merge branch 'main' into machine-id-option
2025-06-24 09:41:42 +00:00
Qubasa
f09656bbf6
clan-cli: Move delete.py to clan_lib/machines
2025-06-24 11:37:21 +02:00
Qubasa
0451f917ed
clan-cli: Move list.py to clan_lib/machines
2025-06-24 11:32:42 +02:00
Qubasa
20822c932d
clan-cli: Move morph.py to clan_lib/machines
2025-06-24 11:24:38 +02:00
Luis Hebendanz
feb47ffe33
Merge pull request 'clan-cli: Move hardware.py to clan_lib/machines part2' ( #4066 ) from Qubasa/clan-core:move_to_clan_lib2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4066
2025-06-24 09:19:41 +00:00
Qubasa
168e1d8c96
clan-cli: Move hardware.py to clan_lib/machines
2025-06-24 11:07:37 +02:00
pinpox
d88ac429cb
Make machine ID a option
2025-06-24 10:42:03 +02:00
Qubasa
78fdd21610
clan-cli: Add missining propagation of host-key-check in machines.update
2025-06-24 10:35:53 +02:00
a-kenji
fc0e8fa1bd
pkgs/clan: Add --tags support to clan machines update
2025-06-23 23:51:43 +02:00
hsjobeki
1afc3a8d8e
Merge pull request 'pkgs/clan-cli: Remove confusing note from the CLI help' ( #4045 ) from kenji/pkgs/clan-cli: Remove confusing note from the CLI help into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4045
2025-06-23 14:22:28 +00:00
hsjobeki
29199e96da
Merge pull request 'Feat(inventory): simplify instance module spec, by applying a default' ( #4054 ) from hsjobeki/module-default into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4054
2025-06-23 14:21:55 +00:00
Johannes Kirschbauer
1ceec8ba8a
Chore(classes): update classes
2025-06-23 16:11:12 +02:00
Qubasa
071151f300
clan-lib: Rename parse_deployment_address to parse_ssh_uri
2025-06-23 15:32:35 +02:00
Qubasa
255f2da358
clan-lib: Remove override args from parse_deployment_address, instead use the Remote.override method where necessary
2025-06-23 15:28:22 +02:00
Qubasa
054ea67fb7
clan-cli: Simplify HostKeyCheck to a Literal instead of an Enum
2025-06-23 15:08:44 +02:00
Qubasa
65bb9021de
clan-cli: Move clan_cli/ssh/host_key.py to clan_lib/ssh
2025-06-23 15:07:18 +02:00
Qubasa
bc6b7e4ae9
clan-lib: Rename check_machine_online to can_ssh_login. Move to Remote object
2025-06-23 14:21:51 +02:00
a-kenji
eaa2eaff84
pkgs/clan-cli: Remove confusing note from the CLI help
...
Remove a now obsolete and thus confusing note from the help output
of `clan show`.
2025-06-23 08:57:43 +02:00
Qubasa
274c552365
clan-lib: machines.py: Remove host_key attribute
2025-06-19 17:55:56 +02:00
Qubasa
aac07ddd25
clan-lib: machines.py: Remove private_key attribute
2025-06-19 17:28:50 +02:00