Commit Graph

22 Commits

Author SHA1 Message Date
Johannes Kirschbauer
954c14513a Zerotier: make networkId nullable
This prevents vars from evaluating if the var doesn't exist
Bootstrapping deadlock
2025-08-09 11:17:16 +02:00
a-kenji
2f0ba0782a clanServices/zerotier: Make moon configuration optional
Make moon configuration optional. Before the `attrNames` evaluated the
attributes eagerly, which in practice meant that you had to set a moon,
if there was a controller configured, which is not on purpose.
2025-07-21 20:43:25 +02:00
Jörg Thalheim
833e872ccf don't rebuild eval tests on each ci run 2025-07-07 20:05:45 +02:00
Johannes Kirschbauer
d785169fbf lib.clan: properly merge self attrs 2025-07-01 14:02:02 +02:00
Johannes Kirschbauer
27a3333c9e tests: update buildClan args 2025-07-01 13:21:12 +02:00
Johannes Kirschbauer
667cee0f6e buildClan: replace all usages by lib.clan 2025-07-01 11:56:31 +02:00
DavHau
e219a636ca checks: fix some tests not named correctly 2025-06-30 19:50:16 +07:00
DavHau
2a3e786cfe tests: explicitly specify services to be sourced from self
See previous commit
2025-06-30 10:13:46 +00:00
a-kenji
bba75f5f4a modules/zerotier: Fix typo in documentation 2025-06-27 12:58:59 +02:00
Jörg Thalheim
77382936da zerotier: migrate to clan.nixosTests module 2025-06-17 21:09:59 +02:00
pinpox
6fe4dd2a32 Merge pull request 'Migrate state-version to clanServices' (#3947) from migrate-state-version into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3947
2025-06-16 13:29:20 +00:00
kenji
8435c71da7 Merge pull request 'zerotier: Add a default to the allowedIps controller setting' (#3959) from kenji/zerotier: Add a default to the allowedIps controller setting into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3959
2025-06-16 10:07:11 +00:00
pinpox
d9b3587ed3 migrate state-version 2025-06-16 11:28:35 +02:00
a-kenji
a9d662d812 clanServices/zerotier: Add eval tests
Add eval tests to the zerotier clanService module.

The vm module is a stub that acts as an api for the `generate-test-vars`
script, as that currently only works with a vm, not with an eval test.

This checks, if all the peers pick up their respective configuration
correctly. Without running the service itself.
2025-06-13 14:58:27 +02:00
a-kenji
25a0b15053 zerotier: Add a default to the allowedIps controller setting 2025-06-13 11:48:58 +02:00
a-kenji
e2f8266390 zerotier: Allow the controller to accept external Ips
Allow the controller to accept external zerotier Ips into the network
through declarative settings.

Closes:	#3787
2025-06-05 16:53:46 +00:00
a-kenji
be86c31d42 zerotier: Emphasize that moons are optional 2025-06-05 15:56:05 +02:00
a-kenji
ee0891f8f0 zerotier: Add a usage example to the documentation 2025-06-05 15:28:01 +02:00
a-kenji
41c7a99b6b zerotier: Simplify endpoint configuration for moons 2025-06-04 16:46:39 +02:00
a-kenji
37e473e4ca zerotier: Get settings from the instance 2025-06-04 13:17:46 +00:00
a-kenji
bd7e93e330 !fixup: Remove ', because it breaks nix-select 2025-06-04 12:23:53 +02:00
a-kenji
24cf1bcc50 zerotier: Migrate from clanModule to clanServices
This migrates zerotier from clanModules to clanServices.
This is a graceful migration and does not yet disables any of the
clanModule functionality.
2025-06-04 11:04:51 +02:00