Commit Graph

1183 Commits

Author SHA1 Message Date
78a50c5d74 clan_vm_manager: Added suffix task to glib task functions 2024-03-03 16:01:08 +07:00
216e5a53d4 clan_vm_manager: Remove superfluous argument to build_vm
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Successful in 2m22s
2024-03-03 15:52:56 +07:00
976b4a2c3a clan_vm_manager: Fix incorrect signal behaviour in GKVStore setitem 2024-03-03 15:47:00 +07:00
c6a2db15a7 clan_vm_manager: Fix dynamic join 2024-03-03 15:47:00 +07:00
6f80cee971 clan_cli: history_add now returns newly added HistoryEntry. clan-vm-manager: Join now uses signals instead of callbacks. 2024-03-03 15:47:00 +07:00
f17cf41093 clan-vm-manager: Fix incorrect use of all Glib.idle_add uses 2024-03-03 15:47:00 +07:00
11bf0b8b9e clan-cli sops: accept bytes
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Successful in 2m46s
2024-03-03 09:25:40 +01:00
3478dea8b2 clan_cli secrets generate: fix type in error msg
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Successful in 2m44s
2024-03-03 08:40:22 +01:00
ed653fa8b9 fix pyproject syntax, ignore E731
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m58s
checks / checks (pull_request) Successful in 2m54s
2024-03-03 06:20:08 +01:00
b8da149453 clan-cli sops: fix super class interface compliance 2024-03-03 06:20:08 +01:00
a23c251b09 clan-cli secrets: actually check if only service needs regeneration 2024-03-03 06:20:08 +01:00
a1dcddf9b4 clan-cli: add interactive secrets/fact generation 2024-03-03 04:06:18 +01:00
4cfd580447 outputs: pass secretsData directly 2024-03-02 11:43:20 +01:00
b1a4b4de96 clan-cli vms run: remove unused vm arg 2024-03-02 11:20:05 +01:00
108a37b0a3 clan-cli machines: cache machines_func via store 2024-03-02 11:20:05 +01:00
9ec66195eb rename lol.clan to org.clan
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m10s
checks / checks (pull_request) Successful in 2m49s
2024-03-01 12:52:05 +01:00
d1e8b1ed96 devShells: one global python devshell + activation via command
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m45s
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
7932517b4a clan_vm_manager: Fix gdb package incompatible with aarch darwin
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m52s
checks / checks (pull_request) Successful in 2m20s
2024-03-01 10:46:35 +07:00
5f1191148e clan_vm_manager: Fix GLib.idle_add rexecuting the VM push multiple times because of missing GLib.SOURCE_REMOVE
Some checks failed
checks / check-links (pull_request) Successful in 23s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Failing after 2m22s
2024-03-01 01:58:03 +07:00
d079bc85a8 clan_vm_manager: Working GKVStore that emulates the ListStore Object 2024-03-01 01:26:45 +07:00
df6683a0bd clan_vm_manager: Add GKVStore to combat O(n2) runtimes. Add pygdb to devshell 2024-02-29 22:46:09 +07:00
e930e14238 writers: fix bug by typo
All checks were successful
checks / check-links (pull_request) Successful in 23s
checks / checks-impure (pull_request) Successful in 1m54s
checks / checks (pull_request) Successful in 2m17s
2024-02-27 22:21:42 +07:00
398a61acbc merge-after-ci: rewrite according to #814
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m58s
checks / checks (pull_request) Successful in 2m23s
2024-02-27 18:32:11 +07:00
45fd64a930 script-writers: add wrapping support (makeWrapperArgs) 2024-02-27 18:20:33 +07:00
31722d9dc0 script-writers: init (copied from nixpkgs) 2024-02-27 18:20:33 +07:00
4d1437b5cc clan-vm-manager: Moved switch from list view to VM object.
All checks were successful
checks / check-links (pull_request) Successful in 23s
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Successful in 2m39s
2024-02-27 03:53:19 +07:00
d12019d290 fix formatting
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m46s
2024-02-26 16:19:30 +07:00
0a8b8713d9 clan-vm-manager: Fix ui state desync on build error. Add build progress bar
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Successful in 2m32s
2024-02-26 01:59:45 +07:00
183c1f4235 clan_vm_manager: Fix qmp shutdown command, bad socket error on retried shutdown
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m58s
2024-02-26 01:18:13 +07:00
27b9c8915b clan_vm_manager: Improve VM start and stop switch. Switch will be disabled while stopping vm
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Successful in 2m57s
2024-02-26 01:04:09 +07:00
52fcc91479 Also commit files when adding machines/users or removing secrets
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m10s
checks / checks (pull_request) Successful in 2m56s
2024-02-22 16:12:11 +01:00
65d2a4e081 secrets: commit when renaming secrets 2024-02-22 15:59:12 +01:00
12ce8238f1 print backup archive ids instead of bare objects
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m9s
checks / checks (pull_request) Successful in 3m6s
2024-02-22 15:26:20 +01:00
a1e2a4f64a secret cli: accept a pattern in secrets list
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m11s
checks / checks (pull_request) Successful in 2m53s
2024-02-22 14:21:53 +01:00
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
b68e39e8fa Merge pull request 'demo script' (#856) from Qubasa-HEAD into main
All checks were successful
checks-impure / test (push) Successful in 1m52s
checks / test (push) Successful in 2m19s
2024-02-16 10:55:02 +00:00
c566872f05 Working demo script
All checks were successful
checks-impure / test (pull_request) Successful in 1m57s
checks / test (pull_request) Successful in 2m19s
2024-02-16 17:51:55 +07:00
446039b02b Working demo script 2024-02-16 17:47:34 +07:00
5a69bbe93e demo script 2024-02-16 17:47:05 +07: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
91c36a33da Fix demo script
All checks were successful
checks-impure / test (pull_request) Successful in 2m0s
checks / test (pull_request) Successful in 2m31s
The `--wayland` cli option is now a module option.
2024-02-13 16:15:36 +01: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
7cfce69504 demo.sh: make relative path configureable
Some checks failed
checks-impure / test (pull_request) Failing after 2m9s
checks / test (pull_request) Successful in 2m41s
2024-02-13 11:45:42 +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
ef6d7cee1a clan_vm_manager: started spinner. not fully working yet 2024-02-13 16:44:09 +07:00
4d1bde083a UI: Improve README 2024-02-13 16:44:09 +07:00
403b874522 clan_vm_manager: --debug enables debug mode in clan_cli too 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
7b48535a98 UI: Added tray icon 2024-02-12 13:43:54 +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
8a9d3d3230 UI: Fixed incorrect display of cLAN icon in window switcher
All checks were successful
checks-impure / test (pull_request) Successful in 1m37s
checks / test (pull_request) Successful in 2m20s
2024-02-08 15:00:36 +07:00
0221e7176b Clan VM Manager: add dropdown to add more machines
All checks were successful
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m18s
2024-02-08 14:36:47 +07:00
0ee4dcd782 UI: Improved Join card display
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m18s
2024-02-08 14:28:34 +07:00
a2ce341995 UI: Fixed style.css not working when installed
All checks were successful
checks-impure / test (pull_request) Successful in 1m38s
checks / test (pull_request) Successful in 2m16s
2024-02-08 14:10:17 +07:00
10578e7611 UI: Added joining multiple clans one after another over clan url
All checks were successful
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m18s
2024-02-07 17:16:20 +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
d20902cef4
Clan VM Manager: init per vm settings handler
All checks were successful
checks-impure / test (pull_request) Successful in 1m37s
checks / test (pull_request) Successful in 2m18s
2024-02-07 15:41:18 +07:00