Commit Graph

4696 Commits

Author SHA1 Message Date
Johannes Kirschbauer
9028027220 modules/frontmatter: init module interface as source of frontmatter 2024-11-15 20:04:06 +01:00
Johannes Kirschbauer
f9f760cbe8 UI/typograhy: init typography extension 2024-11-14 10:31:55 +01:00
clan-bot
c0bd20414e Merge pull request 'cleanup: remove legacy flake fixture test_flake_minimal and test_flake_with_core_and_pass' (#2404) from DavHau/clan-core:DavHau-dave into main 2024-11-14 07:08:11 +00:00
DavHau
05ff6cfd89 cleanup: remove legacy flake fixture test_flake_minimal and test_flake_with_core_and_pass 2024-11-14 14:03:29 +07:00
clan-bot
2061f38442 Merge pull request 'tests: minify test machines to decrease runtime' (#2401) from DavHau/clan-core:DavHau-dave into main 2024-11-13 13:44:59 +00:00
clan-bot
39a1bb349d Merge pull request 'Inventory/constraints improve observability' (#2400) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-13 13:42:17 +00:00
DavHau
c2a60dcbb6 tests: minify test machines to decrease runtime 2024-11-13 20:40:01 +07:00
Johannes Kirschbauer
42d6ad84f8 Assertions: Fixup dont render assertions into docs 2024-11-13 14:30:50 +01:00
Johannes Kirschbauer
686ef8f074 Docs: read roles only from inventory modules 2024-11-13 14:14:50 +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
b4e34e7f40 Zerotier/constraints: small improvements 2024-11-13 13:53:54 +01:00
Johannes Kirschbauer
3019d7da7e Inventory/assertions: add seperate assertion layer 2024-11-13 13:52:47 +01:00
clan-bot
3b4046b207 Merge pull request 'clan_cli vars: actually upload' (#2378) from lassulus/clan-core:vars-fix into main 2024-11-13 12:31:43 +00:00
lassulus
ddc7afd67d clan_cli vars: actually upload 2024-11-13 13:23:42 +01:00
Jörg Thalheim
616ddca734 cmd: also process stdin 2024-11-13 13:23:42 +01:00
lassulus
ebfc8ecfd0 cli machines update: run deploy directly if deploying single machine 2024-11-13 13:23:42 +01:00
lassulus
2c66b36931 core vars: remove default for dirs 2024-11-13 13:23:42 +01:00
clan-bot
dea0cd5844 Merge pull request 'vars: allow re-encrypting secrets when recipient keys were added.' (#2397) from DavHau/clan-core:DavHau-dave into main 2024-11-13 11:55:24 +00:00
DavHau
8b94bc71bc vars: allow re-encrypting secrets when recipient keys were added.
When the users of a secret change, when for example a new admin user is added, an error will be thrown when generating vars, prompting the user to pass --fix to re-encrypt the secrets
2024-11-13 18:49:30 +07:00
clan-bot
f3761c194e Merge pull request 'Chore: remove unsued inventory example' (#2392) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-13 09:43:40 +00:00
Johannes Kirschbauer
22e164b869 Chore: remove unsued inventory example 2024-11-13 09:18:24 +01:00
clan-bot
25b5d84442 Merge pull request 'Modules/constraints: init constraints checking for inventory compatible modules' (#2391) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-13 08:02:29 +00:00
Johannes Kirschbauer
38a980ae71 UI/modules: exclude typescript from dynamic field names and types 2024-11-13 08:57:03 +01:00
clan-bot
4c4ce646b9 Merge pull request 'vars,facts: update_check -> needs_upload' (#2383) from DavHau/clan-core:DavHau-dave into main 2024-11-13 06:41:50 +00:00
DavHau
4ec218a200 vars,facts: update_check -> needs_upload 2024-11-13 13:34:15 +07:00
Johannes Kirschbauer
ac45d03216 UI/modules: dynamic rendering of public module interfaces 2024-11-12 22:10:37 +01:00
Johannes Kirschbauer
722012ed55 Modules/constraints: init constraints checking for inventory compatible modules 2024-11-12 18:36:38 +01:00
Johannes Kirschbauer
aa4c653148 Zerotier: add to inventory test machine 2024-11-12 18:36:05 +01:00
Mic92
369204f2d1 Merge pull request 'vars: fix case if we have two vars with where one is the prefix of another one' (#2390) from var-fix-get into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2390
2024-11-12 16:11:39 +00:00
Jörg Thalheim
b67919b94d vars: fix case if we have two vars with where one is the prefix of another one 2024-11-12 16:11:39 +00:00
Mic92
16e0965280 Merge pull request 'pkgs/cli: Add @override decorator' (#2385) from kenji/clan-core:kenji-cli/update/python-fixes into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2385
2024-11-12 15:14:55 +00:00
a-kenji
3b04c5484c pkgs/cli: Add @override decorator 2024-11-12 15:14:55 +00:00
Mic92
2374941216 Merge pull request 'clanModules/zerotier: Add assertion for moons' (#2389) from kenji/clan-core:kenji-zerotier-add-assertion into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2389
2024-11-12 15:14:38 +00:00
a-kenji
16abeddb2f clanModules/zerotier: Add assertion for moons 2024-11-12 15:23:39 +01:00
clan-bot
ae6c2fc7e3 Merge pull request 'pkgs/cli: Add tagging support to machines list' (#2388) from kenji/clan-core:kenji-cli/2374/machine-list-tags into main 2024-11-12 14:21:34 +00:00
a-kenji
c3fe5df5e9 pkgs/cli: Document clan machines list --tags 2024-11-12 14:59:23 +01:00
a-kenji
392d8437cb pkgs/clan: machines list --tags add dynamic completer 2024-11-12 14:59:23 +01:00
a-kenji
8596deaeb7 pkgs/cli: Add tagging support to machines list
Add the `--tags` flag to `clan machines list`
This now supports the machine tagging system from the inventory.

Multiple tags are the intersection of the tags of a specific machine.

Example two machines with overlapping tags:
```
server: ["intel"]
laptop: ["intel", "graphical"]
```

- `clan machines list --tags intel` will output:

```
server
laptop
```

- `clan machines list --tags intel graphical` will output:

```
laptop
```

- `clan machines list --tags graphical` will output:

```
laptop
```
2024-11-12 14:58:55 +01:00
clan-bot
c76d57e345 Merge pull request 'Chore: remove unused clanImports module' (#2387) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-12 13:52:26 +00:00
Johannes Kirschbauer
83e2367b22 Chore: fix export of machines clan schema 2024-11-12 14:46:26 +01:00
Johannes Kirschbauer
9fb6ea2b8a Chore: remove unused clanImports module 2024-11-12 14:46:25 +01:00
clan-bot
2ee00437fd Merge pull request 'jsonschema: Add exportfield for module internals' (#2382) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-12 12:29:03 +00:00
Johannes Kirschbauer
5c63ce0058 jsonschema: migrate tests 2024-11-12 13:23:31 +01:00
Johannes Kirschbauer
0e2b519731 jsonschema: Add exportfield for module internals 2024-11-12 12:48:45 +01:00
clan-bot
db9ffa8daa Merge pull request 'clan: Re-add pkgsForSystem to configsPerSystem too' (#2380) from Qubasa/clan-core:Qubasa-main into main 2024-11-11 16:27:28 +00:00
Qubasa
95d3218bb6 clan: Re-add pkgsForSystem to configsPerSystem too 2024-11-11 23:20:27 +07:00
Mic92
6be0d9e040 Merge pull request 'simplify reading hostPlaform.system from nixos' (#2377) from simplify-system into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2377
2024-11-11 15:33:14 +00:00
Jörg Thalheim
5bc8670020 simplify reading hostPlaform.system from nixos 2024-11-11 16:17:54 +01:00
clan-bot
d9d47119a7 Merge pull request 'Revert "clan: Remove pkgsForSystem"' (#2376) from Qubasa/clan-core:Qubasa-main into main 2024-11-11 14:58:15 +00:00
Qubasa
130aeb36b7 Revert "clan: Remove pkgsForSystem"
This reverts commit 382e27a20b.
2024-11-11 21:50:25 +07:00