Commit Graph

369 Commits

Author SHA1 Message Date
Jörg Thalheim
2502422bc1 add test for vm cli 2023-10-03 17:24:08 +02:00
Jörg Thalheim
361ad990ab clan-cli/tests: skip tests if has no /dev/kvm 2023-10-03 17:24:08 +02:00
Jörg Thalheim
b1d045131a add missing e2fsprogs to runtime inputs 2023-10-03 17:24:08 +02:00
Jörg Thalheim
ff11340507 move out vm logic out of controller 2023-10-03 17:24:08 +02:00
Qubasa
dbe289f702 nix fmt 2023-10-03 15:22:41 +02:00
Qubasa
8fa241a36b Fixed upload_secrets_test 2023-10-03 15:14:50 +02:00
Qubasa
7dde66c0df Fixed upload_secrets_test 2023-10-03 15:10:22 +02:00
Qubasa
be9d3d43bf Fixing PYTHONPATH in secrets/generate test 2023-10-03 15:01:13 +02:00
Qubasa
cb2815c4d0 nix fmt 2023-10-03 14:39:29 +02:00
Qubasa
d8b69ec883 Added newlines against buffering for log streaming. Fixed cli 2023-10-03 14:38:51 +02:00
Qubasa
d25c3a0940 Added newlines against buffering 2023-10-03 14:36:15 +02:00
Qubasa
2bbed10117 Added better logging 2023-10-03 14:16:07 +02:00
Qubasa
8e98c50ccd Merge branch 'Qubasa-main' of git.clan.lol:clan/clan-core 2023-10-03 13:24:31 +02:00
Qubasa
da72ec18ad API: Added test for inspect_flake 2023-10-03 13:19:20 +02:00
Qubasa
c1c68ee1d8 Fixed failing tests 2023-10-03 13:15:01 +02:00
Qubasa
7e180d2f12 CLI: Restructured TaskManager and log collection 2023-10-03 13:15:01 +02:00
Qubasa
af17c1bd7a Updated to main 2023-10-03 13:12:44 +02:00
Qubasa
167533d9ee API: Added test for inspect_flake 2023-10-03 12:50:47 +02:00
Qubasa
653ad99b22 Fixed failing tests 2023-10-03 11:51:31 +02:00
Johannes Kirschbauer
c40a7bf3fb smoke check error handling for create vm 2023-10-03 11:43:06 +02:00
Johannes Kirschbauer
16f44900a3 Beyoncé rule 2023-10-03 11:21:34 +02:00
Johannes Kirschbauer
3c11eece4d add error handling to endpoint 2023-10-03 11:12:06 +02:00
Qubasa
814d81c1d2 CLI: Restructured TaskManager and log collection 2023-10-02 18:36:50 +02:00
Qubasa
6640c78089 CLI: Use API functions 2023-10-02 15:36:02 +02:00
Qubasa
ce7ae81a35 API: Added endpoint & test for /api/flake/attrs 2023-10-01 12:50:54 +02:00
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
6e3f2b1ce2 tests: add test_secrets_password_store 2023-09-29 20:05:35 +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
739d3b3578 zerotier: document mdns ports; drop duplicate udp firewall rules
the nixos module already opens the zerotier port
2023-09-28 17:58:42 +02:00
Jörg Thalheim
be6592c82c also generate zerotier secret for vm 2023-09-28 17:57:44 +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
2375bafbae pregenerate ssh_host keys for tests
Then we are free to choose where to put the ssh config
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
5a7c4120b6 tests: increase timeout to 60 2023-09-28 15:24:06 +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
91c8b9c64f fix pname of clan-cli for nix run 2023-09-28 14:06:35 +02:00
Jörg Thalheim
1a926f6cf3 clan-cli: fix eval 2023-09-28 12:20:26 +02:00
Jörg Thalheim
0f1b7cf916 clan-cli: symlink cli into an otherwise empty package
This avoids propagating unneeded python libraries
2023-09-28 12:19:16 +02:00
Jörg Thalheim
8467457283 don't propagate python libraries into a devshell 2023-09-28 11:58:09 +02:00
clan-bot
8014bd7181 Merge pull request 'use buildPythonApplication to shield against external PYTHONPATH' (#363) from Mic92-main into main 2023-09-28 09:23:36 +00:00
Jörg Thalheim
d55abacfcb use buildPythonApplication to shield against external PYTHONPATH 2023-09-28 11:19:16 +02:00
clan-bot
5d09299870 Merge pull request 'webui: pretty urls by also appending .html' (#362) from Mic92-main into main 2023-09-28 09:12:43 +00:00
Jörg Thalheim
cc70537a91 webui: pretty urls by also appending .html 2023-09-28 11:09:31 +02:00
clan-bot
1bf4ab22e4 Merge pull request 'clan update: fix deploymentAddress' (#360) from Mic92-main into main 2023-09-27 19:14:07 +00:00
Jörg Thalheim
3f814c1e5f clan update: fix deploymentAddress 2023-09-27 21:11:52 +02:00
lassulus
dafceb6fea clan-cli: add desktop item 2023-09-27 19:04:12 +02:00