Commit Graph

800 Commits

Author SHA1 Message Date
0aa876a06c Merge pull request 'clan-cli: remove unused flag' (#867) from Mic92-fix-cross-system into main
All checks were successful
checks-impure / test (push) Successful in 1m53s
checks / test (push) Successful in 2m45s
2024-02-21 10:19:26 +00:00
457e45d989 clan-cli: remove unused flag
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m20s
2024-02-21 10:55:53 +01:00
6c17fa648f clan_cli: Add exception handling in logger
All checks were successful
checks-impure / test (pull_request) Successful in 1m53s
checks / test (pull_request) Successful in 2m51s
2024-02-21 16:20:01 +07:00
51b087f7ae clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages
Some checks failed
checks / test (pull_request) Failing after 1m8s
checks-impure / test (pull_request) Failing after 10m22s
2024-02-21 16:16:58 +07:00
ff3a1dc928 Merge pull request 'secret_store: drop update_check and generate_hash as abstract methods' (#863) from Mic92-target_host into main
All checks were successful
checks-impure / test (push) Successful in 1m55s
checks / test (push) Successful in 2m42s
2024-02-20 18:01:51 +00:00
3695a5adf2 disable vgpu on non-nixos systems
All checks were successful
checks-impure / test (pull_request) Successful in 1m56s
checks / test (pull_request) Successful in 2m47s
2024-02-20 18:58:38 +01:00
4d404cfc50 secret_store: drop update_check and generate_hash as abstract methods
Only password implements those just now
2024-02-20 18:58:38 +01:00
7091b09fa7 Merge pull request 'secrets: add git support when updating secrets' (#862) from Mic92-target_host into main
All checks were successful
checks-impure / test (push) Successful in 1m55s
checks / test (push) Successful in 2m47s
2024-02-20 11:45:13 +00:00
77c84e7471 secrets: add git support when updating secrets
All checks were successful
checks-impure / test (pull_request) Successful in 2m11s
checks / test (pull_request) Successful in 3m5s
2024-02-20 12:41:52 +01:00
3b975ed993 clan-cli SecretStore: remove generate_hash from base class
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m43s
2024-02-20 11:48:13 +01:00
36baec8d48 clan-cli SecretStore: implement update_check in base class 2024-02-20 11:47:53 +01:00
eb8d5167e7 Merge pull request 'sops: unbreak edit flags' (#860) from Mic92-target_host into main
All checks were successful
checks-impure / test (push) Successful in 1m55s
checks / test (push) Successful in 2m43s
2024-02-20 10:18:17 +00:00
b358089488 sops: unbreak edit flags
All checks were successful
checks-impure / test (pull_request) Successful in 1m56s
checks / test (pull_request) Successful in 2m49s
2024-02-20 11:07:00 +01:00
36b20f18d4 Merge pull request 'add option to set defaultGroups for secrets' (#858) from Mic92-target_host into main
All checks were successful
checks-impure / test (push) Successful in 1m54s
checks / test (push) Successful in 2m46s
2024-02-16 16:29:28 +00:00
52c6ad548d improve error message if group does not exists
All checks were successful
checks-impure / test (pull_request) Successful in 1m52s
checks / test (pull_request) Successful in 2m43s
2024-02-16 17:26:20 +01:00
57e9b27ff8 add option to set defaultGroups for secrets 2024-02-16 17:26:20 +01:00
661004972b Merge pull request 'make secrets stores inherit from an interface' (#857) from Mic92-target_host into main
All checks were successful
checks-impure / test (push) Successful in 1m56s
checks / test (push) Successful in 2m47s
2024-02-16 14:00:20 +00:00
714f3b0378 upload_secrets: call update_check directly without introspection
All checks were successful
checks-impure / test (pull_request) Successful in 1m59s
checks / test (pull_request) Successful in 2m49s
2024-02-16 14:57:01 +01:00
87f301122e split of generate_secrets method into smaller functions
All checks were successful
checks-impure / test (pull_request) Successful in 2m19s
checks / test (pull_request) Successful in 3m16s
2024-02-16 14:48:46 +01:00
53d658a3c0 make facts stores inherit from an interface 2024-02-16 14:47:39 +01:00
9257f140ba make secrets stores inherit from an interface 2024-02-16 14:47:28 +01:00
a715364338 Merge pull request 'clan-vm-manager: Added clan icon to trayicon' (#855) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m55s
checks / test (push) Successful in 2m45s
2024-02-16 09:14:08 +00:00
280bee0861 clan-vm-manager: Fixing vm starting.
All checks were successful
checks-impure / test (pull_request) Successful in 2m7s
checks / test (pull_request) Successful in 2m53s
2024-02-16 16:10:49 +07:00
81545766a0 update comments about virtio-gpu
All checks were successful
checks-impure / test (pull_request) Successful in 2m9s
checks / test (pull_request) Successful in 2m59s
2024-02-16 09:52:13 +01:00
4f7f34f9b4 clan-vm-manager: Added clan icon to trayicon 2024-02-16 12:25:06 +07:00
0200016dd2 vms: move qemu_command to its own module
All checks were successful
checks-impure / test (pull_request) Successful in 2m7s
checks / test (pull_request) Successful in 3m16s
2024-02-15 17:25:24 +01:00
8e780b2a8c vms: drop unused xchdir
All checks were successful
checks-impure / test (pull_request) Successful in 2m10s
checks / test (pull_request) Successful in 3m5s
2024-02-15 17:19:43 +01:00
a399cbb8d9 vms: move virtiofsd/waypipe into their own modules 2024-02-15 17:19:31 +01:00
4943c33307 add file prefix for nix 2.19 or newer
All checks were successful
checks-impure / test (pull_request) Successful in 1m55s
checks / test (pull_request) Successful in 2m45s
2024-02-15 12:24:18 +01:00
6871b29d15 vms: use vm fact/secret-store
All checks were successful
checks-impure / test (pull_request) Successful in 1m56s
checks / test (pull_request) Successful in 2m17s
2024-02-15 10:41:25 +01:00
98139ac48d add factsStore modules 2024-02-15 10:41:25 +01:00
1cc6e74297 Merge pull request 'clan_vm_manager: --debug enables debug mode in clan_cli too' (#840) from Qubasa-add_spinner into main
All checks were successful
checks-impure / test (push) Successful in 1m43s
checks / test (push) Successful in 2m46s
2024-02-14 08:43:14 +00:00
30850eef22 clan_cli: Added longer timeout for test
All checks were successful
checks-impure / test (pull_request) Successful in 1m43s
checks / test (pull_request) Successful in 2m45s
2024-02-14 15:40:03 +07:00
952f976ea7 fix virtiofsd in CIs
All checks were successful
checks-impure / test (pull_request) Successful in 1m41s
checks / test (pull_request) Successful in 2m40s
2024-02-13 13:57:52 +01:00
b15c21f800 drop check for /var/lib/nixos 2024-02-13 12:44:22 +01:00
8f98f0e8b7 also use qcow2 for volatile state 2024-02-13 11:45:42 +01:00
3bf94ab0fc use virtio-console instead of serial for vm 2024-02-13 11:45:42 +01:00
11ac50c17b format rootfs in vm itself 2024-02-13 11:45:42 +01:00
07caab537f drop unused mounts 2024-02-13 11:45:42 +01:00
7f8ba25a5b qemu: disable sea-bios and option rom 2024-02-13 11:45:42 +01:00
ef202a8150 switch to sops-nix experimental branch 2024-02-13 11:45:23 +01:00
d6b3e03d70 vms: integrate virtiofsd 2024-02-13 11:44:17 +01:00
03b9183e04 clan_cli: Added lazy qmp 2024-02-13 16:44:09 +07:00
92ec3fb9f9 test_vms_cli: Trying new way of testing 2024-02-13 16:44:09 +07:00
87dbc99cab clan_cli: Made qmp implementation lazy 2024-02-13 16:44:09 +07:00
7d301b7e3c update flake lock
Some checks failed
checks-impure / test (pull_request) Successful in 1m42s
checks / test (pull_request) Failing after 29s
2024-02-12 14:52:01 +07:00
0ce8bcd018 clan_vm_manager: Added VM shutdown timeout
All checks were successful
checks-impure / test (pull_request) Successful in 1m42s
checks / test (pull_request) Successful in 2m48s
2024-02-12 14:16:44 +07:00
eebd9d0b4a allow passing of extra_config into machines
All checks were successful
checks-impure / test (pull_request) Successful in 1m40s
checks / test (pull_request) Successful in 2m41s
2024-02-11 08:40:41 +01:00
02dd132e08 vms: init graceful shutdown for GUI
All checks were successful
checks-impure / test (pull_request) Successful in 1m43s
checks / test (pull_request) Successful in 2m44s
- 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
030cbd24ce
Clan VM Manager: detect if clan exists
All checks were successful
checks-impure / test (pull_request) Successful in 1m48s
checks / test (pull_request) Successful in 2m52s
2024-02-07 16:08:48 +07:00