Commit Graph

5143 Commits

Author SHA1 Message Date
Clan Merge Bot
d9ab6da5ac update flake lock - disko - 2024-12-09T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/2814a5224a47ca19e858e027f7e8bff74a8ea9f1?narHash=sha256-2uMaVAZn7fiyTUGhKgleuLYe5%2BEAAYB/diKxrM7g3as%3D' (2024-11-30)
  → 'github:nix-community/disko/785c1e02c7e465375df971949b8dcbde9ec362e5?narHash=sha256-8dupm9GfK%2BBowGdQd7EHK5V61nneLfr9xR6sc5vtDi0%3D' (2024-12-02)
2024-12-09 00:00:01 +00:00
clan-bot
b642fbc5c5 Merge pull request 'inventory.{cli,api}: use only dictionaries' (#2572) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-06 20:12:49 +00:00
Johannes Kirschbauer
73f77b1ca3 formatting: make ruff happy with generated code 2024-12-06 21:06:41 +01:00
Johannes Kirschbauer
cd233fbacb lib/values: fix submodule and submoduleWith with external modules 2024-12-06 21:01:27 +01:00
Johannes Kirschbauer
4444c4a5c2 inventory/valuePrios: filter out unsupported freeformType 2024-12-06 21:00:59 +01:00
Johannes Kirschbauer
cc1eaf53ae lib/values: fix submodule definition merging 2024-12-06 20:15:16 +01:00
Johannes Kirschbauer
388455038a UI: fix type breakages 2024-12-06 19:53:03 +01:00
Johannes Kirschbauer
55d7914702 inventory/model: sync 2024-12-06 19:49:31 +01:00
Johannes Kirschbauer
35ebc120c5 serde/fix: fix construction of typedDict 2024-12-06 19:02:35 +01:00
Johannes Kirschbauer
69b7f6be5b inventory.{cli,api}: use only dictionaries 2024-12-06 18:51:20 +01:00
Johannes Kirschbauer
df43639e9b clan.cli: convert dataclasses into TypedDict using classgen 2024-12-06 18:51:20 +01:00
Johannes Kirschbauer
ddf44969b9 classgen: produce typedDict instead of dataclass 2024-12-06 18:51:20 +01:00
clan-bot
5d7bf8ad98 Merge pull request 'API/serde: add support for TypedDict' (#2571) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-06 16:44:30 +00:00
Johannes Kirschbauer
900499ede8 API/serde: add support for TypedDict 2024-12-06 17:37:37 +01:00
clan-bot
b96ff1e7c1 Merge pull request 'Disable some broken arm64 vm tests' (#2569) from sandbox into main 2024-12-06 16:10:58 +00:00
Jörg Thalheim
5aa1f47587 remove unused iso output 2024-12-06 17:04:02 +01:00
Jörg Thalheim
4a49c10451 disable installation/backup test on arm64 2024-12-06 17:03:57 +01:00
Mic92
de2f47e361 Merge pull request 'installation: fix correct binary on aarch64' (#2567) from sandbox into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2567
2024-12-06 15:39:35 +00:00
Jörg Thalheim
73c265bc43 simplify runInLinuxVM test 2024-12-06 15:39:35 +00:00
Jörg Thalheim
0a4cf8a8b8 tests/sshd: also log what platform we received in the assert 2024-12-06 15:39:35 +00:00
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