DavHau
2bc716377d
tests/generate_flake: support inventory argument
2024-07-24 17:06:42 +07:00
Johannes Kirschbauer
ad70ee72e5
Unit tests: fix template test - override the input in the flake template
2024-07-17 12:06:23 +02:00
DavHau
bb1950a4a0
fixtures_flakes.py: remove dead code
2024-07-05 15:55:52 +07:00
DavHau
4db2e8303f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
DavHau
8eafd43fd3
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00
DavHau
e09658c817
secrets: ensure all added/deleted files get committed
2024-04-24 17:26:32 +07:00
DavHau
a438a27c69
vms: init graceful shutdown for GUI
...
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI
the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
DavHau
5cdd9a1817
VMs: port vm_persistence test to python
2024-01-09 14:47:33 +07:00
Qubasa
999747c5fc
Deleted everything webui
2023-12-14 18:47:14 +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
6f0722c692
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
lassulus
082d628497
clan_cli: flake_name -> flake_dir
2023-11-15 16:23:28 +01:00
Jörg Thalheim
48d7968cf9
move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS
2023-11-10 12:50:51 +01:00
Jörg Thalheim
5d972ed4a4
clan: use .local/share as default for XDG_DATA_HOME
2023-11-09 17:45:24 +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
Qubasa
a628934351
Removing find_git_repo
2023-10-27 19:26:03 +02:00
Qubasa
8e8b6530b0
Fixing test_vms_api test
2023-10-27 19:26:03 +02:00
Qubasa
750b4b6b7e
Fixing test_vms_api test
2023-10-27 19:26:03 +02:00
Qubasa
916fa8e570
All tests passing babyyy !!
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
950808498f
Working test_create_flake
2023-10-27 19:20:17 +02:00
Qubasa
d96ea61243
Secrets tests passing. nix fmt doesn't complain
2023-10-27 19:18:45 +02:00
Qubasa
7bbadaa60f
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
Qubasa
ecdd4949b7
Added new type FlakeName
2023-10-27 19:18:45 +02:00
Qubasa
f976121fa6
Added flake_name:str argument everywhere, nix fmt doesn't complain anymore
2023-10-27 19:15:40 +02:00
DavHau
cc8f99d06c
clan join: test create vm for clan join
...
This adds a vm create test for the `clan join` scenario where:
- there is no local clan to write changes to
- a machine from a remote flake needs to be built and run
- no users and no secrets need to be or can be managed (no flake to write files to)
2023-10-06 19:15:25 +02:00