Commit Graph

1445 Commits

Author SHA1 Message Date
clan-bot
f2e2d50c06 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
bdc8ef63ed add module for meshnamed 2023-11-14 12:58:15 +01:00
Jörg Thalheim
eb788393e6 update flake lock 2023-11-14 11:29:43 +01:00
clan-bot
b47e38271e 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
2dcdf738ce api/machines: add test ensuring empty config is valid 2023-11-13 21:56:02 +07:00
clan-bot
ace0ae5c49 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
6a52c5f15b 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
7eb664fd08 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
55a1df7868 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
f55fcc1551 update ui-assets.nix 2023-11-13 13:31:33 +00:00
clan-bot
8b60c68206 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
DavHau
1652b5c27b api/machines: init put_machine replacing create_machine and set_machine_config
This allows creating and configuring a machine in one single step.
2023-11-13 20:25:52 +07:00
DavHau
2395119d21 task_manager.py: fix index out of range bug 2023-11-13 20:21:51 +07:00
DavHau
14c4b99891 commit_file: fix diff computation
previously computed diff over all files
2023-11-13 19:59:20 +07:00
DavHau
42dba72239 chore: remove unnecessary comment 2023-11-12 07:57:48 +07:00
DavHau
236ca4f98c api/machines: ensure name is valid hostname 2023-11-12 07:57:48 +07:00
clan-bot
eec22d7d39 Merge pull request 'fix sops-nix override' (#492) from sops-nix into main 2023-11-11 17:31:09 +00:00
Jörg Thalheim
b2998e2e94 fix sops-nix override 2023-11-11 18:28:18 +01:00
ui-asset-bot
3a2c407ae0 update ui-assets.nix 2023-11-11 14:30:55 +00:00
clan-bot
4ed42540ba Merge pull request 'feat/configure-modules' (#490) from feat/configure-modules into main 2023-11-11 14:30:16 +00:00
Johannes Kirschbauer
74c8b85e4a fix type errors 2023-11-11 15:27:57 +01:00
Johannes Kirschbauer
7a02483534 merge main 2023-11-11 15:11:06 +01:00
Johannes Kirschbauer
d7476c967e clean up join workflow 2023-11-11 15:01:18 +01:00
Johannes Kirschbauer
97b8c7a701 add & configure machine: added formular integration 2023-11-11 10:08:39 +01:00
clan-bot
04c754caad Merge pull request 'vms/create: drop extra flake argument and make it work with local flakes' (#487) from Mic92-zerotier into main 2023-11-10 12:46:45 +00:00
Jörg Thalheim
54ede8a0ff vms/create: drop extra flake argument and make it work with local flakes 2023-11-10 13:43:14 +01:00
clan-bot
e1bccaa54f Merge pull request 'rename luispkgs to nixpkgs-for-deal' (#485) from zerotier into main 2023-11-10 12:17:03 +00:00
Jörg Thalheim
c8e1acac2b rename luispkgs to nixpkgs-for-deal 2023-11-10 13:14:06 +01:00
clan-bot
4170fce7e8 Merge pull request 'move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS' (#484) from zerotier into main 2023-11-10 12:01:30 +00:00
Jörg Thalheim
c0be813a4c dirs: opportuniscally create directories 2023-11-10 12:55:46 +01:00
Jörg Thalheim
657cdd6e67 drop unused clan_data_dir 2023-11-10 12:55:46 +01:00
Jörg Thalheim
df1acebd87 move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS 2023-11-10 12:50:51 +01:00
Jörg Thalheim
46191b9a9c drop unused ClanDataPath 2023-11-10 12:46:15 +01:00
clan-bot
d848298017 Merge pull request 'moving deal dependencies to tests only' (#483) from zerotier into main 2023-11-10 11:43:45 +00:00
Jörg Thalheim
85a06d47e5 breakpoint_shell: make work_dir optional 2023-11-10 12:40:51 +01:00
Jörg Thalheim
13b685f7af moving deal dependencies to tests only 2023-11-10 12:39:24 +01:00
clan-bot
b518d92678 Merge pull request 'zerotier: allow to persist zerotier identities/ips/meshnames for non-controller' (#482) from zerotier into main 2023-11-10 10:59:48 +00:00
Jörg Thalheim
c28089d4b2 allow to persist zerotier identities/ips/meshnames for non-controller 2023-11-10 11:56:54 +01:00
clan-bot
078c211292 Merge pull request 'api/schema: return list of missing modules' (#480) from DavHau-dave into main 2023-11-10 08:10:53 +00:00
DavHau
39607a0925 api/schema: return list of missing modules 2023-11-10 15:07:15 +07:00
clan-bot
53ce82984d Merge pull request 'api/schema: don't crash on eval error' (#479) from DavHau-dave into main 2023-11-10 07:30:06 +00:00
DavHau
97ea9312ac api/schema: don't crash on eval error 2023-11-10 14:27:03 +07:00
Jörg Thalheim
b8ed607658 also override XDG_DATA_HOME in tests
otherwise tests will fail if XDG_DATA_HOME is set by a user
2023-11-09 17:45:24 +01:00
Jörg Thalheim
af0714132d clan: use .local/share as default for XDG_DATA_HOME 2023-11-09 17:45:24 +01:00
Jörg Thalheim
0206210b7e fix error message if clan flake does not exist 2023-11-09 17:44:44 +01:00
ui-asset-bot
c194adc181 update ui-assets.nix 2023-11-09 08:34:03 +00:00
clan-bot
163374dc6a Merge pull request 'api/schema: get schema without having a machine' (#478) from DavHau-dave into main 2023-11-09 08:33:23 +00:00
DavHau
2a6e329e40 api/schema: get schema without having a machine
Also done:
- add @pytest.mark.with_core indicating that a test depends on clan-core and cannot be cached
- separate unit tests into two derivations, ones that can be cached and ones that cannot.
- fix frontend typescript code
2023-11-09 15:30:25 +07:00
clan-bot
f2062db56c Merge pull request 'Fixed wrong examples' (#477) from Qubasa-main into main 2023-11-08 20:43:27 +00:00
Qubasa
10e52699be Fixed wrong examples 2023-11-08 21:40:17 +01:00