Commit Graph

5069 Commits

Author SHA1 Message Date
Qubasa
771b178516 clan-cli: made run_no_stdout runOpts compatible and make time table thread safe 2024-12-06 12:18:28 +01:00
clan-bot
b18512c950 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
ceaeb2f1f6 vars migration: raise error on incomplete migration, commit migrated files 2024-12-06 11:25:17 +01:00
clan-bot
1c1f52f19b 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
c84515efd2 inventory/api: init smart update for inventory 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
2d807c69e2 inventory/api: prepare list merging 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
cb329900d9 docs: fix typo in inventory 2024-12-06 11:07:52 +01:00
clan-bot
a0ba8c4806 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
6a2e331861 inventory/eval: init determine writeability for single inventory options 2024-12-05 16:18:46 +01:00
Mic92
957ff48195 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
ea9e44ef77 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
419e17a999 extract nix_test_store helper for sandbox builds 2024-12-05 11:38:58 +01:00
lassulus
47250f1e8b 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
3abe715472 vars: export also file owner & group to deployment.json 2024-12-05 10:29:19 +01:00
lassulus
9572a73fe8 vars password-store: create tarball dir if not for users 2024-12-04 23:30:39 +01:00
lassulus
19a251d6fc vars: add file mode 2024-12-04 23:30:39 +01:00
clan-bot
15282e5d78 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
8f04b510dd UI/machines: remove deprecated details before redoing 2024-12-04 17:46:28 +01:00
Johannes Kirschbauer
653cca9276 UI/disk: remove dreprecated disk hook 2024-12-04 17:45:31 +01:00
Johannes Kirschbauer
d07d59a4fc api: create machine touch only the created machine 2024-12-04 17:44:56 +01:00
Johannes Kirschbauer
b72344085a clan.cli.inventory: init partial write 2024-12-04 17:43:20 +01:00
Johannes Kirschbauer
40704d7626 clanInternals.inventory: expose used priorities 2024-12-04 17:41:41 +01:00
Johannes Kirschbauer
fca193073e 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
fb6fa46a3b api.inventory.modules: filter out /nix/store paths 2024-12-04 17:37:23 +01:00
clan-bot
8da4fceb24 Merge pull request 'Better install instructions for macos' (#2550) from arm64 into main 2024-12-04 16:32:02 +00:00
Jörg Thalheim
d5eb60d904 test_vars: set hostPlatform 2024-12-04 17:25:20 +01:00
Jörg Thalheim
742494967a classgen: better message how to update 2024-12-04 17:25:20 +01:00
Jörg Thalheim
25236a813d clan-cli/clan_cli/inventory/update.sh: make script idempotent 2024-12-04 17:15:54 +01:00
clan-bot
742b0c2c45 Merge pull request 'vm-tests' (#2558) from vm-tests into main 2024-12-04 16:14:54 +00:00
lassulus
8b12578c13 test_vars_deployment: fix race condition with multiple VMs on error case 2024-12-04 17:07:36 +01:00
lassulus
acb78d4fb8 test_vars_deployment: pass stdin as DEVNULL to vm 2024-12-04 17:07:36 +01:00
Jörg Thalheim
77d05a6bd6 test_vms_cli: set hostPlatform x86_64-linux 2024-12-04 17:04:12 +01:00
lassulus
2aa1395f8f spawn_vm: pass stdin 2024-12-04 16:57:49 +01:00
lassulus
b1260749fa qemu_command: disable monitor if non interactive 2024-12-04 16:44:30 +01:00
lassulus
3a4aec2c7e start_vm: log VM start command 2024-12-04 16:43:59 +01:00
Jörg Thalheim
e80a6c2139 test_flake_with_core: set system explicit 2024-12-04 15:54:00 +01:00
Jörg Thalheim
7e28cca612 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
e499aa0903 getpwnam-preload.c: no longer log shell 2024-12-04 14:57:00 +01:00
Jörg Thalheim
6135b52c32 only enable show-trace if we run in debug mode 2024-12-04 14:54:47 +01:00
Jörg Thalheim
2e07bfa834 fix deploying from darwin to linux 2024-12-04 14:54:44 +01:00
Jörg Thalheim
39daf4e3df 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
093bdf7c5c document clan machines create 2024-12-04 12:14:32 +01:00
Jörg Thalheim
74d65e4d2f machines no longer need to be specified in buildClan 2024-12-04 12:14:32 +01:00
Jörg Thalheim
ee88e70a9f no longer show prefix 2024-12-04 12:14:32 +01:00
Jörg Thalheim
7158f64800 commit file instead of just git adding it 2024-12-04 12:14:32 +01:00
Jörg Thalheim
6b8a9ff0dc skip writing the empty inventory json 2024-12-04 12:14:32 +01:00
Jörg Thalheim
0b83bea2c6 add install instructions for macos 2024-12-04 12:14:32 +01:00
Jörg Thalheim
54b6503ee1 re-add missing wget 2024-12-04 11:26:22 +01:00
clan-bot
1511b14b3c Merge pull request 'fix vars migration prompts. add secretsForUsers to vars interface and implement that for pass' (#2551) from lassulus/clan-core:vars-stuff into main 2024-12-04 09:03:24 +00:00
clan-bot
15458c33ba Merge pull request 'Add missing quotes around nix-command flakes' (#2557) from Enzime/clan-core:push-ovqtprtkzuvm into main 2024-12-04 08:49:02 +00:00