441 Commits

Author SHA1 Message Date
clan-bot
4179b06ae9 Update pinned clan-core for checks 2025-05-24 02:51:23 +00:00
clan-bot
e71857d5a7 Update pinned clan-core for checks 2025-05-23 02:51:24 +00:00
clan-bot
698e982535 Update pinned clan-core for checks 2025-05-22 02:51:23 +00:00
clan-bot
b30119b1ab Update pinned clan-core for checks 2025-05-21 02:52:08 +00:00
clan-bot
0bb76b8917 Update pinned clan-core for checks 2025-05-20 02:52:07 +00:00
clan-bot
d1bae72630 Update pinned clan-core for checks 2025-05-19 02:52:08 +00:00
clan-bot
f8fffb3a81 Update pinned clan-core for checks 2025-05-18 02:52:08 +00:00
clan-bot
f301d01488 Update pinned clan-core for checks 2025-05-17 02:51:35 +00:00
clan-bot
219daad626 Update pinned clan-core for checks 2025-05-16 02:51:34 +00:00
clan-bot
a0a7eb423b Update pinned clan-core for checks 2025-05-15 02:51:34 +00:00
clan-bot
587a4525f2 Update pinned clan-core for checks 2025-05-14 10:01:10 +00:00
clan-bot
78a96470b3 Update pinned clan-core for checks 2025-05-13 11:55:59 +00:00
clan-bot
60238b11f0 Update pinned clan-core for checks 2025-05-13 10:05:02 +00:00
clan-bot
d968b647ae Update pinned clan-core for checks 2025-05-13 09:10:09 +00:00
pinpox
df953aef7f Fix warning 2025-05-12 15:54:50 +02:00
pinpox
3c35efa317 disable PAM for SSH check 2025-05-12 15:54:50 +02:00
pinpox
70a991f4f2 migrate admin module 2025-05-12 15:54:49 +02:00
Jörg Thalheim
4a64ce2481 checks/mumble: disable on x86_64-linux for now 2025-05-12 15:32:52 +02:00
Jörg Thalheim
ffeaf2ee1f checks/mumble: make delays between keyboard clicks more robust 2025-05-12 15:10:29 +02:00
Jörg Thalheim
51fb28c04c morph: don't depend on clan-core 2025-05-12 13:56:10 +02:00
Jörg Thalheim
028f3ee8df checks/backup: depend on pinned clan core 2025-05-12 13:52:21 +02:00
Jörg Thalheim
a6914a0598 use a clan-core snapshots for ci tests
We currently have to re-run our integration tests a lot because they are
depending on the whole repository. This pull request changes locks the
clan-core used for vm tests. This has the caveat that we might not run
the latest NixOS machine of our profiles. On the upside we can test
behaviour against an older clan-core version and capture breakages and
make it backwards compatible. If we actually want to test the latest
version, the PR that changes the exposed flake api, could also bump the
clan-core snapshot.
2025-05-12 13:21:25 +02:00
Mic92
5cd8c3729a Merge pull request 'Data-mesher: don't set owner for public vars' (#3571) from misc-fixes-2 into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3571
2025-05-12 10:27:05 +00:00
Jörg Thalheim
5d1b49fbb6 move single dont-depend-on-repo-root check into checks
Doesn't seem to be a pattern yet with a single check.
2025-05-12 12:06:05 +02:00
Johannes Kirschbauer
b71e5378d6 Refactor(inventory/modules): add support for local clan.modules and migrate all checks 2025-05-08 17:17:46 +02:00
hsjobeki
f6b0b5ada5 Merge pull request 'API(cli): add method to Flake class to allow calling nix functions' (#3502) from hsjobeki/clan-core:improvements-2 into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3502
2025-05-05 20:16:28 +00:00
Johannes Kirschbauer
dfa5a228e8 feat(clanLib): init evalServiceSchema 2025-05-05 21:55:29 +02:00
Johannes Kirschbauer
2d5e337f81 tests: add error prefix for json schema in checks 2025-05-05 21:46:16 +02:00
Jörg Thalheim
4ef664a496 test vars permissions in dummy-test 2025-05-04 14:59:22 +02:00
Jörg Thalheim
aa50a3e985 morph: speed up test by enabling useNixStoreImage 2025-05-04 07:29:31 +02:00
DavHau
e2d1ca0439 ci-performance: remove self reference from installation test 2025-04-30 15:53:18 +07:00
DavHau
1e8864b9ec ci performance: add check to ensure nothing depends on the whole repo
Since this project is an ever growing monorepo, having derivations depending on the whole repo leads to bad CI performance, as the cache is busted on every commit.

-> We never want any derivations depend on the whole repo

...except: the test that tests that nothing depends on the whole repo, which is added by this commit.

For now only add this check to packages to allow contributors to build it locally.
We might want to add it to the CI later once all occurrences are fixed.
2025-04-30 13:17:33 +07:00
Johannes Kirschbauer
662787f96e Checks: add json-compat check wrapper to ensure all clan.modules stay json-compatible 2025-04-29 15:31:02 +02:00
DavHau
c97303cfab clan-app: add basic smoke test using OCR + nixos tests 2025-04-24 18:17:09 +07:00
Johannes Kirschbauer
abd9519412 Refactor: move checks/lib into lib/ to avoid duplicate lib
Lets avoid the mistake of nixpkgs having multiple
libs
2025-04-23 16:19:16 +02:00
DavHau
8b00edad4a inventory tests: use containers by default 2025-04-23 19:49:02 +07:00
a-kenji
6531de6c07 clanModules/syncthing: Improve vars 2025-04-23 10:50:45 +00:00
kenji
2d8847337c Merge pull request 'syncthing: Migrate from facts to vars' (#3388) from kenji/clan-core:syncthing into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3388
2025-04-23 06:25:12 +00:00
a-kenji
356b26e690 chore: treefmt 2025-04-23 08:00:16 +02:00
a-kenji
08590281f2 checks/syncthing: Use default settings 2025-04-23 07:39:55 +02:00
a-kenji
f591a3ffe5 checks/syncthing: Remove nixos tests 2025-04-23 07:38:36 +02:00
DavHau
1ca79610e0 container-tests: add multi-container network 2025-04-22 13:26:37 +02:00
Jörg Thalheim
3a1b49eaf8 syncthing: migrate to new inventory system 2025-04-22 09:45:37 +02:00
Jörg Thalheim
1049cc6edd mumble: fix certificate generator
no idea how this ever worked before.
2025-04-16 18:49:24 +02:00
Jörg Thalheim
16752e3e11 mumble: migrate to inventory 2025-04-16 18:49:24 +02:00
Jörg Thalheim
ec738fac30 impure-checks: limit number of workers to number of tests 2025-04-16 15:05:59 +02:00
Johannes Kirschbauer
75932b7b7a fixup: update commen in inventory example test 2025-04-16 10:02:20 +02:00
Johannes Kirschbauer
75c8541a8d tests(clan): move test-inventory.nix to clanLib. And name it 'makeTestClan'
Exposing the function via clanLib makes it more accessible to clan modules
This allows each module to define its own test without needing to depend on any fileSystem path assumptions in the clan-core repo
2025-04-15 18:17:40 +02:00
Michael Hoang
11ed2f86d3 checks: test-backups -> backups 2025-04-14 15:39:25 +02:00
Michael Hoang
fe523e928d treewide: switch back to pkgs.nix 2025-04-12 13:15:53 +02:00