Commit Graph

86 Commits

Author SHA1 Message Date
a-kenji
2a29b8904c lib/*/interface.nix: Fix typos 2024-12-17 11:58:28 +01:00
Johannes Kirschbauer
e5dc7c2f9d docs: fix typo in inventory 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
7ac8b70ebd clanInternals.inventory: expose used priorities 2024-12-04 17:41:41 +01:00
Johannes Kirschbauer
0e556302c1 Clan-cli/api: list external modules 2024-11-21 17:04:35 +01:00
Johannes Kirschbauer
3ebda7c304 Ext/modules: expose module schemas 2024-11-21 17:02:34 +01:00
Johannes Kirschbauer
c7dcf9f517 inventory/eval.-tests: add explicit modules 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
0d555df9ac Docs/inventory: ad-hoc loading of user modules 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
cb0eb5f888 Inventory: improve check service message 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
b3bcecd61c Inventory: init external modules support 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
cfe9dbf117 Docs/frontmatter: init automatic reference for frontmatter 2024-11-19 10:35:13 +01:00
Johannes Kirschbauer
9028027220 modules/frontmatter: init module interface as source of frontmatter 2024-11-15 20:04:06 +01:00
Johannes Kirschbauer
0a59803616 Inventory/constraints: add id's to inventory constraints to make them more observable 2024-11-13 13:58:43 +01:00
Johannes Kirschbauer
22e164b869 Chore: remove unsued inventory example 2024-11-13 09:18:24 +01:00
Johannes Kirschbauer
722012ed55 Modules/constraints: init constraints checking for inventory compatible modules 2024-11-12 18:36:38 +01:00
Johannes Kirschbauer
4994b5acb5 Inventory: init inventory.tags for globally defined static and dynamic tags 2024-11-08 12:48:03 +01:00
Jörg Thalheim
05ea59d38a inventory: make sure we always define all roles, even if we don't have machines
this makes write writing modules easier

add missing roles assertions
2024-11-04 12:57:07 +01:00
danjujan
7a1e952c54 lib: fix typos 2024-10-29 12:37:34 +00:00
Johannes Kirschbauer
4e90ced9a8 Inventory: removed devshell input 2024-10-09 13:27:09 +02:00
Johannes Kirschbauer
08d26b9463 Inventory/schemas: move all schemas to legacyPackages 2024-10-09 13:27:09 +02:00
Johannes Kirschbauer
666f87e7e4 Inventory/schemas: use less schema versions 2024-10-09 13:27:09 +02:00
Jörg Thalheim
f825fa4b9b lib/inventory/tests: adapt imported module account 2024-10-09 12:32:04 +02:00
Jörg Thalheim
9cdd55acf4 drop "system" argument from inventory 2024-10-09 12:07:58 +02:00
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