Commit Graph

4397 Commits

Author SHA1 Message Date
Jörg Thalheim
83f6485abc move nixos-facter imports to clanCore 2024-10-09 11:56:36 +02:00
Jörg Thalheim
fd114ab0f9 import nixos facter by default 2024-10-09 11:36:03 +02:00
clan-bot
1018c4214f Merge pull request 'Docs: improve module author guide code examples, code structuring' (#2233) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-09 08:43:14 +00:00
Johannes Kirschbauer
824c737055 Docs: improve module author guide code examples, code structuring 2024-10-09 10:28:41 +02:00
clan-bot
2f28bbdf7a Merge pull request 'Docs: minor improvements' (#2232) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-09 07:44:57 +00:00
Johannes Kirschbauer
c965032a6f Docs: minor improvements 2024-10-09 09:38:31 +02:00
Mic92
3a8bf4c3fa Merge pull request 'Rework vm process handling' (#2193) from fix-warning into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2193
2024-10-08 17:51:55 +00:00
Jörg Thalheim
f19d977544 test_vars_deployment: fix test 2024-10-08 17:51:55 +00:00
Jörg Thalheim
09d1ccd0fd vms/run: make portmap a dict to fix serializer 2024-10-08 17:51:55 +00:00
Jörg Thalheim
9e5de5c8f0 vms/run: better defaults for run api 2024-10-08 17:51:55 +00:00
Jörg Thalheim
112d7bf2be expose the option to run commands in virtual machines 2024-10-08 17:51:55 +00:00
Jörg Thalheim
53bde4f9f7 add a flag to start qemu non-interactive 2024-10-08 17:51:55 +00:00
Jörg Thalheim
c729840f09 test_flake_with_core: no longer auto shutdown vm
We can now execute commands to have a better interface for this.
2024-10-08 17:51:55 +00:00
Jörg Thalheim
ce9b1f923f vms/run: don't use deprecated clanCore option 2024-10-08 17:51:55 +00:00
Jörg Thalheim
68271b4d12 restore proper error printing
Error represenation should be part of the error and we should not repeat
formatting here.
if we are in debug mode also print the stack trace
2024-10-08 17:51:55 +00:00
Jörg Thalheim
46ceb62658 Update facts/secrets for service openssh in machine test-backup 2024-10-08 17:51:55 +00:00
Jörg Thalheim
c5369ed3a6 Update facts/secrets for service borgbackup in machine test-backup 2024-10-08 17:51:55 +00:00
Jörg Thalheim
a024ea9850 fix systemd-boot security warning for /boot 2024-10-08 17:51:55 +00:00
Jörg Thalheim
1cea965bc1 switch from userborn to sysusers
fixes #2117
2024-10-08 17:51:55 +00:00
Jörg Thalheim
36573589ef {vars,facts}/generate: ensure that args.flake is passed 2024-10-08 17:51:55 +00:00
Jörg Thalheim
1833724124 introduce better vm management abstraction and use it in tests 2024-10-08 17:51:55 +00:00
Jörg Thalheim
8101996c16 pass in flakeid to vm_state_dir 2024-10-08 17:51:55 +00:00
Jörg Thalheim
07e6d1e57c vm_config: deprecate a few fields 2024-10-08 17:51:55 +00:00
Jörg Thalheim
e7218d09c9 pytest: error on warning 2024-10-08 17:51:55 +00:00
Jörg Thalheim
1c9ea1d5b8 cmd/run: remove unnecessary wait 2024-10-08 17:51:55 +00:00
clan-bot
4039be18a5 Merge pull request 'Inventory/schema: disable warning until fully migrated' (#2231) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-08 17:38:23 +00:00
Johannes Kirschbauer
0fec60a36c Inventory/schema: disable warning until fully migrated 2024-10-08 19:31:27 +02:00
clan-bot
b85d502cc3 Merge pull request 'Docs: move disko config example into nix files' (#2230) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-08 17:10:01 +00:00
Johannes Kirschbauer
8afec3e883 Docs: move disko config example into nix files 2024-10-08 19:04:03 +02:00
clan-bot
4a34c1d691 Merge pull request 'Docs: init module author guide' (#2229) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-08 12:28:04 +00:00
Johannes Kirschbauer
95b565eada Docs: init module author guide 2024-10-08 14:22:16 +02:00
clan-bot
b3e76dd300 Merge pull request 'clanModules/localsend: add displayName functionality' (#2228) from kenji/clan-core:kenji-clanModules/localsend/feat/add-displayName into main 2024-10-08 10:42:21 +00:00
a-kenji
efe6bcf980 clanModules/localsend: add displayName functionality 2024-10-08 12:36:15 +02:00
clan-bot
68cf100a40 Merge pull request 'Inventory/interface: add enable flag for service instances' (#2227) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-08 10:31:06 +00:00
Johannes Kirschbauer
2092101581 Inventory/enabled: add eval test 2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
f9387df76d Inventory/enable: dont include disabled services 2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
d4865d10e4 Inventory/interface: add enable flag for service instances 2024-10-08 12:24:57 +02:00
clan-bot
42436d339f Merge pull request 'Inventory/tests: add more eval smoke tests' (#2226) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-08 10:12:09 +00:00
Johannes Kirschbauer
8c15f58df6 Inventory/tests: add more eval smoke tests 2024-10-08 12:06:03 +02:00
clan-bot
1ee8e0a7b7 Merge pull request 'Init: inventory schema for role dependant interfaces' (#2225) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-08 09:44:42 +00:00
Johannes Kirschbauer
a3f084f6f4 Init: inventory schema for role dependant interfaces 2024-10-08 11:38:15 +02:00
clan-bot
3754593aa3 Merge pull request 'clan-cli: Fix breakage if machines update' (#2221) from Qubasa/clan-core:Qubasa-main into main 2024-10-08 01:45:00 +00:00
Qubasa
528f9f9684 clan-cli: Fix breakage if machines update 2024-10-08 03:38:46 +02:00
clan-bot
2efe5daeab Merge pull request 'clan-cli: Fix bug where --host-key-check is not applied to build-host' (#2220) from Qubasa/clan-core:Qubasa-main into main 2024-10-08 01:09:02 +00:00
Qubasa
5bd607a8ad clan-cli: Fix bug where --host-key-check is not applied to build-host 2024-10-08 03:03:13 +02:00
Luis Hebendanz
c666fb8d74 Merge pull request 'clan-cli: Fix bug where --host-key-check is not applied everywhere' (#2208) from Qubasa/clan-core:Qubasa-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2208
2024-10-08 00:25:15 +00:00
Qubasa
e85e5c13e4 clan-cli: Fix bug where --host-key-check is not applied everywhere 2024-10-08 00:25:15 +00:00
clan-bot
899bfde40c Merge pull request 'Fix: wrong path concat coercion' (#2219) from hsjobeki/clan-core:hsjobeki-main into main 2024-10-07 21:14:21 +00:00
hsjobeki
bbe0d264f1 Merge pull request 'Init: eval clanmodule interface with roles' (#2217) from hsjobeki/clan-core:hsjobeki-roles-interface into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2217
2024-10-07 21:08:28 +00:00
Johannes Kirschbauer
bca5724f41 Init: eval clanmodule interface with roles 2024-10-07 21:08:28 +00:00