Johannes Kirschbauer
9d06dec7d0
Inventory: add new module class: class='clan'
2025-02-05 09:56:08 +07:00
Johannes Kirschbauer
6755aa2c70
inventory: migrate tests
2025-02-04 13:20:15 +07:00
Johannes Kirschbauer
316e33f54a
Inventory: refactor build-inventory in more independent parts
2025-02-04 13:20:15 +07:00
Jörg Thalheim
8634087309
Do not deprecate directory argument
2025-02-02 10:30:26 +00:00
Qubasa
e36654daa1
clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan
2025-01-24 12:32:04 +07:00
DavHau
3ec028d672
tests: reduce unnecessary rebuilds of several tests
...
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.
This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00
Johannes Kirschbauer
65ccf8e970
Fix: add values prios eval tests
2025-01-10 12:06:01 +00:00
Johannes Kirschbauer
b6059fc506
Inventory: warning on undefined tags, instead of error.
2025-01-10 12:06:01 +00:00
Johannes Kirschbauer
807ab37c2e
Docs: fix all broken anchor references
2024-12-31 15:43:20 +01:00
a-kenji
4ad2dcdf4e
lib/*/interface.nix: Fix typos
2024-12-17 11:58:28 +01:00
Johannes Kirschbauer
cb329900d9
docs: fix typo in inventory
2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
40704d7626
clanInternals.inventory: expose used priorities
2024-12-04 17:41:41 +01:00
Johannes Kirschbauer
ff052e53e3
Clan-cli/api: list external modules
2024-11-21 17:04:35 +01:00
Johannes Kirschbauer
de4c6caf30
Ext/modules: expose module schemas
2024-11-21 17:02:34 +01:00
Johannes Kirschbauer
aaaabafdf1
inventory/eval.-tests: add explicit modules
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
36d094501d
Docs/inventory: ad-hoc loading of user modules
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
db5350d3dc
Inventory: improve check service message
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
25fb899f64
Inventory: init external modules support
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
8544387d65
Docs/frontmatter: init automatic reference for frontmatter
2024-11-19 10:35:13 +01:00
Johannes Kirschbauer
d5c2c1af67
modules/frontmatter: init module interface as source of frontmatter
2024-11-15 20:04:06 +01:00
Johannes Kirschbauer
280878e30a
Inventory/constraints: add id's to inventory constraints to make them more observable
2024-11-13 13:58:43 +01:00
Johannes Kirschbauer
a24bc87cb5
Chore: remove unsued inventory example
2024-11-13 09:18:24 +01:00
Johannes Kirschbauer
241db1cade
Modules/constraints: init constraints checking for inventory compatible modules
2024-11-12 18:36:38 +01:00
Johannes Kirschbauer
a1acac4b7d
Inventory: init inventory.tags for globally defined static and dynamic tags
2024-11-08 12:48:03 +01:00
Jörg Thalheim
9923bfee74
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
61958130fd
lib: fix typos
2024-10-29 12:37:34 +00:00
Johannes Kirschbauer
a78d9715cb
Inventory: removed devshell input
2024-10-09 13:27:09 +02:00
Johannes Kirschbauer
15974d92fe
Inventory/schemas: move all schemas to legacyPackages
2024-10-09 13:27:09 +02:00
Johannes Kirschbauer
0a5223a1f0
Inventory/schemas: use less schema versions
2024-10-09 13:27:09 +02:00
Jörg Thalheim
b30763226a
lib/inventory/tests: adapt imported module account
2024-10-09 12:32:04 +02:00
Jörg Thalheim
5f0b0205b2
drop "system" argument from inventory
2024-10-09 12:07:58 +02:00
Johannes Kirschbauer
2092101581
Inventory/enabled: add eval test
2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
f9387df76d
Inventory/enable: dont include disabled services
2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
d4865d10e4
Inventory/interface: add enable flag for service instances
2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
8c15f58df6
Inventory/tests: add more eval smoke tests
2024-10-08 12:06:03 +02:00
Johannes Kirschbauer
a3f084f6f4
Init: inventory schema for role dependant interfaces
2024-10-08 11:38:15 +02:00
clan-bot
899bfde40c
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
bca5724f41
Init: eval clanmodule interface with roles
2024-10-07 21:08:28 +00:00
Johannes Kirschbauer
50f61979a5
Fix: update tests and error message
2024-10-07 23:04:30 +02:00
Johannes Kirschbauer
1d026f68ce
Fix: modules wrong path coercion
2024-10-07 22:47:49 +02:00
Johannes Kirschbauer
d812445e90
Meta.name: not nullable, since deduped
2024-10-04 14:30:50 +02:00
Johannes Kirschbauer
71d3d03b43
Interfaces: unclutter meta interface, file conflict position tracking
2024-10-04 13:48:11 +02:00
Johannes Kirschbauer
4a469ed312
Inventory/tests: don't expect the default.nix to be imported anymore
2024-10-02 10:49:06 +02:00
Johannes Kirschbauer
0819562a0b
Inventory/modules: use explicit roles only
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
de882cb02f
Inventory: improve role imports
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
21343e4032
Docs/inventory: add documentation for inventory attributes
2024-09-25 13:36:33 +02:00
Johannes Kirschbauer
61efab995a
Inventory: fixup imports to extraModules
2024-09-18 08:27:39 +02:00
Johannes Kirschbauer
7a4028660f
Inventory: fix eval tests
2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
56b76f9827
Inventory: docs improvements
2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
c82c70e4a9
Inventory: check extraModules serilizable
2024-09-16 13:50:03 +00:00