Commit Graph

258 Commits

Author SHA1 Message Date
lassulus
ee76a78aed machines update: add --target-host 2023-10-04 23:28:15 +02:00
lassulus
528d0ee45a secrets upload: skip on exit 23, cleanup 2023-10-04 21:29:19 +02:00
DavHau
e6f1ba9291 clan join: init 2023-10-04 18:53:59 +02:00
clan-bot
a64c3b7525 Merge pull request 'webui: drop deadcode' (#405) from Mic92-main into main 2023-10-04 16:20:23 +00:00
Jörg Thalheim
8d423cc5f1 task_manager: log stdout/stderr correctly for processes 2023-10-04 18:17:30 +02:00
Jörg Thalheim
876e79d7a6 drop dead daemonize code 2023-10-04 18:17:30 +02:00
lassulus
9457a0f4b9 vms: support secrets and fix cross compilation 2023-10-04 18:04:27 +02:00
lassulus
0ed50d994b task_manager: fix race conditions 2023-10-04 17:52:06 +02:00
DavHau
a2f729fb2a webui: open browser in new window
This gets closer to an app like feeling
2023-10-04 17:26:55 +02:00
clan-bot
4a72889bd3 Merge pull request 'improve task manager to report exceptions better' (#402) from Mic92-main into main 2023-10-04 14:51:41 +00:00
Jörg Thalheim
b0b680c39d improve task manager to report exceptions better 2023-10-04 16:49:58 +02:00
lassulus
67ff04b1f9 vm.create: define tmpdir 2023-10-04 16:46:30 +02:00
lassulus
01087e2da8 clan_cli: refactor secrets code into Machine class 2023-10-04 16:41:16 +02:00
lassulus
1b9ea830c9 clan-cli: add machines install 2023-10-04 16:34:37 +02:00
Jörg Thalheim
eaf7f62e26 don't register global logger, this interferes currently with that we have in ssh.py 2023-10-04 08:08:06 +02:00
Jörg Thalheim
6ffe39a915 make vm test also work in ci 2023-10-03 18:50:14 +02:00
Jörg Thalheim
c5b0787034 also test that updating a group works 2023-10-03 16:15:36 +00:00
lassulus
251a67ae9e clan_cli.secrets.groups: update keys if members are added/removed 2023-10-03 16:15:36 +00: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
6de1aeebb9 nix fmt 2023-10-03 15:22:41 +02:00
Qubasa
abd78293fc Fixed upload_secrets_test 2023-10-03 15:14:50 +02:00
Qubasa
d60205ea56 Fixed upload_secrets_test 2023-10-03 15:10:22 +02:00
Qubasa
5628475345 Fixing PYTHONPATH in secrets/generate test 2023-10-03 15:01:13 +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
98b5befa0e Added newlines against buffering 2023-10-03 14:36:15 +02:00
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