Johannes Kirschbauer
c6466f070e
Fix: hostPlatform not hostSystem
2024-07-24 10:34:10 +02:00
Johannes Kirschbauer
3435db68c8
Classgen: add error reporting and combine common classes
2024-07-19 13:03:38 +02:00
Johannes Kirschbauer
988ed9dccd
Docs: explain inventory imports
2024-07-19 11:26:34 +02:00
Johannes Kirschbauer
67b76c8ced
Docs: generate api docs for inventory
2024-07-19 11:07:47 +02:00
Johannes Kirschbauer
c92ee71d42
Jsonschema: fix tests
2024-07-18 22:04:11 +02:00
Johannes Kirschbauer
7e84eaa4b3
Init: Autogenerate classes from nix interfaces
2024-07-18 19:14:12 +02:00
Johannes Kirschbauer
69874a2405
Fix eval tests
2024-07-17 12:12:42 +02:00
Johannes Kirschbauer
0bfba72739
Inventory: fix options
2024-07-17 10:55:46 +02:00
Johannes Kirschbauer
ef18d60286
Inventory: extend python dataclasses by schema changes
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
7e21428548
Inventory: extend model by deployment info
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
ac95878ead
Inventory: init: deployment info for machines
2024-07-17 10:07:57 +02:00
Johannes Kirschbauer
a2c3c09564
Inventory: migrate failure test message
2024-07-16 10:33:24 +02:00
Jörg Thalheim
5c0b482431
wip: debug
2024-07-15 20:41:27 +02:00
Jörg Thalheim
7c83c89643
inventory: better error message if tags are not found
2024-07-15 20:41:27 +02:00
Jörg Thalheim
2eeab7f556
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
7b18caca9b
Inventory: fix tests
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
9afed2295d
Inventory: add global imports
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
914d50a1c5
Inventory: only apply if settings.json exists
2024-07-15 19:14:45 +02:00
Johannes Kirschbauer
5a4a7e6694
Inventory: fix roles config
2024-07-15 15:59:59 +02:00
Jörg Thalheim
7e3881d618
inventory: allow per role configuration
2024-07-15 13:43:43 +02:00
Johannes Kirschbauer
f2320e907f
Doc: write inventory documentation
2024-07-14 16:42:27 +02:00
Johannes Kirschbauer
ad321976ff
Fix schema test
2024-07-14 15:02:32 +02:00
Johannes Kirschbauer
6d1af2f6b3
Inventory: fix narrow pattern
2024-07-14 13:34:50 +02:00
Johannes Kirschbauer
425590ae12
Remove unneeded special args
2024-07-14 13:31:58 +02:00
Johannes Kirschbauer
e54101165f
Inventory: generate exact schema for validation & documentation
2024-07-14 13:30:02 +02:00
Johannes Kirschbauer
3034b9ef92
Json-schema: extend interface by header to allow schema spec and arbitrary extensions
2024-07-14 13:29:19 +02:00
Jörg Thalheim
6a2e24e7ff
lib.readFact: fix argument order
2024-07-09 15:23:26 +02:00
Jörg Thalheim
872a5fdc80
lib.facts: assume clanDir instead of machines prefix
2024-07-09 15:05:00 +02:00
Jörg Thalheim
a24c183ec5
lib.readFact: change order of arguments
2024-07-09 14:44:35 +02:00
Jörg Thalheim
9c8d993342
rename machineDir -> clanDir
2024-07-09 13:00:34 +02:00
Jörg Thalheim
00dbdaf071
improve error message for removed settings.json
2024-07-09 11:44:29 +02:00
Jörg Thalheim
9e6d5124ad
add shellcheck hints to all envrc files
2024-07-08 16:24:34 +02:00
Johannes Kirschbauer
04ef8d824e
Inventory spec: make system optional
2024-07-06 17:56:22 +02:00
Johannes Kirschbauer
d8ff8b042f
Doc: add conceptual documentation
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
9eb00df6b7
buildClan: autoimport configuration.nix & hardware-configuration.nix
2024-07-06 17:22:47 +02:00
DavHau
802f047341
devShells: make all shells inherit from default shell
...
Currently, important tools from the default shell are lost as soon as select-shell is used to switch to another shell. select-shell itself, for example is missing, which makes it impossible to switch back to another shell.
2024-07-05 15:01:25 +07:00
Johannes Kirschbauer
186784d0fd
clanModules: init single disk
2024-07-03 11:05:00 +02:00
a-kenji
1a969d884e
lib: add fact loaders to clan lib
2024-07-02 11:34:26 +00:00
Ingolf Wagner
f228239834
add lib/facts.nix
2024-07-02 11:34:26 +00:00
Johannes Kirschbauer
c678608105
Inventory: add system and sample machine
2024-07-01 21:25:02 +02:00
Jörg Thalheim
0ead3b477f
buildClan: improve deprecation error message of clanName
...
Printing the clanName in my case was actually more confusing then
helpful. Also mention what function needs to be updated.
2024-06-30 08:08:22 +02:00
DavHau
5668bc561d
vars: init
...
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
Johannes Kirschbauer
1628fdeaee
Inventory: add eval tests
2024-06-26 17:19:19 +02:00
Johannes Kirschbauer
2535fdcb12
Inventory: restructure folders
2024-06-26 15:19:40 +02:00
Johannes Kirschbauer
3777a4cf02
Add toml frontmatter description to jsonschema
2024-06-26 15:10:36 +02:00
Johannes Kirschbauer
9b0e2a87e8
ClanModules: Add docs and api to retrieve metadata
2024-06-25 21:17:01 +02:00
Johannes Kirschbauer
db951f1d9e
buildClan: bugfixing
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4fb15d8733
Add machinesDirs with default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
c0293b889c
Add machinesDirs with default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
26c655ff3c
Add settings.json back
2024-06-25 12:23:29 +00:00