DavHau
b448ff05e2
checks: rename dummy-inventory-test -> service-dummy-test
2025-06-30 19:06:13 +07:00
pinpox
47d4dfad1b
Add state-version option
2025-06-30 12:54:29 +02:00
DavHau
e0b2d15361
tests: explicitly specify services to be sourced from self
...
See previous commit
2025-06-30 10:13:46 +00:00
Jörg Thalheim
f1fd710dd1
add regression test for macOS evaluation
2025-06-29 23:58:19 +02:00
Jörg Thalheim
6ab5171b5b
add restricted network nixos modules
...
See README.md for explanation
2025-06-27 18:44:17 +02:00
Johannes Kirschbauer
7833a56723
modules.nixosVmTest: rename to nixosTest to match the target module _class
2025-06-26 17:37:42 +02:00
Johannes Kirschbauer
7d755d04b5
chore: clean up logic around clanInternals
2025-06-26 16:12:35 +02:00
Johannes Kirschbauer
11a94893fb
refactor: unify evalClanService with evalService
2025-06-26 14:50:35 +02:00
pinpox
cb69eea68f
Make machine ID a option
2025-06-24 10:42:03 +02:00
pinpox
f308ef7e8d
fix: use custom git config in impure-checks to avoid system dependency
2025-06-20 10:40:32 +02:00
pinpox
6de9a9a910
Remove services and add deprecation warning
2025-06-18 13:18:25 +02:00
Jörg Thalheim
f7f6b22f92
add run-vm-test-offline package for offline VM testing
...
This package allows running NixOS VM tests in an offline environment
using network namespace isolation. It builds the test driver and runs
it with unshare to ensure no network access.
2025-06-17 14:41:12 +02:00
Jörg Thalheim
0fb326b2f3
Apply nix fmt on setupNixInNixPython-only
2025-06-17 12:01:12 +02:00
a-kenji
c2f20c0ff0
checks: Remove the syncthing check again
...
Someone readded it for some unknown reason.
2025-06-13 13:08:29 +02:00
pinpox
27998d777a
Merge pull request 'Migrate sshd to clanServices' ( #3912 ) from migrate-sshd into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3912
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-06-11 16:29:43 +00:00
pinpox
e4bb9e1958
Migrate sshd to clanServices
...
- migrate service
- add deprecation notice to old module
- add check
- update docs
2025-06-11 15:43:51 +02:00
DavHau
559baa56a8
dummy-test: add vars
2025-06-11 19:30:13 +07:00
DavHau
b13f64c96d
clan tests: allow testing CLI interactions
...
This is an improvement of the clanTest nixos vm test module.
The module now has a new option clan.test.fromFlake that allows to specify a flake.nix as the source for the test clan instead of specifying clan.XXX options.
This in turn allows accessing the `flake.nix` inside the test driver allowing to use the clan cli on it
2025-06-11 19:30:13 +07:00
a-kenji
a5d15d7832
borgbackup: Move tests close to service
2025-06-11 13:47:29 +02:00
a-kenji
992d5cbe46
checks: Disable syncthing test for now
...
Syncthing is currently being migrated and we can look at the test again
once we migrated.
It recently got changes upstream which might explain the spurious test
failures.
2025-06-10 10:46:28 +02:00
a-kenji
4670dbfd6a
clanServices: Move ergochat test to appropriate location
...
Move the ergochat clanService test to the ergochat clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
a-kenji
cd5743b56f
clanServices: Move heisenbridge test to appropriate location
...
Move the heisenbridge clanService test to the heisenbridge clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
a-kenji
b2bc845d88
clanServices: Move deltachat test to appropriate location
...
Move the deltachat clanService test to the deltachat clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
kenji
3a7fd3085e
Merge pull request 'clanServices: Move mycelium test to appropriate location' ( #3902 ) from ke-move-mycelium-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3902
2025-06-09 12:04:39 +00:00
kenji
3f1b776a5b
Merge pull request 'clanServices: Move admin test to appropriate location' ( #3905 ) from ke-move-admin-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3905
2025-06-09 11:30:43 +00:00
a-kenji
5e4167e375
clanServices: Move mycelium test to appropriate location
...
Move the mycelium clanService test to the mycelium clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 13:17:36 +02:00
a-kenji
08618e6c66
clanServices: Move admin test to appropriate location
...
Move the admin clanService test to the admin clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 13:01:48 +02:00
kenji
977c57579d
Merge pull request 'clanServices: Move garage test to appropriate location' ( #3901 ) from ke-move-garage-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3901
2025-06-09 10:55:44 +00:00
a-kenji
508e8cf85e
clanServices: Move localsend test to appropriate location
...
Move the localsend clanService test to the localsend clan service.
2025-06-09 12:38:39 +02:00
a-kenji
5fbe24bb53
clanServices: Move garage test to appropriate location #3900
...
Move the garage clanService test to the garage clan service.
2025-06-09 12:37:49 +02:00
pinpox
4b2102bd7f
wait for mycelium port
2025-06-05 18:03:59 +02:00
pinpox
ef4caa94e7
Migrate localsend to clanServices
2025-06-05 12:49:51 +02:00
pinpox
509274c90e
cleanup checks/flake-module.nix
2025-06-04 14:59:30 +02:00
pinpox
84c1cb20be
Migrate mycelium from clanModule to clanService
2025-06-04 14:10:32 +02:00
pinpox
50213caa68
Migrate heisenbridge from clanModule to clanService
2025-06-04 02:45:41 +02:00
pinpox
0a0ed236ad
Migrate garage from clanModule to clanService
2025-06-04 01:29:52 +02:00
pinpox
2d09e65ff4
migrate ergochat module to clanservice
2025-06-04 00:21:23 +02:00
pinpox
11fd796d44
Fix test runner for tests without vars
2025-06-03 22:35:10 +02:00
pinpox
65af5ac5d2
Add test for deltachat clanService
2025-06-03 22:35:10 +02:00
DavHau
01737d2bf7
clan tests: convert makeTestClan to a module
...
Let's not put yet another wrapper around runTest, instead expose our logic as a module that can be imported into any nixos-vm-test
2025-06-03 19:38:02 +07:00
DavHau
a0cbc815e8
makeTestClan: simplify - move parameters into module
...
... in preparation of removing the makeTestClan wrapper and make this a module instead that can be imported into any test.
2025-06-03 19:38:02 +07:00
pinpox
988e0825ed
Update clan-core-for-checks
2025-06-02 16:19:06 +02:00
pinpox
00313723e2
Update hash
2025-06-02 16:16:17 +02:00
pinpox
13a9b17198
modules/borgbackup: migrate to clanServices
...
Migrates the borgbackup module to clanServices, preserving it's original
configuration syntax and functionality
2025-06-02 16:12:37 +02:00
clan-bot
c6ba82cfab
Update pinned clan-core for checks
2025-05-31 02:51:24 +00:00
clan-bot
a3cb5f5159
Update pinned clan-core for checks
2025-05-30 10:29:19 +00:00
Jörg Thalheim
795ace408a
container-test: disable UsePam for ssh
...
doesn't work without setuid, which we currently do not support.
2025-05-30 11:53:20 +02:00
clan-bot
2422e0c8e1
Update pinned clan-core for checks
2025-05-27 02:51:23 +00:00
clan-bot
6777baca96
Update pinned clan-core for checks
2025-05-26 02:51:22 +00:00
clan-bot
6b8c0ba57a
Update pinned clan-core for checks
2025-05-25 02:51:32 +00:00