Commit Graph

41 Commits

Author SHA1 Message Date
lassulus
0ed50d994b task_manager: fix race conditions 2023-10-04 17:52:06 +02:00
Jörg Thalheim
b0b680c39d improve task manager to report exceptions better 2023-10-04 16:49:58 +02:00
Jörg Thalheim
f8e5f261f9 task_manager: return task directly instead of uuid 2023-10-03 17:48:56 +02:00
Jörg Thalheim
c03effed54 move out vm logic out of controller 2023-10-03 17:24:08 +02:00
Qubasa
499c42fd20 nix fmt 2023-10-03 14:39:29 +02:00
Qubasa
76943ac7ee Added newlines against buffering for log streaming. Fixed cli 2023-10-03 14:38:51 +02:00
Qubasa
f1d5cacd76 Added better logging 2023-10-03 14:16:07 +02:00
Qubasa
c78af6243c Fixed failing tests 2023-10-03 13:15:01 +02:00
Qubasa
3a8ce96b43 CLI: Restructured TaskManager and log collection 2023-10-03 13:15:01 +02:00
Qubasa
0b47a1f9e1 Updated to main 2023-10-03 13:12:44 +02:00
Johannes Kirschbauer
6edaa7d2ba smoke check error handling for create vm 2023-10-03 11:43:06 +02:00
Johannes Kirschbauer
9edf5933bb add error handling to endpoint 2023-10-03 11:12:06 +02:00
Qubasa
912d6428a3 API: Added endpoint & test for /api/flake/attrs 2023-10-01 12:50:54 +02:00
Johannes Kirschbauer
1c685bdf33 refine join workflow 2023-09-30 16:00:21 +02:00
Qubasa
d805c4b069 API: Improved vm_status and added some tests. Skip vm tests in VM 2023-09-30 11:08:42 +02:00
Jörg Thalheim
4f3664b831 webui: pretty urls by also appending .html 2023-09-28 11:09:31 +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
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
d73dc7048b Working log streaming 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
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
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
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
Jörg Thalheim
a29f301f84 add vms 2023-09-15 14:02:40 +00:00
Jörg Thalheim
9913a95cc2 ruff: enable upgrade rule checks 2023-08-27 10:46:53 +02:00
Jörg Thalheim
9ae14a4f7d integrate static assets into webui command 2023-08-26 12:24:57 +02:00
DavHau
868c49acea webui: implement /api/machines/{name}/config 2023-08-25 23:18:34 +02:00
DavHau
fb76ad45e8 webui: implement /api/machines/{name}/schema 2023-08-25 21:26:30 +02:00
Johannes Kirschbauer
f0bc59a1a2 add cors to rest api 2023-08-25 12:42:20 +02:00
Jörg Thalheim
aa14e7ddc7 generate openapi 2023-08-25 11:39:46 +02:00
Jörg Thalheim
33b43ae146 add tests for machines api 2023-08-24 19:16:44 +02:00
Jörg Thalheim
80d3349ce0 add stub api for machines 2023-08-24 16:11:08 +02:00
Jörg Thalheim
acc648fc6b integrate webserver into cli
integrate webserver into cli
2023-08-24 11:31:41 +02:00