Qubasa
b3dcf7f641
clan-cli: Change shellcheck to shellcheck-minimal
2025-04-10 01:54:00 +02:00
renovate[bot]
001fb36e87
chore(deps): update nix-darwin digest to 113883e
2025-04-09 19:20:14 +00:00
Qubasa
67a135e7bc
formatter.nix: Exclude **/.mypy_cache/*
2025-04-09 19:44:00 +02:00
Qubasa
01439db065
formatter.nix: Exclude **/node_modules/*
2025-04-09 19:44:00 +02:00
Qubasa
f1855f80fc
clan-cli: Add shellcheck as a runtimeDependencie
2025-04-09 19:44:00 +02:00
RTUnreal
f4f7df312d
checks: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
aad1c347d1
clanModules: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
ee5957d8ee
pkgs/clan-cli: fix test which are using vars shellcheck
2025-04-09 19:44:00 +02:00
RTUnreal
91cb641efe
clanModules/borgbackup: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
691a026929
clanModules/root-password: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
83ec5a063a
vars: use writeShellApplication to shellcheck generators
2025-04-09 19:44:00 +02:00
hsjobeki
519c6cc05a
Merge pull request 'chore(clan/pytest): discover all test files in the tree' ( #3269 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3269
2025-04-09 17:16:56 +00:00
Johannes Kirschbauer
de587648f8
chore(clan/pytest): discover all test files in the tree
2025-04-09 18:54:57 +02:00
hsjobeki
bf06bdb38a
Merge pull request 'Reapply '( #3259 ) chore(buildClan): move machineClass option into inventory.machines submodule'' ( #3268 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3268
2025-04-09 16:50:15 +00:00
Johannes Kirschbauer
ab9c0d2904
fix(clan/machines): move machineClass attribute selector and add a unit test for class detection
2025-04-09 18:29:43 +02:00
Johannes Kirschbauer
35379d3b86
Reapply "Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main"
...
This reverts commit 62dfb23e41 .
2025-04-09 18:16:35 +02:00
hsjobeki
61aebf75c8
Merge pull request 'fix(checks/inventory): use buildClan instead of buildInventory' ( #3267 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3267
2025-04-09 16:14:06 +00:00
hsjobeki
d9c3af6c11
Merge pull request 'test(clan/inventory): test deserialization of different inventories' ( #3258 ) from hsjobeki/clan-core:inventory-serde into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3258
2025-04-09 16:07:58 +00:00
Johannes Kirschbauer
c344d57298
fix(checks/data-mesher): format, dont pass a duplicate data-mesher module
2025-04-09 18:03:04 +02:00
Johannes Kirschbauer
d7a83343e5
test(clan/inventory): test deserialization of different inventories
2025-04-09 18:00:00 +02:00
Johannes Kirschbauer
ec2aee3013
fix(eval/inventory): fix some test arguments to buildInventory
2025-04-09 17:38:06 +02:00
Johannes Kirschbauer
6f7d7e8d98
chore(checks/inventory): regenerate test vars
2025-04-09 17:32:29 +02:00
Johannes Kirschbauer
ac940aa8a1
fix(checks/inventory): use buildClan instead of buildInventory
2025-04-09 17:31:35 +02:00
Johannes Kirschbauer
05c45371af
feat(buildInventory): move instance resolution into buildInventory
...
Such that buildClan doesn't have to compose the results
buildInventory should be more self contained. But it is NOT meant a
public API! use buildClan argument 'inventory' instead
2025-04-09 17:31:35 +02:00
Mic92
fad4bfe593
Merge pull request 'speedup morph test' ( #3266 ) from morph-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3266
2025-04-09 15:28:20 +00:00
hsjobeki
11d88e51ab
Merge pull request 'treewide(clanLib): rename all occurences of {clan-core,self}.lib to 'clanLib'' ( #3263 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3263
2025-04-09 15:10:42 +00:00
Jörg Thalheim
44a2643d17
speedup morph test
2025-04-09 17:06:34 +02:00
Jörg Thalheim
a714c72aff
checks/morph: strip test prefix
...
this is making it consistent with otther tests.
2025-04-09 16:58:48 +02:00
Michael Hoang
1d346046dc
Merge pull request 'chore(deps): update data-mesher digest to 81f65ea' ( #3256 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3256
2025-04-09 14:53:32 +00:00
renovate[bot]
37dfb2ce93
chore(deps): update data-mesher digest to 81f65ea
2025-04-09 14:30:22 +00:00
renovate[bot]
4d655f3ce1
fix(deps): update tanstack-query monorepo to v5.72.2
2025-04-09 14:20:16 +00:00
Mic92
0516ef78a2
Merge pull request 'Revert "Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main"' ( #3264 ) from revert-machine-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3264
2025-04-09 14:11:21 +00:00
Jörg Thalheim
62dfb23e41
Revert "Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main"
...
This reverts commit 11ba13df67 , reversing
changes made to 04f9aa3ae0 .
2025-04-09 16:08:39 +02:00
Mic92
b66317af04
Merge pull request 'feat(clan-cli): support multiple keys for a user' ( #3230 ) from feat/vars-multiple-user-secrets into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3230
2025-04-09 13:05:24 +00:00
hsjobeki
11ba13df67
Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3259
2025-04-09 12:57:48 +00:00
Johannes Kirschbauer
81211af474
fix(python/inventory): add machineClass field
2025-04-09 12:50:43 +00:00
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