Commit Graph

1531 Commits

Author SHA1 Message Date
Qubasa
f1d5cacd76 Added better logging 2023-10-03 14:16:07 +02:00
Qubasa
f5bead7403 API: Added test for inspect_flake 2023-10-03 13:19:20 +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
lassulus
0db337d57e clan-cli secrets upload: secrets are populated into tmpdir 2023-09-29 20:05:35 +02:00
lassulus
79be9078dc restore clanInternals with valid nixos config 2023-09-29 19:39:35 +02:00
lassulus
d1cf62cc59 clan-cli: init vm command 2023-09-29 19:18:27 +02:00
Jörg Thalheim
9a518cd816 also encrypt secret for the machine itself 2023-09-28 17:51:37 +02:00
Jörg Thalheim
80111c0b1c webui: fix warning 2023-09-28 16:31:59 +02:00
Jörg Thalheim
cd9cfc5c63 fix secrets script not beeing fetched 2023-09-28 15:51:09 +02:00
Jörg Thalheim
82bf417e17 add toplevel machines-json that can deploy all hosts 2023-09-28 15:23:25 +02:00
Jörg Thalheim
4f3664b831 webui: pretty urls by also appending .html 2023-09-28 11:09:31 +02:00
Jörg Thalheim
853ddd8e97 clan update: fix deploymentAddress 2023-09-27 21:11:52 +02:00
Jörg Thalheim
b3f24cf815 clanInternals.machines: invert system and machine name 2023-09-27 17:26:44 +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
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
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
Jörg Thalheim
2e88454b5a move zerotier secret generation into nixos module 2023-09-26 17:57:43 +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