Commit Graph

5073 Commits

Author SHA1 Message Date
Jörg Thalheim
68dd2b9b9d installation: fix correct binary on aarch64 2024-12-06 15:39:35 +00:00
clan-bot
34eb4b6ff8 Merge pull request 'clan-app: Fix breakage on missing inventory' (#2568) from Qubasa/clan-core:Qubasa-main into main 2024-12-06 14:18:31 +00:00
Qubasa
882c55da1f clan-app: Fix breakage on missing inventory 2024-12-06 15:11:31 +01:00
clan-bot
0976128f55 Merge pull request 'clan-cli: made run_no_stdout runOpts compatible and make time table thread safe' (#2566) from Qubasa/clan-core:Qubasa-main into main 2024-12-06 11:25:49 +00:00
Qubasa
daf8033c25 clan-cli: made run_no_stdout runOpts compatible and make time table thread safe 2024-12-06 12:18:28 +01:00
clan-bot
4edda86257 Merge pull request 'vars migration: raise error on incomplete migration, commit migrated files' (#2565) from vars-migration-fix into main 2024-12-06 10:32:14 +00:00
lassulus
c3f2a1e588 vars migration: raise error on incomplete migration, commit migrated files 2024-12-06 11:25:17 +01:00
clan-bot
0caa801849 Merge pull request 'inventory/api: init partial update.' (#2564) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-06 10:15:38 +00:00
Johannes Kirschbauer
6dd1ecb044 inventory/api: init smart update for inventory 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
a032c446e1 inventory/api: prepare list merging 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
e5dc7c2f9d docs: fix typo in inventory 2024-12-06 11:07:52 +01:00
clan-bot
7a24143825 Merge pull request 'inventory/eval: init determine writeability for single inventory options' (#2563) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-05 15:26:09 +00:00
Johannes Kirschbauer
ebd494e112 inventory/eval: init determine writeability for single inventory options 2024-12-05 16:18:46 +01:00
Mic92
3c58d64cb5 Merge pull request 'extract nix_test_store helper for sandbox builds' (#2562) from sandbox into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2562
2024-12-05 10:46:41 +00:00
Jörg Thalheim
95adf200ac remove incorrect usage of tempdir for sandbox directories
The flags out-live the temporary directory
2024-12-05 11:38:58 +01:00
Jörg Thalheim
e2ed57f8dd extract nix_test_store helper for sandbox builds 2024-12-05 11:38:58 +01:00
lassulus
2f8e8efdf7 Merge pull request 'add mode to vars files' (#2560) from vars-mode into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2560
2024-12-05 10:19:08 +00:00
lassulus
e9efe2f0d1 vars: export also file owner & group to deployment.json 2024-12-05 10:29:19 +01:00
lassulus
cfda7d6557 vars password-store: create tarball dir if not for users 2024-12-04 23:30:39 +01:00
lassulus
82fb1edc37 vars: add file mode 2024-12-04 23:30:39 +01:00
clan-bot
ffa7718936 Merge pull request 'lib.values: init getPrio' (#2559) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-04 16:53:09 +00:00
Johannes Kirschbauer
b906667732 UI/machines: remove deprecated details before redoing 2024-12-04 17:46:28 +01:00
Johannes Kirschbauer
585243e7c3 UI/disk: remove dreprecated disk hook 2024-12-04 17:45:31 +01:00
Johannes Kirschbauer
7b529855cd api: create machine touch only the created machine 2024-12-04 17:44:56 +01:00
Johannes Kirschbauer
17de9e3e2f clan.cli.inventory: init partial write 2024-12-04 17:43:20 +01:00
Johannes Kirschbauer
7ac8b70ebd clanInternals.inventory: expose used priorities 2024-12-04 17:41:41 +01:00
Johannes Kirschbauer
de78a85324 lib.values: init getPrio
This function can be used to get the priority of all values within a module
2024-12-04 17:37:23 +01:00
Johannes Kirschbauer
493e158d3c api.inventory.modules: filter out /nix/store paths 2024-12-04 17:37:23 +01:00
clan-bot
daf892c046 Merge pull request 'Better install instructions for macos' (#2550) from arm64 into main 2024-12-04 16:32:02 +00:00
Jörg Thalheim
621fbd0f83 test_vars: set hostPlatform 2024-12-04 17:25:20 +01:00
Jörg Thalheim
161475a249 classgen: better message how to update 2024-12-04 17:25:20 +01:00
Jörg Thalheim
e1c135bf9d clan-cli/clan_cli/inventory/update.sh: make script idempotent 2024-12-04 17:15:54 +01:00
clan-bot
f2c8bea2a3 Merge pull request 'vm-tests' (#2558) from vm-tests into main 2024-12-04 16:14:54 +00:00
lassulus
35ff4b92a6 test_vars_deployment: fix race condition with multiple VMs on error case 2024-12-04 17:07:36 +01:00
lassulus
0b8debae46 test_vars_deployment: pass stdin as DEVNULL to vm 2024-12-04 17:07:36 +01:00
Jörg Thalheim
012e2686d0 test_vms_cli: set hostPlatform x86_64-linux 2024-12-04 17:04:12 +01:00
lassulus
5c46b3b0a7 spawn_vm: pass stdin 2024-12-04 16:57:49 +01:00
lassulus
f0e415066e qemu_command: disable monitor if non interactive 2024-12-04 16:44:30 +01:00
lassulus
64c5718bd4 start_vm: log VM start command 2024-12-04 16:43:59 +01:00
Jörg Thalheim
eac609a85d test_flake_with_core: set system explicit 2024-12-04 15:54:00 +01:00
Jörg Thalheim
5a5980f3be revert pytest log format
This is makes error output of command extremly unreadable.

If someone wants a different value they can specify it on the
commandline.
2024-12-04 15:22:43 +01:00
Jörg Thalheim
4457cdddbc getpwnam-preload.c: no longer log shell 2024-12-04 14:57:00 +01:00
Jörg Thalheim
dbcf6780ab only enable show-trace if we run in debug mode 2024-12-04 14:54:47 +01:00
Jörg Thalheim
5aa7cf4d1c fix deploying from darwin to linux 2024-12-04 14:54:44 +01:00
Jörg Thalheim
4aa63021ff flash: drop wifi option
This feature is broken and will be replaced by templates machines
eventually.
2024-12-04 12:52:38 +01:00
Jörg Thalheim
2be0d30ad5 document clan machines create 2024-12-04 12:14:32 +01:00
Jörg Thalheim
4d8ca2d635 machines no longer need to be specified in buildClan 2024-12-04 12:14:32 +01:00
Jörg Thalheim
041547b317 no longer show prefix 2024-12-04 12:14:32 +01:00
Jörg Thalheim
6247723c50 commit file instead of just git adding it 2024-12-04 12:14:32 +01:00
Jörg Thalheim
3452ca54e6 skip writing the empty inventory json 2024-12-04 12:14:32 +01:00