Commit Graph

452 Commits

Author SHA1 Message Date
Qubasa
e0ef03fa03 API: Added test for inspect_flake 2023-10-03 12:50:47 +02:00
Qubasa
14831e871f Fixed failing tests 2023-10-03 11:51:31 +02:00
Johannes Kirschbauer
6edaa7d2ba smoke check error handling for create vm 2023-10-03 11:43:06 +02:00
Johannes Kirschbauer
1acfded849 Beyoncé rule 2023-10-03 11:21:34 +02:00
Johannes Kirschbauer
9edf5933bb add error handling to endpoint 2023-10-03 11:12:06 +02:00
Qubasa
ab6b96e516 CLI: Restructured TaskManager and log collection 2023-10-02 18:36:50 +02:00
Qubasa
c7bf416af4 CLI: Use API functions 2023-10-02 15:36:02 +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
34dec8d194 tests: add test_secrets_password_store 2023-09-29 20:05:35 +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
0178be0231 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
b42d0598bc also generate zerotier secret for vm 2023-09-28 17:57:44 +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
f5769f5e69 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
cd9cfc5c63 fix secrets script not beeing fetched 2023-09-28 15:51:09 +02:00
Jörg Thalheim
455952cfaa tests: increase timeout to 60 2023-09-28 15:24:06 +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
a2c5e7d80d fix pname of clan-cli for nix run 2023-09-28 14:06:35 +02:00
Jörg Thalheim
155a427ab5 clan-cli: fix eval 2023-09-28 12:20:26 +02:00
Jörg Thalheim
676329aed9 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
156ff510bc don't propagate python libraries into a devshell 2023-09-28 11:58:09 +02:00
clan-bot
6263c9d555 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
5ac2e5970b use buildPythonApplication to shield against external PYTHONPATH 2023-09-28 11:19:16 +02:00
clan-bot
7d67e945a6 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
4f3664b831 webui: pretty urls by also appending .html 2023-09-28 11:09:31 +02:00
clan-bot
c47b4458d4 Merge pull request 'clan update: fix deploymentAddress' (#360) from Mic92-main into main 2023-09-27 19:14:07 +00:00
Jörg Thalheim
853ddd8e97 clan update: fix deploymentAddress 2023-09-27 21:11:52 +02:00
lassulus
bba01a5a80 clan-cli: add desktop item 2023-09-27 19:04:12 +02:00
Jörg Thalheim
e550f32e96 clanInternals.machines: expose information as json 2023-09-27 18:42:49 +02:00
Jörg Thalheim
b3f24cf815 clanInternals.machines: invert system and machine name 2023-09-27 17:26:44 +02:00
Jörg Thalheim
55551f9211 fix clan-pytest build 2023-09-27 16:20:05 +02:00
Jörg Thalheim
2a7c8b6b1a move temporary directory to .direnv 2023-09-27 16:13:04 +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
152067be20 make vm terminate after boot 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