Johannes Kirschbauer
68ca94d1ee
chore(buildClan): move machineClass option into inventory.machines submodule
2025-04-09 12:50:43 +00:00
Mic92
04f9aa3ae0
Merge pull request 'checks/installation: restore the install without system aspect' ( #3261 ) from flakiness into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3261
2025-04-09 11:39:17 +00:00
Jörg Thalheim
a6ea7b692d
checks/installation: restore the install without system aspect
2025-04-09 11:32:28 +00:00
Brian McGee
ed5fc20069
feat(clan-cli): support multiple keys for a user
2025-04-09 09:58:58 +00:00
Mic92
7e5505bd71
Merge pull request 'installation: speed up by installing to localhost' ( #3255 ) from flakiness into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3255
2025-04-09 09:58:43 +00:00
Jörg Thalheim
2942bae31b
don't expose all clan-depenencies as their own check attributes
...
this is expensive in CI to display.
2025-04-09 09:52:56 +00:00
Jörg Thalheim
20f00c938f
hardware: only include sshpass if we are actually using it.
2025-04-09 09:52:56 +00:00
Jörg Thalheim
5968ee1195
installation: use clan-cli-full so that nix doesn't try to evaluate deps
2025-04-09 09:52:56 +00:00
Jörg Thalheim
c2f7bf3fef
checks/installation: move updating hardware configuration to it's own test
...
for some reason those are very slow. Moving them to their own test
breaks down the critical path.
2025-04-09 09:52:56 +00:00
Jörg Thalheim
7308af0a85
installation: speed up by installing to localhost
...
we test other types of installation already in nixos-anywhere so we can
speed up this test quite a bit by not having a seperate machine to
install to.
2025-04-09 09:36:46 +00:00
Johannes Kirschbauer
a6a79e83a0
treewide(clanLib): rename all occurences of {clan-core,self}.lib to 'clanLib'
2025-04-09 11:32:46 +02:00
DavHau
476dcb4140
sops: prioritize SOPS_AGE_KEY_FILE over local key
...
... instead of loading both keys and raise an error
This is important for testing when one wants to override SOPS_AGE_KEY_FILE
New prio: `SOPS_AGE_KEY` > `SOPS_AGE_KEY_FILE` > `~/.config/sops/age/keys.txt`
2025-04-09 08:45:34 +00:00
DavHau
77ab4f7208
vars: add feature --no-sandbox
...
Raise warning if sandbox cannot be used -> request user to run with --no-sandbox
2025-04-09 15:02:20 +07:00
pinpox
cf874de094
Merge pull request 'Fix clan.service docs format' ( #3254 ) from fix-service-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3254
2025-04-09 06:48:30 +00:00
Pablo Ovelleiro Corral
0d16ebf43e
Fix clan.service docs format
2025-04-09 08:29:19 +02:00
renovate[bot]
bc098f7796
chore(deps): update nixpkgs digest to b2b0718
2025-04-09 06:10:32 +00:00
Mic92
157245b4b0
Merge pull request 'chore(deps): update disko digest to 76c0a6d' ( #3252 ) from renovate/disko-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3252
2025-04-08 21:32:00 +00:00
Mic92
269cbd40fa
Merge pull request 'chore(deps): update data-mesher digest to a592e34' ( #3245 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3245
2025-04-08 21:31:08 +00:00
renovate[bot]
17f54e5297
chore(deps): update disko digest to 76c0a6d
2025-04-08 21:20:16 +00:00
renovate[bot]
3cbcc284c8
chore(deps): update data-mesher digest to a592e34
2025-04-08 21:20:13 +00:00
hsjobeki
b8d9b795ff
Merge pull request 'docs(authoring/modules): add examples for dependency injection' ( #3249 ) from hsjobeki/clan-core:docs-authoring into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3249
2025-04-08 21:10:52 +00:00
Johannes Kirschbauer
748cdb871e
docs(authoring/modules): add examples for dependency injection
2025-04-08 20:56:02 +00:00
hsjobeki
39cf69a661
Merge pull request 'chore(lib/getModuleClass): remove unused library function' ( #3250 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3250
2025-04-08 20:54:46 +00:00
Johannes Kirschbauer
c357cfa29f
chore(lib/buildClan): remove dependencies {nixpkgs,nix-darwin} from the clanLib file
2025-04-08 22:13:46 +02:00
Johannes Kirschbauer
f399aad06e
chore(lib/getModuleClass): remove unused library function
2025-04-08 22:09:10 +02:00
hsjobeki
2ad4cf8758
Merge pull request 'pkgs/cli: Move the test folder inside the python module' ( #2973 ) from kenji/clan-core:split-testing-up into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2973
2025-04-08 20:06:59 +00:00
hsjobeki
f60da91dea
Merge pull request 'docs(authoring): restructure authoring guides' ( #3248 ) from hsjobeki/clan-core:docs-authoring into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3248
2025-04-08 19:58:59 +00:00
hsjobeki
aa75cc4777
Merge pull request 'chore(inventory/services): dont check _class in our logics. Let the error eccour in the final evaluation.' ( #3236 ) from hsjobeki/clan-core:role-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3236
2025-04-08 19:49:46 +00:00
Mic92
0e58ff85f5
Merge pull request 'devshells: name shells for clarity' ( #3240 ) from Lehmanator/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3240
2025-04-08 19:45:20 +00:00
Johannes Kirschbauer
ac5effe435
fix(clan_app/test): fixup after rebase
2025-04-08 21:38:55 +02:00
Johannes Kirschbauer
b4f63b8835
docs(authoring): restructure authoring guides
...
Mainly because we have two module specs now and they will remain
valid for a while. We need to keep the older format documented for a while
2025-04-08 21:32:19 +02:00
Sam Lehman
e0a6ed3d49
devshells: name shells for clarity
2025-04-08 19:31:30 +00:00
Mic92
2c34f58a96
Merge pull request 'installation: use ip addresses to decrease flakiness' ( #3247 ) from flakiness into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3247
2025-04-08 19:31:12 +00:00
Jörg Thalheim
ce4a646927
installation: use ip addresses to decrease flakiness
2025-04-08 21:19:47 +02:00
Mic92
89afec1532
Merge pull request 'flash: test existing mount with spaces' ( #3243 ) from fix-mounting into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3243
2025-04-08 18:55:05 +00:00
Jörg Thalheim
c61c1af18e
replace original installation test with installation-without-system
2025-04-08 20:41:31 +02:00
Johannes Kirschbauer
9af20ad8b5
chore(inventory/instances): don't eagerly test the service modules _class
2025-04-08 20:30:35 +02:00
Johannes Kirschbauer
f7d5a529aa
chore(inventory/services): dont check _class of legacy clanModules.
...
Let the module system handle the error. Once we shift to deferred
modules, things get more complicated and we cannot check the module
class eagerly
2025-04-08 20:30:33 +02:00
Johannes Kirschbauer
cb001ec72b
fix(clan_cli/tests): fix some imports after rebase
2025-04-08 20:26:38 +02:00
Jörg Thalheim
bbcc7f6e3b
flash: test existing mount with spaces
2025-04-08 20:16:23 +02:00
Jörg Thalheim
a68f50fde3
bump disko to fix quoting issue
2025-04-08 20:16:22 +02:00
Johannes Kirschbauer
e9846d6cb9
Tests: reconfigure pytest test folder after moving it into clan_cli
2025-04-08 20:13:13 +02:00
Johannes Kirschbauer
5273304915
Tests: exclude test folder itself from autmatic dataclass checks
2025-04-08 20:12:03 +02:00
a-kenji
309c132b63
pkgs/cli: Move the test folder inside the python module
...
Move the `tests` folder to `clan_cli/tests`.
As we now want part of our tests to live next to the functions that are
tested - tests that are not in the `/tests` module also need access to
the configured test fixtures that are exposed by the `pytest_plugins`
declaration.
The following folder structure doesn't support this model:
```
├── clan_cli
│ ├── api
│ │ └── api_init_test.py
├── tests/
│ ├── conftest.py
│ └── ...
```
Here `api_init_test.py` even when importing the test functions will not
have the fixtures configured.
There is a way to configure python to import the fixtures from another
[`project/module`](https://docs.pytest.org/en/stable/how-to/fixtures.html#using-fixtures-from-other-projects ), but this seems to *generally* be discouraged.
So moving the `conftest.py` to the toplevel and the `/tests` folder into
the toplevel seems to be a sensible choice choice.
2025-04-08 20:12:01 +02:00
hsjobeki
da164696ea
Merge pull request 'doc(inventory): document experimental settingsExtend' ( #3207 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3207
2025-04-08 18:10:04 +00:00
brianmcgee
f0bd7ecad6
Merge pull request 'chore: remove data-mesher from devshell' ( #3239 ) from remove-data-mesher-from-devshell into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3239
2025-04-08 18:05:51 +00:00
Johannes Kirschbauer
821264fe2e
fix(getModulesSchema): forward argument to evalClanModules
2025-04-08 19:53:20 +02:00
Brian McGee
f418ba0755
chore: remove data-mesher from devshell
2025-04-08 19:51:11 +02:00
Michael Hoang
a503c92c3e
Merge pull request 'flake-parts: ensure flake.darwinConfigurations is mergeable' ( #3244 ) from push-zurymrrrxwur into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3244
2025-04-08 17:20:16 +00:00
renovate[bot]
ce023a9fe0
chore(deps): lock file maintenance
2025-04-08 17:10:45 +00:00