Commit Graph

69 Commits

Author SHA1 Message Date
Qubasa
d604255217 cli: fixed run vm not working with url 2023-12-31 13:56:55 +01:00
Qubasa
cb933787ff Added gcroot for clan Icon and VM 2023-12-31 00:49:57 +01:00
Qubasa
001a48da52 Removed python deal. 2023-12-30 23:10:43 +01:00
Qubasa
c6188c17fb pytest: Removed -s flag for CI 2023-12-26 18:20:41 +01:00
Qubasa
e17508702a UI: Added process executor. Display vm status correctly in list. | CLI: Added get_qemu_version(), fixed virtio audio bug. 2023-12-26 18:02:43 +01:00
Jörg Thalheim
ca70dee092 switch to virtio-audio 2023-12-21 15:39:27 +01:00
a-kenji
df6adf979e vms/run: remove superfluous command 2023-12-14 15:45:45 +01:00
a-kenji
10cbb6d15c vms/run: fix virtual machines spawning multiple windows 2023-12-14 08:55:12 +01:00
Qubasa
4506202a82 Added clan flakes inspect command. Improved ClanURI. Added democlan as dependency in flake.nix 2023-12-09 00:09:21 +01:00
Jörg Thalheim
821e5e0a7b disable tty0 when using wayland
we don't vga output and use our serial console instead
2023-12-08 16:19:09 +01:00
Jörg Thalheim
3054b9c77d move clanName into nixos machine configuration 2023-12-08 16:03:29 +01:00
Jörg Thalheim
0e91f8721f prefix nixpkgs# explicitly in nix_shell
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
Jörg Thalheim
af3001a3ac vms/run: split large vm run method into smaller ones 2023-12-08 15:09:48 +01:00
Jörg Thalheim
49010f4d46 add wayland option 2023-12-08 14:13:47 +01:00
Jörg Thalheim
10930c27bf make vm inspect non-async 2023-12-08 13:59:24 +01:00
Jörg Thalheim
8cff166393 vms/run: rename flake_url to flake-url 2023-12-08 13:40:28 +01:00
Jörg Thalheim
4b16269a38 vms/run/inspect: also make it more type-safe
nix will show proper error messages when it cannot find a flake.
2023-12-08 12:08:48 +01:00
Jörg Thalheim
218478c801 vms/run: make flake field option always have a value 2023-12-08 12:08:45 +01:00
Jörg Thalheim
b9ca10c4da make cli options more type safe using a dataclass 2023-12-08 11:31:29 +01:00
Jörg Thalheim
e97bcbd94f make sure that flake url is always set in the cli 2023-12-08 11:05:22 +01:00
Jörg Thalheim
b0ecc17645 get rid of task_manager 2023-12-06 15:53:23 +01:00
Jörg Thalheim
9d64ccb08e integegrate remote-viewer instead of spicy 2023-11-29 16:07:12 +01:00
Jörg Thalheim
6f0722c692 modernisation for python 3.11 2023-11-29 13:29:45 +00:00
Jörg Thalheim
7d755beca6 enable more linting 2023-11-29 13:29:45 +00:00
Jörg Thalheim
4a19e3af95 rename vms create to vms run 2023-11-24 15:00:08 +01:00
Jörg Thalheim
72453b5078 start spice in background 2023-11-23 17:56:05 +01:00
Jörg Thalheim
935acbd94a spice: use unix socket instead of tcp 2023-11-23 17:34:06 +01:00
Jörg Thalheim
93ab408827 switch to spice for graphical vms 2023-11-23 16:59:07 +01:00
Jörg Thalheim
4f18c48892 vms: start with cpu=max
This unlocks some cpu extensions
2023-11-23 16:55:36 +01:00
Jörg Thalheim
647a4214fb get rid of pydantic in cli 2023-11-21 12:48:35 +00:00
lassulus
082d628497 clan_cli: flake_name -> flake_dir 2023-11-15 16:23:28 +01:00
Jörg Thalheim
15df81b45e drop verbose command logging in task manager 2023-11-15 07:21:26 +01:00
Jörg Thalheim
706e7970f4 vms/create: drop extra flake argument and make it work with local flakes 2023-11-10 13:43:14 +01:00
lassulus
efafe6f0e3 clan-cli secrets: flake_name -> flake_dir 2023-11-05 16:58:48 +01:00
Qubasa
a00056824d API: Added /api/flake/list. Added API grouping and description for better visibility 2023-11-03 22:05:33 +01:00
Jörg Thalheim
d08fe82864 switch from black to ruff for formatting 2023-11-03 13:38:13 +01:00
Jörg Thalheim
542bf47820 add nix option flag that is passed to underlying nix commands 2023-11-03 12:28:26 +01:00
Jörg Thalheim
ac754e1b44 vms/create: try virtio for vga
seems to suck less than std.
2023-10-31 15:34:53 +01:00
Jörg Thalheim
81e40ac34c vms/create: use tmpdir again 2023-10-31 13:53:54 +01:00
Jörg Thalheim
f33ed3eec6 vms/create: allow xchg/secrets dir to exist 2023-10-31 13:53:54 +01:00
Qubasa
750b4b6b7e Fixing test_vms_api test 2023-10-27 19:26:03 +02:00
Qubasa
5bd2345bc1 Commit only for debugging Container 2023-10-27 19:26:03 +02:00
Qubasa
0be3dac289 nix fmt 2023-10-27 19:21:50 +02:00
Qubasa
8ff80b025c Fixing a multitude of tests 2023-10-27 19:21:50 +02:00
Qubasa
adffdc14f6 Added repro_env_break debugging command. This spawn a terminal inside the temp home folder with the same environment as the python test 2023-10-27 19:20:17 +02:00
Qubasa
3dc7d12e9c Added ref to Qubasa-main in template/new-clan/flake.nix 2023-10-27 19:20:17 +02:00
Qubasa
8e9034ad02 Added clanName argument to clan-core.lib.builClan 2023-10-27 19:20:17 +02:00
Qubasa
9c8829c32f nix fmt 2023-10-27 19:19:45 +02:00
Qubasa
6d0deefa6b Added ipdb as breakpoint console. Improved logging. 2023-10-27 19:19:45 +02:00
Qubasa
0ab2b853f2 Improved logging messages. Added ClanError if flake create or machine create already exist 2023-10-27 19:18:45 +02:00