Commit Graph

89 Commits

Author SHA1 Message Date
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
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
Jörg Thalheim
d45deff922 replace original installation test with installation-without-system 2025-04-08 20:41:31 +02:00
DavHau
8479e6c5c3 inventory test framework: init
Add nixos test module checks/lib/test-inventory-nix

accepts new option `inventory` and creates machines accordingly with correct imports
2025-03-31 13:39:23 +07:00
Pablo Ovelleiro Corral
8ed186ce55 data-mesher: init module
Co-authored-by: Brian McGee <brian@bmcgee.ie>
2025-03-29 13:49:41 +00:00
Michael Hoang
82509e9d17 checks: don't build test machines as they may be system-less now 2025-03-24 17:27:36 +09:00
Michael Hoang
7608bab20a checks: don't expose systems that can't be evaluated 2025-03-10 11:58:32 +09:00
Michael Hoang
2388654325 checks: test installation on system-less systems 2025-03-10 11:58:32 +09:00
Michael Hoang
4e2ae0f9f6 cli: add morph command 2025-02-16 21:31:28 +07:00
DavHau
5ce72dd261 tests: reduce unnecessary rebuilds of several tests
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.

This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00
Jörg Thalheim
74b54c84a4 deltachat: disable tests 2024-11-14 12:12:46 +01:00
Jörg Thalheim
9fdb9a168b remove renderClanOptions
we already evaluate those else where.
2024-10-09 13:57:01 +02:00
Johannes Kirschbauer
0f823c3eac Checks: add nixos documentation-check 2024-08-28 11:44:33 +02:00
DavHau
6c1c615c60 devshell: remove dependency on clan-cli
This stops the devshell from being re-built constantly, when the source code changes.

Based on a new feature in treefmt-nix: https://github.com/numtide/treefmt-nix/pull/208
2024-08-03 22:37:03 +07:00
a-kenji
e37a6366d8 mumble: init clan-module
This adds the `mumble` clan-module.

This allows for voice chatting in a true peer-to-peer network.
Every machine that has the module enabled is a potential host and
client - every participant has the same role.

It doesn't matter who in the network is online - as long as one of the
machines is up, one server is up and people can start their voice chat.
2024-07-30 10:55:08 +02:00
DavHau
4db2e8303f refactor: rename clanCore -> clan.core 2024-06-18 18:32:40 +07:00
Jörg Thalheim
4822fbc80e add postgresql backup hooks 2024-06-06 13:27:30 +02:00
Qubasa
edcc92c75b Add package function-schema and module-schema. Add check for module jsonschema. 2024-05-01 23:16:17 +02:00
Jörg Thalheim
d049067096 factstore: secret backends now can return the path to a secret dynamically
try to move path function out
2024-04-10 15:14:30 +00:00
DavHau
90a504936c checks: add check for rendering docs 2024-03-27 16:59:42 +07:00
lassulus
549b3d543b checks/matrix-synapse: init 2024-03-22 12:26:37 +01:00
Jörg Thalheim
ede4d3f6e5 re-format with nixfmt 2024-03-17 19:48:49 +01:00
Jörg Thalheim
800bfd4653 add flash command 2024-03-07 14:13:11 +01:00
Jörg Thalheim
c23a878dfd drop meshnamed from repository
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00
Jörg Thalheim
08085d81dd zt-tcp-relay: add clan module + test 2024-01-12 14:25:31 +01:00
lassulus
71469d4c8c checks: add test-installation 2023-12-18 23:41:31 +01:00
lassulus
e1094742d3 checks: add backup test 2023-12-16 21:46:19 +01:00
Jörg Thalheim
f81a9ffb69 add wayland-proxy-virtwl module 2023-12-15 14:14:20 +01:00
a-kenji
9d2476111f init: syncthing module
Assumes one `introducer` peer, which can AutoShare configured folders,
with peers that know the `deviceID` of the introducer.
2023-12-07 14:10:15 +01:00
lassulus
c9d10437e5 backups: add clanCore backup & clan borgbackup module 2023-11-23 18:12:49 +01:00
Jörg Thalheim
7fd0f1fbb7 add module for meshnamed 2023-11-14 12:58:15 +01:00
Jörg Thalheim
3a60ec4d98 add deltachat module 2023-11-03 10:39:51 +00:00
Jörg Thalheim
1d336ed863 add container test driver 2023-10-25 13:16:13 +00:00
Jörg Thalheim
cc68aac21f also evaluate for aarch64-darwin 2023-09-28 16:01:42 +02:00
Jörg Thalheim
c9adf12e72 reduce impure tests to just instantiate the template 2023-08-27 10:11:45 +02:00
DavHau
7928e953fa checks-integration: init 2023-08-27 00:24:19 +02:00
Jörg Thalheim
45cc2a78b5 flake: test all flake outputs 2023-08-24 14:38:24 +02:00
Jörg Thalheim
63bb9395fd automatically import secrets into nixos 2023-08-23 13:59:43 +02:00
DavHau
00826d848e checks: ensure clanModules are clan-config compatible 2023-08-09 18:42:03 +02:00