Commit Graph

64 Commits

Author SHA1 Message Date
Johannes Kirschbauer
534e217020 Inventory/enabled: add eval test 2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
3d88c79fec Inventory/enable: dont include disabled services 2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
6eed3894b3 Inventory/interface: add enable flag for service instances 2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
52b26f6cda Inventory/tests: add more eval smoke tests 2024-10-08 12:06:03 +02:00
Johannes Kirschbauer
184db43997 Init: inventory schema for role dependant interfaces 2024-10-08 11:38:15 +02:00
clan-bot
92240428f0 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
Johannes Kirschbauer
a414981089 Init: eval clanmodule interface with roles 2024-10-07 21:08:28 +00:00
Johannes Kirschbauer
1237071081 Fix: update tests and error message 2024-10-07 23:04:30 +02:00
Johannes Kirschbauer
cc0aa3d2a2 Fix: modules wrong path coercion 2024-10-07 22:47:49 +02:00
Johannes Kirschbauer
f169b1bcd1 Meta.name: not nullable, since deduped 2024-10-04 14:30:50 +02:00
Johannes Kirschbauer
68a571f858 Interfaces: unclutter meta interface, file conflict position tracking 2024-10-04 13:48:11 +02:00
Johannes Kirschbauer
f0eed06cd5 Inventory/tests: don't expect the default.nix to be imported anymore 2024-10-02 10:49:06 +02:00
Johannes Kirschbauer
978c3c21d4 Inventory/modules: use explicit roles only 2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
40f0e98b26 Inventory: improve role imports 2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
f40393f82a Docs/inventory: add documentation for inventory attributes 2024-09-25 13:36:33 +02:00
Johannes Kirschbauer
9bee82d21e Inventory: fixup imports to extraModules 2024-09-18 08:27:39 +02:00
Johannes Kirschbauer
d4123a14d2 Inventory: fix eval tests 2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
72f79dee37 Inventory: docs improvements 2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
805d09cd61 Inventory: check extraModules serilizable 2024-09-16 13:50:03 +00:00
Johannes Kirschbauer
8bda488425 CLI: use abstract schema to avoid module imports 2024-09-15 18:42:50 +02:00
Johannes Kirschbauer
43a4d8260b Inventory: rename imports to extraModules 2024-09-15 16:41:33 +00:00
Johannes Kirschbauer
bc56ce3f4c Inventory: allow arbitrary imports from nix 2024-09-15 16:41:33 +00:00
Johannes Kirschbauer
8d5463587e Inventory: set {name,meta.name} automatically 2024-09-15 15:20:35 +02:00
Johannes Kirschbauer
27f3935abc Inventory: eval test fixup 2024-09-15 14:10:33 +02:00
Johannes Kirschbauer
cfdba6c731 Inventory: only declare the module namespace if any config is defined 2024-09-15 13:35:53 +02:00
Johannes Kirschbauer
e889528ca0 ClanModules: make all module available to inventory 2024-09-13 17:18:20 +02:00
Qubasa
60397e0ca4 clanCore: init machine_id_v3 2024-09-13 12:17:49 +02:00
a-kenji
b13ed922b1 Revert "Merge pull request 'machine_id_v2' (#2052) from Qubasa/clan-core:machine_id_v2 into main"
This reverts commit 22a11abfe5, reversing
changes made to 208b71ac0e.
2024-09-10 14:01:12 +02:00
Qubasa
5c975a5eef clanCore: init machineId and diskId v2 2024-09-09 15:51:31 +02:00
Qubasa
2efa096d29 revert machine_id pull request 2024-09-06 21:38:50 +02:00
Qubasa
4171d5ea4e clanCore: init machine_id.nix with clan.core.machine.{id,diskId} 2024-09-06 18:05:40 +02:00
Johannes Kirschbauer
f0f870cf56 Inventory: add assertions, allow external references 2024-08-13 19:22:29 +02:00
Johannes Kirschbauer
33261ab4b6 Classgen: add error reporting and combine common classes 2024-07-19 13:03:38 +02:00
Johannes Kirschbauer
8dece6fb82 Docs: explain inventory imports 2024-07-19 11:26:34 +02:00
Johannes Kirschbauer
a5dd99c43d Docs: generate api docs for inventory 2024-07-19 11:07:47 +02:00
Johannes Kirschbauer
b752d2eb67 Init: Autogenerate classes from nix interfaces 2024-07-18 19:14:12 +02:00
Johannes Kirschbauer
2a0acb28d3 Fix eval tests 2024-07-17 12:12:42 +02:00
Johannes Kirschbauer
bc520df9ff Inventory: fix options 2024-07-17 10:55:46 +02:00
Johannes Kirschbauer
e236dba1c9 Inventory: extend python dataclasses by schema changes 2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
baa9dc1d1a Inventory: extend model by deployment info 2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
9e6f2743e0 Inventory: init: deployment info for machines 2024-07-17 10:07:57 +02:00
Johannes Kirschbauer
5ec952d29d Inventory: migrate failure test message 2024-07-16 10:33:24 +02:00
Jörg Thalheim
d9932b3b81 wip: debug 2024-07-15 20:41:27 +02:00
Jörg Thalheim
ef4ef00d0f inventory: better error message if tags are not found 2024-07-15 20:41:27 +02:00
Jörg Thalheim
cc5c027d92 inventory: don't check if tag is used in inventory
this doesn't work with flake-parts
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
ec5fb47b32 Inventory: fix tests 2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
d99dfbcedd Inventory: add global imports 2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
018f18a93e Inventory: fix roles config 2024-07-15 15:59:59 +02:00
Jörg Thalheim
8e7a34af0d inventory: allow per role configuration 2024-07-15 13:43:43 +02:00
Johannes Kirschbauer
d77f722769 Doc: write inventory documentation 2024-07-14 16:42:27 +02:00