Commit Graph

937 Commits

Author SHA1 Message Date
Jörg Thalheim
be6592c82c also generate zerotier secret for vm 2023-09-28 17:57:44 +02:00
Jörg Thalheim
0c91bb90ab also encrypt secret for the machine itself 2023-09-28 17:51:37 +02:00
Jörg Thalheim
7184fe277d webui: fix warning 2023-09-28 16:31:59 +02:00
Jörg Thalheim
2375bafbae pregenerate ssh_host keys for tests
Then we are free to choose where to put the ssh config
2023-09-28 16:31:59 +02:00
Jörg Thalheim
b366beeb2e fix secrets script not beeing fetched 2023-09-28 15:51:09 +02:00
Jörg Thalheim
5a7c4120b6 tests: increase timeout to 60 2023-09-28 15:24:06 +02:00
Jörg Thalheim
16b33eb0a8 add toplevel machines-json that can deploy all hosts 2023-09-28 15:23:25 +02:00
Jörg Thalheim
91c8b9c64f fix pname of clan-cli for nix run 2023-09-28 14:06:35 +02:00
Jörg Thalheim
1a926f6cf3 clan-cli: fix eval 2023-09-28 12:20:26 +02:00
Jörg Thalheim
0f1b7cf916 clan-cli: symlink cli into an otherwise empty package
This avoids propagating unneeded python libraries
2023-09-28 12:19:16 +02:00
Jörg Thalheim
8467457283 don't propagate python libraries into a devshell 2023-09-28 11:58:09 +02:00
clan-bot
8014bd7181 Merge pull request 'use buildPythonApplication to shield against external PYTHONPATH' (#363) from Mic92-main into main 2023-09-28 09:23:36 +00:00
Jörg Thalheim
d55abacfcb use buildPythonApplication to shield against external PYTHONPATH 2023-09-28 11:19:16 +02:00
clan-bot
5d09299870 Merge pull request 'webui: pretty urls by also appending .html' (#362) from Mic92-main into main 2023-09-28 09:12:43 +00:00
Jörg Thalheim
cc70537a91 webui: pretty urls by also appending .html 2023-09-28 11:09:31 +02:00
clan-bot
1bf4ab22e4 Merge pull request 'clan update: fix deploymentAddress' (#360) from Mic92-main into main 2023-09-27 19:14:07 +00:00
Jörg Thalheim
3f814c1e5f clan update: fix deploymentAddress 2023-09-27 21:11:52 +02:00
lassulus
dafceb6fea clan-cli: add desktop item 2023-09-27 19:04:12 +02:00
Jörg Thalheim
85f7e2f2cd clanInternals.machines: expose information as json 2023-09-27 18:42:49 +02:00
Jörg Thalheim
756820e4ca clanInternals.machines: invert system and machine name 2023-09-27 17:26:44 +02:00
Jörg Thalheim
59f0a912ea fix clan-pytest build 2023-09-27 16:20:05 +02:00
Jörg Thalheim
e970dcb658 move temporary directory to .direnv 2023-09-27 16:13:04 +02:00
Jörg Thalheim
166a2f795f only pass experimental-features onces to nix-build 2023-09-27 13:08:24 +00:00
Jörg Thalheim
2f73e6b472 drop requirement for importing qemu-vm.nix 2023-09-27 14:54:01 +02:00
Jörg Thalheim
974f07628b vms: simplify args passed to create_subprocess_exec 2023-09-27 12:30:06 +02:00
Jörg Thalheim
4317e681cf cli: fix remaining typing errors 2023-09-27 09:47:50 +00:00
Jörg Thalheim
244ae37144 cli: simplify log handler 2023-09-27 09:47:50 +00:00
Jörg Thalheim
e5899c8e10 custom_logger: fix type errror in format_time 2023-09-27 09:47:50 +00:00
Jörg Thalheim
80aa7f06fb task_manager: assert stdout/stderr exist to make mypy happy 2023-09-27 09:47:50 +00:00
Jörg Thalheim
b343650771 make vm terminate after boot 2023-09-27 09:47:50 +00:00
Jörg Thalheim
dea49073cb cli/vms: serialize uuid already in the api 2023-09-27 09:47:50 +00:00
Qubasa
08eab785c6 Completely working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
8d390af122 Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
82c3d91e85 Working version 2023-09-27 09:47:50 +00:00
Qubasa
a8bab7bb96 Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
98028d121f Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
3a11c0a746 Fixed vscode test debugging problem 2023-09-27 09:47:50 +00:00
Qubasa
991181bf3c Integrated pytest into vscode 2023-09-27 09:47:50 +00:00
Qubasa
c2fb42e953 Extracted threadpool to task_manager.py 2023-09-27 09:47:50 +00:00
Qubasa
04f3547be0 Added test 2023-09-27 09:47:50 +00:00
Qubasa
f6c8b963c1 Improving endpoint 2023-09-27 09:47:50 +00:00
Qubasa
d16bb5db26 Added threaded create_vm endpoint 2023-09-27 09:47:50 +00:00
Qubasa
7479fca82b Started working on vm_create 2023-09-27 09:47:50 +00:00
Qubasa
b86e02e183 vscode debugging integration added + README updated 2023-09-27 09:47:50 +00:00
Qubasa
9dca1a4672 CLI: Added custom logger 2023-09-27 09:47:50 +00:00
lassulus
904301c20e api/vm/create: start vm 2023-09-27 09:47:50 +00:00
Jörg Thalheim
74a3c85c29 move zerotier secret generation into nixos module 2023-09-26 17:57:43 +02:00
Jörg Thalheim
49c17cc6d0 drop wonky ipdb PYTHONBREAKPOINT 2023-09-26 15:50:02 +02:00
Jörg Thalheim
87aa063e86 create test_flake unique per test
otherwise we will have race conditions
2023-09-26 15:46:40 +02:00
Jörg Thalheim
7eab8c22cf replace bubblewrap with fakeroot
this restores macOS support.
2023-09-26 15:33:45 +02:00