Commit Graph

273 Commits

Author SHA1 Message Date
Johannes Kirschbauer 82db33d047 refine join workflow 2023-09-30 16:00:21 +02:00
Qubasa f224deace9 API: Improved vm_status and added some tests. Skip vm tests in VM 2023-09-30 11:08:42 +02:00
lassulus 89b7ffce6c clan-cli secrets upload: secrets are populated into tmpdir 2023-09-29 20:05:35 +02:00
lassulus 7ca9c49163 restore clanInternals with valid nixos config 2023-09-29 19:39:35 +02:00
lassulus a5f181a430 clan-cli: init vm command 2023-09-29 19:18:27 +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 b366beeb2e fix secrets script not beeing fetched 2023-09-28 15:51:09 +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 cc70537a91 webui: pretty urls by also appending .html 2023-09-28 11:09:31 +02:00
Jörg Thalheim 3f814c1e5f clan update: fix deploymentAddress 2023-09-27 21:11:52 +02:00
Jörg Thalheim 756820e4ca clanInternals.machines: invert system and machine name 2023-09-27 17:26:44 +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 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 c2fb42e953 Extracted threadpool to task_manager.py 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 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 7eab8c22cf replace bubblewrap with fakeroot
this restores macOS support.
2023-09-26 15:33:45 +02:00
clan-bot 677494811b 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 da1927581d 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 3783359f08 clan config: support new types nullOr and passwdEntry 2023-09-24 14:24:48 +01:00
DavHau ec70b34470 clan config: match dynamic options containing <name> 2023-09-24 13:04:37 +01:00
DavHau 26972ca194 clan-cli: add --debug section 2023-09-24 08:53:26 +01:00
Johannes Kirschbauer f3e66bd5a6 format python 2023-09-23 13:25:43 +02:00
Johannes Kirschbauer 09364671b3 inspect flake before configure VM 2023-09-23 13:20:25 +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 d8bde6ec8e fix reading options 2023-09-22 14:54:44 +02:00