DavHau
93090b74e5
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
3d09c98ed3
Checks: add json-compat check wrapper to ensure all clan.modules stay json-compatible
2025-04-29 15:31:02 +02:00
DavHau
39c13a5c38
clan-app: add basic smoke test using OCR + nixos tests
2025-04-24 18:17:09 +07:00
Johannes Kirschbauer
f6e514ec6f
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
8ae0f5ddcb
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
c61c1af18e
replace original installation test with installation-without-system
2025-04-08 20:41:31 +02:00
DavHau
d53b62170a
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
42b58910a9
data-mesher: init module
...
Co-authored-by: Brian McGee <brian@bmcgee.ie >
2025-03-29 13:49:41 +00:00
Michael Hoang
3c2888edc7
checks: don't build test machines as they may be system-less now
2025-03-24 17:27:36 +09:00
Michael Hoang
a5dd76b66d
checks: don't expose systems that can't be evaluated
2025-03-10 11:58:32 +09:00
Michael Hoang
4472c51c25
checks: test installation on system-less systems
2025-03-10 11:58:32 +09:00
Michael Hoang
160bbfcb37
cli: add morph command
2025-02-16 21:31:28 +07:00
DavHau
3ec028d672
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
cae7ea0ca0
deltachat: disable tests
2024-11-14 12:12:46 +01:00
Jörg Thalheim
1a6e2f7db6
remove renderClanOptions
...
we already evaluate those else where.
2024-10-09 13:57:01 +02:00
Johannes Kirschbauer
9a6b02c118
Checks: add nixos documentation-check
2024-08-28 11:44:33 +02:00
DavHau
c5b8948509
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
13c70168a4
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
313db5643f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
Jörg Thalheim
6dec2a9222
add postgresql backup hooks
2024-06-06 13:27:30 +02:00
Qubasa
a48df5b993
Add package function-schema and module-schema. Add check for module jsonschema.
2024-05-01 23:16:17 +02:00
Jörg Thalheim
0d4e1f870b
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
3771be2110
checks: add check for rendering docs
2024-03-27 16:59:42 +07:00
lassulus
786a4586a6
checks/matrix-synapse: init
2024-03-22 12:26:37 +01:00
Jörg Thalheim
e296a3019d
re-format with nixfmt
2024-03-17 19:48:49 +01:00
Jörg Thalheim
f599243cbd
add flash command
2024-03-07 14:13:11 +01:00
Jörg Thalheim
0481746198
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
78cd5b3fec
zt-tcp-relay: add clan module + test
2024-01-12 14:25:31 +01:00
lassulus
142fe15e80
checks: add test-installation
2023-12-18 23:41:31 +01:00
lassulus
5c1cf947ab
checks: add backup test
2023-12-16 21:46:19 +01:00
Jörg Thalheim
9dfc3f9613
add wayland-proxy-virtwl module
2023-12-15 14:14:20 +01:00
a-kenji
ff3b8f1db0
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
640430075a
backups: add clanCore backup & clan borgbackup module
2023-11-23 18:12:49 +01:00
Jörg Thalheim
bdc8ef63ed
add module for meshnamed
2023-11-14 12:58:15 +01:00
Jörg Thalheim
f71e56b111
add deltachat module
2023-11-03 10:39:51 +00:00
Jörg Thalheim
5753f32930
add container test driver
2023-10-25 13:16:13 +00:00
Jörg Thalheim
9242b3d118
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