Commit Graph

466 Commits

Author SHA1 Message Date
Jörg Thalheim
2a7c8b6b1a move temporary directory to .direnv 2023-09-27 16:13:04 +02:00
Jörg Thalheim
cb946df8b9 only pass experimental-features onces to nix-build 2023-09-27 13:08:24 +00:00
Jörg Thalheim
ded120d065 drop requirement for importing qemu-vm.nix 2023-09-27 14:54:01 +02:00
Jörg Thalheim
eba8be8006 vms: simplify args passed to create_subprocess_exec 2023-09-27 12:30:06 +02:00
Jörg Thalheim
6d4c9e39aa cli: fix remaining typing errors 2023-09-27 09:47:50 +00:00
Jörg Thalheim
7a617ecb3c cli: simplify log handler 2023-09-27 09:47:50 +00:00
Jörg Thalheim
2d9c141ac1 custom_logger: fix type errror in format_time 2023-09-27 09:47:50 +00:00
Jörg Thalheim
08a9e1cd13 task_manager: assert stdout/stderr exist to make mypy happy 2023-09-27 09:47:50 +00:00
Jörg Thalheim
152067be20 make vm terminate after boot 2023-09-27 09:47:50 +00:00
Jörg Thalheim
852166104a cli/vms: serialize uuid already in the api 2023-09-27 09:47:50 +00:00
Qubasa
1a63bf265a Completely working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
7c93962e35 Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
da571dff7f Working version 2023-09-27 09:47:50 +00:00
Qubasa
8832e96df7 Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
d73dc7048b Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
1da6f127f5 Fixed vscode test debugging problem 2023-09-27 09:47:50 +00:00
Qubasa
20d6f9309b Integrated pytest into vscode 2023-09-27 09:47:50 +00:00
Qubasa
c96b339d94 Extracted threadpool to task_manager.py 2023-09-27 09:47:50 +00:00
Qubasa
b535f745e0 Added test 2023-09-27 09:47:50 +00:00
Qubasa
4a40a2759e Improving endpoint 2023-09-27 09:47:50 +00:00
Qubasa
b58b274118 Added threaded create_vm endpoint 2023-09-27 09:47:50 +00:00
Qubasa
da02c7f4ae Started working on vm_create 2023-09-27 09:47:50 +00:00
Qubasa
ff0dc18686 vscode debugging integration added + README updated 2023-09-27 09:47:50 +00:00
Qubasa
ae58a8eb14 CLI: Added custom logger 2023-09-27 09:47:50 +00:00
lassulus
26add0af28 api/vm/create: start vm 2023-09-27 09:47:50 +00:00
Jörg Thalheim
2e88454b5a move zerotier secret generation into nixos module 2023-09-26 17:57:43 +02:00
Jörg Thalheim
86378320be drop wonky ipdb PYTHONBREAKPOINT 2023-09-26 15:50:02 +02:00
Jörg Thalheim
ec2b56eb94 create test_flake unique per test
otherwise we will have race conditions
2023-09-26 15:46:40 +02:00
Jörg Thalheim
f70ead37b9 replace bubblewrap with fakeroot
this restores macOS support.
2023-09-26 15:33:45 +02:00
clan-bot
2b13be3df5 Merge pull request 'clan config: print command in more instances' (#342) from Mic92-docs into main 2023-09-26 12:13:09 +00:00
Jörg Thalheim
f85fdf678d clan config: print command in more instances 2023-09-26 14:10:52 +02:00
clan-bot
fef5223d6e Merge pull request 'unpin nix-fast-build' (#341) from Mic92-docs into main 2023-09-26 12:02:05 +00:00
Jörg Thalheim
29a48725ef clan config: print command on error 2023-09-26 14:00:20 +02:00
DavHau
b952aaa818 clan config: support new types nullOr and passwdEntry 2023-09-24 14:24:48 +01:00
DavHau
1d3ec4c9c0 clan config: match dynamic options containing <name> 2023-09-24 13:04:37 +01:00
DavHau
ae4e0fb1b1 clan-cli: add --debug section 2023-09-24 08:53:26 +01:00
Johannes Kirschbauer
d200308c73 format python 2023-09-23 13:25:43 +02:00
Johannes Kirschbauer
211ce3e8c5 inspect flake before configure VM 2023-09-23 13:20:25 +02:00
DavHau
e08c0b338d test_basics: add cli fixture 2023-09-22 19:23:23 +02:00
DavHau
9825c179a8 impure-tests: migrate bash to pytest and fix stuff 2023-09-22 18:32:28 +02:00
Jörg Thalheim
ea829a76cd config: git commit synched file 2023-09-22 16:55:51 +02:00
Jörg Thalheim
0d42c549b0 git: dont pass additional cwd 2023-09-22 16:52:11 +02:00
Jörg Thalheim
b482dcd466 make git idempotent 2023-09-22 16:38:46 +02:00
Jörg Thalheim
d9fd0e2a65 better error messages if git commands fail 2023-09-22 16:25:30 +02:00
Jörg Thalheim
fa9e8d757d add show-trace option that is disabled by default 2023-09-22 16:07:39 +02:00
Jörg Thalheim
e3b2424d9d make git optional again 2023-09-22 16:07:39 +02:00
Jörg Thalheim
e2cf3c1601 fix test not beeing exposed 2023-09-22 16:07:39 +02:00
Jörg Thalheim
d8bde6ec8e fix reading options 2023-09-22 14:54:44 +02:00
clan-bot
eb33150bdc Merge pull request 'config: read nixos option correctly' (#324) from Mic92-docs into main 2023-09-22 12:41:05 +00:00
Jörg Thalheim
660dafd412 config: read nixos option correctly 2023-09-22 14:38:23 +02:00