Commit Graph

1284 Commits

Author SHA1 Message Date
clan-bot
426be3dd37 Merge pull request 'add pending-reviews script' (#514) from Mic92-sops-nix into main 2023-11-15 12:51:20 +00:00
Jörg Thalheim
a25c597f92 add pending-reviews script 2023-11-15 13:48:52 +01:00
clan-bot
fd4765e4e2 Merge pull request 'tea-create-pr: automatic needs-review label' (#513) from Mic92-sops-nix into main 2023-11-15 12:00:35 +00:00
Jörg Thalheim
193d9d6919 tea-create-pr: automatic needs-review label 2023-11-15 12:55:30 +01:00
clan-bot
647a520f8c Merge pull request 'Fix incorrect machine name for shell.nix' (#512) from Qubasa-main into main 2023-11-15 10:32:39 +00:00
Qubasa
635de29d6a Fix incorrect machine name for shell.nix 2023-11-15 11:29:07 +01:00
Mic92
1aeee22bf5 Merge pull request 'zerotier: fix ip not beeing persistent for peers' (#511) from Mic92-sops-nix into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/511
2023-11-15 10:23:07 +00:00
Jörg Thalheim
0f4151da30 meshnamed: fix container 2023-11-15 11:20:56 +01:00
Jörg Thalheim
e6acf89117 clanCore/networking: allow ping unconditionally 2023-11-15 11:07:03 +01:00
Jörg Thalheim
d6bb782d74 zerotier: also install identity secrets for non-controllers 2023-11-15 11:07:03 +01:00
Jörg Thalheim
a4119305ac deltachat: fixup default usernames 2023-11-15 11:07:03 +01:00
Jörg Thalheim
80b902a924 move resolved configuration to a dummy interface 2023-11-15 11:07:03 +01:00
clan-bot
22076bc6d8 Merge pull request 'zerotier: fix eval if meshname is not known yet' (#510) from Mic92-sops-nix into main 2023-11-15 06:23:38 +00:00
Jörg Thalheim
15df81b45e drop verbose command logging in task manager 2023-11-15 07:21:26 +01:00
Jörg Thalheim
50ecdebdd3 pytest: add missing with-core marker 2023-11-15 07:21:26 +01:00
Jörg Thalheim
6a35f6b26c explicitly set networkd as the default 2023-11-15 07:21:26 +01:00
Jörg Thalheim
189451d3d2 integrated meshnamed with systemd-resolved 2023-11-15 07:21:26 +01:00
Jörg Thalheim
2ca9f8cbaf move clan-imports into clanCore 2023-11-15 07:21:26 +01:00
Jörg Thalheim
e6376262df deltachat: use zerotier address if available 2023-11-15 07:21:26 +01:00
Jörg Thalheim
74fa1c2614 zerotier: fix eval if meshname is not known yet 2023-11-15 07:21:26 +01:00
clan-bot
84a6a84b3b Merge pull request 'zerotier: also enable meshnamed for non-controllers' (#509) from Mic92-sops-nix into main 2023-11-14 16:47:40 +00:00
Jörg Thalheim
92aa60ff2e zerotier: also enable meshnamed for non-controllers 2023-11-14 17:45:30 +01:00
Jörg Thalheim
d04e807269 zerotier: write hostname to file 2023-11-14 17:45:30 +01:00
clan-bot
85188bf522 Merge pull request 'also regenerate secrets if a fact is missing' (#508) from Mic92-sops-nix into main 2023-11-14 16:11:10 +00:00
Jörg Thalheim
4514b09f81 also regenerate secrets if a fact is missing 2023-11-14 17:07:58 +01:00
clan-bot
495ae94478 Merge pull request 'fix exception when file does not exist' (#507) from Mic92-sops-nix into main 2023-11-14 16:00:20 +00:00
Jörg Thalheim
f65bd8aa85 fix exception when file does not exist
fixes https://git.clan.lol/clan/clan-core/issues/488
2023-11-14 16:57:05 +01:00
clan-bot
e2eceeb546 Merge pull request 'add cors headers in exception handler in cors' (#506) from Mic92-sops-nix into main 2023-11-14 15:42:46 +00:00
Jörg Thalheim
8b42d0207a add cors headers in exception handler in cors 2023-11-14 16:39:20 +01:00
clan-bot
ce4f4f5e85 Merge pull request 'make openapi spec content addressed' (#505) from Mic92-sops-nix into main 2023-11-14 14:35:35 +00:00
Jörg Thalheim
652580d57d only enable corsmiddleware when in dev mode and allow all origins 2023-11-14 15:32:03 +01:00
clan-bot
baad0eb4aa Merge pull request 'enable meshnamed in zerotier module' (#504) from Mic92-sops-nix into main 2023-11-14 13:42:43 +00:00
Jörg Thalheim
65e09aebea enable meshnamed in zerotier module 2023-11-14 14:40:26 +01:00
clan-bot
d621ec898a Merge pull request 'zerotier: add leading zeros at subnet' (#503) from Mic92-sops-nix into main 2023-11-14 13:28:13 +00:00
Jörg Thalheim
ed237ac078 zerotier: add leading zeros at subnet 2023-11-14 14:25:58 +01:00
clan-bot
6cfdc96f79 Merge pull request 'zerotier: compute ipv6 subnets' (#502) from Mic92-sops-nix into main 2023-11-14 13:09:26 +00:00
Jörg Thalheim
087157b4bf zerotier: compute ipv6 subnets 2023-11-14 14:04:05 +01:00
clan-bot
34d42df56c Merge pull request 'drop zerotier-subnet, we can compute this.' (#501) from Mic92-sops-nix into main 2023-11-14 12:53:18 +00:00
Jörg Thalheim
763d0fc252 drop zerotier-subnet, we can compute this. 2023-11-14 13:50:44 +01:00
clan-bot
0f464838f6 Merge pull request 'add module for meshnamed' (#499) from Mic92-sops-nix into main 2023-11-14 12:01:26 +00:00
Jörg Thalheim
7fd0f1fbb7 add module for meshnamed 2023-11-14 12:58:15 +01:00
Jörg Thalheim
82c6330376 update flake lock 2023-11-14 11:29:43 +01:00
clan-bot
8433d85d18 Merge pull request 'api/machines: add test ensuring empty config is valid' (#497) from DavHau-dave into main 2023-11-13 14:59:51 +00:00
DavHau
9f716741ef api/machines: add test ensuring empty config is valid 2023-11-13 21:56:02 +07:00
clan-bot
93d5a85761 Merge pull request 'api/machines: allow config verification on imaginary machines' (#496) from DavHau-dave into main 2023-11-13 14:29:11 +00:00
DavHau
d755048dc2 api/machines: allow config verification on imaginary machines
Machines do not need to exist in order to verify their configuration.

This allows verifying a config before creating an actual machine with it.
2023-11-13 21:24:05 +07:00
clan-bot
1b357c412d Merge pull request 'api/machines: verify config by evaluating the .vm output' (#495) from DavHau-dave into main 2023-11-13 13:53:42 +00:00
DavHau
33944cf74e api/machines: verify config by evaluating the .vm output
This fixes the problem where fileSystems were missing, or boot.loader was not set.

SInce we want VMs anyways for now, this strategy aligns well
2023-11-13 20:50:11 +07:00
ui-asset-bot
74451be048 update ui-assets.nix 2023-11-13 13:31:33 +00:00
clan-bot
470a77f988 Merge pull request 'api/machines: init put_machine replacing create_machine and set_machine_config' (#494) from DavHau-dave into main 2023-11-13 13:30:53 +00:00