Commit Graph

466 Commits

Author SHA1 Message Date
Johannes Kirschbauer
1ff5595dbc format 2023-11-04 09:16:37 +01:00
Johannes Kirschbauer
3696ecbae5 merge main 2023-11-04 09:15:15 +01:00
Qubasa
b48cd4e9ae nix fmt 2023-11-03 22:22:16 +01:00
Qubasa
bdd656cb94 Fixing failing test 2023-11-03 22:21:22 +01:00
Qubasa
a00056824d API: Added /api/flake/list. Added API grouping and description for better visibility 2023-11-03 22:05:33 +01:00
Jörg Thalheim
68a2df46ae fix clan_error_handler type 2023-11-03 14:48:14 +01:00
Jörg Thalheim
d08fe82864 switch from black to ruff for formatting 2023-11-03 13:38:13 +01:00
Jörg Thalheim
33515b2ed2 cli: merge nix options correctly 2023-11-03 13:31:36 +01:00
Jörg Thalheim
542bf47820 add nix option flag that is passed to underlying nix commands 2023-11-03 12:28:26 +01:00
Johannes Kirschbauer
c714ab29b4 add create/join switch 2023-10-31 19:05:37 +01:00
Jörg Thalheim
ac754e1b44 vms/create: try virtio for vga
seems to suck less than std.
2023-10-31 15:34:53 +01:00
lassulus
fb20b6040c switch flake to main branch again 2023-10-31 15:34:47 +01:00
lassulus
b316597bf4 cli machines update: find flake dir automatic if not provided, support flake as path 2023-10-31 15:34:47 +01:00
Jörg Thalheim
81e40ac34c vms/create: use tmpdir again 2023-10-31 13:53:54 +01:00
Jörg Thalheim
f33ed3eec6 vms/create: allow xchg/secrets dir to exist 2023-10-31 13:53:54 +01:00
Jörg Thalheim
31e47beca4 improve error message if flake_dir does not exists 2023-10-31 13:53:54 +01:00
Qubasa
04b1fc2524 Fixed test_webui only failing in nix_sandbox also fixed test_create_flake 2023-10-29 19:51:35 +01:00
Qubasa
1fef2d1732 Fixed test_webui only failing in nix_sandbox 2023-10-29 19:35:29 +01:00
Johannes Kirschbauer
63a0adb678 format pytest 2023-10-28 18:38:14 +02:00
Qubasa
ff866ca4b2 Fixing test_clan_modules test 2023-10-27 23:39:02 +02:00
Qubasa
e389c7cfe7 Updated to main branch. Removed cluttering asyncio and httpx log messages 2023-10-27 23:36:45 +02:00
Qubasa
7256c35c26 Fixed missing FlakeName argument 2023-10-27 19:26:03 +02:00
Qubasa
1a2e117523 Fixing deadlock 2023-10-27 19:26:03 +02:00
Qubasa
a628934351 Removing find_git_repo 2023-10-27 19:26:03 +02:00
Qubasa
8e8b6530b0 Fixing test_vms_api test 2023-10-27 19:26:03 +02:00
Qubasa
d69b8920d1 Fixing test_vms_api test 2023-10-27 19:26:03 +02:00
Qubasa
750b4b6b7e Fixing test_vms_api test 2023-10-27 19:26:03 +02:00
Qubasa
3aed7b834f Commit only for debugging Container 2023-10-27 19:26:03 +02:00
Qubasa
5bd2345bc1 Commit only for debugging Container 2023-10-27 19:26:03 +02:00
Qubasa
ddf502b229 nix fmt 2023-10-27 19:26:03 +02:00
Qubasa
768b567f21 nix fmt 2023-10-27 19:26:03 +02:00
Qubasa
916fa8e570 All tests passing babyyy !! 2023-10-27 19:26:03 +02:00
Qubasa
0be3dac289 nix fmt 2023-10-27 19:21:50 +02:00
Qubasa
8ff80b025c Fixing a multitude of tests 2023-10-27 19:21:50 +02:00
Qubasa
adffdc14f6 Added repro_env_break debugging command. This spawn a terminal inside the temp home folder with the same environment as the python test 2023-10-27 19:20:17 +02:00
Qubasa
950808498f Working test_create_flake 2023-10-27 19:20:17 +02:00
Qubasa
3dc7d12e9c Added ref to Qubasa-main in template/new-clan/flake.nix 2023-10-27 19:20:17 +02:00
Qubasa
8e9034ad02 Added clanName argument to clan-core.lib.builClan 2023-10-27 19:20:17 +02:00
Qubasa
9c8829c32f nix fmt 2023-10-27 19:19:45 +02:00
Qubasa
6d0deefa6b Added ipdb as breakpoint console. Improved logging. 2023-10-27 19:19:45 +02:00
Qubasa
0ab2b853f2 Improved logging messages. Added ClanError if flake create or machine create already exist 2023-10-27 19:18:45 +02:00
Qubasa
d96ea61243 Secrets tests passing. nix fmt doesn't complain 2023-10-27 19:18:45 +02:00
Qubasa
1631dc631b Improved test logging with frame inspection 2023-10-27 19:18:45 +02:00
Qubasa
7bbadaa60f Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests 2023-10-27 19:18:45 +02:00
Qubasa
ecdd4949b7 Added new type FlakeName 2023-10-27 19:18:45 +02:00
Qubasa
f976121fa6 Added flake_name:str argument everywhere, nix fmt doesn't complain anymore 2023-10-27 19:15:40 +02:00
Qubasa
b09448ab6b Updated to main 2023-10-27 19:15:11 +02:00
Qubasa
2ad87785c0 Added state directory. 2023-10-27 19:11:27 +02:00
Qubasa
58b54bb9df API: Added Path validators. api/flake/create inits git repo. Fixed vscode interpreter problem 2023-10-27 19:11:27 +02:00
Jörg Thalheim
8daf0607c3 fix updating multiple machines 2023-10-27 17:40:20 +02:00