Commit Graph

1316 Commits

Author SHA1 Message Date
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
a1a433b654 Merge pull request 'clan_manager: UI is now a singelton.' (#822) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m34s
checks / test (push) Successful in 2m17s
2024-02-07 05:06:11 +00:00
869c01bf95 clan_manager: UI is now a singelton.
All checks were successful
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m17s
2024-02-07 12:03:12 +07:00
b780754621 clan-cli: add simple flash command 2024-02-07 05:26:01 +01:00
6fe6229498 add requireExplicitUpdate option for mobile devices
All checks were successful
checks-impure / test (pull_request) Successful in 1m46s
checks / test (pull_request) Successful in 3m1s
2024-02-06 17:55:34 +01:00
be3a75bbd7 add support for build machines 2024-02-06 17:21:42 +01:00
2315dba2a9 rename machine.host to machine.target_host 2024-02-06 17:21:42 +01:00
6e57122da8 rename target_host to target_host_address 2024-02-06 17:21:42 +01:00
301a6b6a23 machines/update: get flake_attr from machine class 2024-02-06 17:21:42 +01:00
a2f0d077c8 remove unused ssh.run method 2024-02-06 15:47:32 +01:00
c66c25aeb7 machines: don't ignore errors when parsing secretsData json
All checks were successful
checks-impure / test (pull_request) Successful in 1m46s
checks / test (pull_request) Successful in 2m44s
2024-02-06 15:15:21 +01:00
91f26a4743 skip machines without target_host when running clan machines update
All checks were successful
checks-impure / test (pull_request) Successful in 1m45s
checks / test (pull_request) Successful in 2m57s
2024-02-06 15:04:19 +01:00
ad1a87fc14 move checks if targetHost/buildHost is set to cli
All checks were successful
checks-impure / test (pull_request) Successful in 1m39s
checks / test (pull_request) Successful in 2m45s
2024-02-06 14:51:44 +01:00
ab05cfde30 clan_manager: Implemented machine_icon, machine_description
All checks were successful
checks-impure / test (pull_request) Successful in 1m39s
checks / test (pull_request) Successful in 2m41s
2024-02-06 20:13:18 +07:00
21443d0647 cli,nix: Add machine_icon, machine_description
All checks were successful
checks-impure / test (pull_request) Successful in 1m48s
checks / test (pull_request) Successful in 3m0s
2024-02-06 19:25:34 +07:00
6a62018f1d Merge pull request 'build-clan: Removed unecessary arg, machineDescription and machineIcon' (#810) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m35s
checks / test (push) Successful in 2m20s
2024-02-05 09:58:58 +00:00
4421797f30 build-clan: Removed unecessary arg, machineDescription and machineIcon
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m17s
2024-02-05 16:56:13 +07:00
815527ec2b clan-cli secrets: commit facts/secrets after generating them
All checks were successful
checks-impure / test (pull_request) Successful in 1m46s
checks / test (pull_request) Successful in 2m51s
2024-02-05 10:03:10 +01:00
e265537f69 clan-cli secrets: remove debug output 2024-02-05 10:03:10 +01:00
8114cebaa4 clan-cli git: add commit_files function 2024-02-05 10:03:10 +01:00
fd44eeb384 vm_manager: Fixed uri join and then vm start not working
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m16s
2024-02-05 15:57:14 +07:00
c52c83002c
async join
All checks were successful
checks-impure / test (pull_request) Successful in 1m36s
checks / test (pull_request) Successful in 2m17s
2024-02-05 15:05:14 +07:00
b3815527a5 Added machineIcon and machineDescription to buildClan
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m17s
2024-02-05 14:18:40 +07:00
33a10f76c0 UI: Fixed multiple connects to signal 2024-02-05 13:37:35 +07:00
31188648f0 clan-cli update: remove legacy argument
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m44s
2024-02-03 07:53:15 +01:00
6a62065cdf clan-cli update: upload only local paths from localhost 2024-02-03 07:53:15 +01:00
315cdea6ce clan-cli machines: remove debug prints
All checks were successful
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 2m39s
2024-02-02 17:40:19 +01:00
605b03bb91 clan-cli password-store: remove debug print 2024-02-02 17:40:19 +01:00
bcdde990ff clan-cli secrets: add check command 2024-02-02 17:40:19 +01:00
3538cf2e46 rename deployment address to target address
All checks were successful
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m43s
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
7daca31db7 Merge pull request 'Starting to implement logs' (#796) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m35s
checks / test (push) Successful in 2m42s
2024-02-02 05:07:39 +00:00
16562946fe vm-manager: Added log console printing on vm start. Added python logging module
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m41s
2024-02-02 12:04:30 +07:00
789f3132c5 Merge pull request 'multi join via cli' (#795) from hsjobeki-main into main
All checks were successful
checks-impure / test (push) Successful in 1m33s
checks / test (push) Successful in 2m42s
2024-02-02 04:01:49 +00:00
e57169cb29
multi join via cli
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m43s
2024-02-02 10:58:28 +07:00
b4c6092cc0 halalify zerotierone
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m16s
2024-02-01 15:44:13 +01:00
56b6907740 qemu: init python modules for qmp and qga
All checks were successful
checks-impure / test (pull_request) Successful in 1m52s
checks / test (pull_request) Successful in 2m53s
2024-02-01 12:32:21 +07:00
14917b7d56 Starting to implement logs 2024-02-01 10:21:58 +07:00
533012af7d vms: rename wayland attrs to waypipe
All checks were successful
checks / test (pull_request) Successful in 1m2s
checks-impure / test (pull_request) Successful in 1m34s
And remove the options from the cli interface.
2024-02-01 10:14:36 +07:00
f89c9b00dd vms: wayland attr specified in configuration
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m43s
2024-02-01 09:00:43 +07:00
c1bc1c942a
group clans by url
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m18s
2024-01-31 11:20:35 +07:00
59fa63eba9 Reapply "vm-state: fix and improve testing"
All checks were successful
checks-impure / test (pull_request) Successful in 1m39s
checks / test (pull_request) Successful in 2m40s
This reverts commit 99092f6e76.

vm-state: revert sysusers, improve testing

zerotier: enable persistence

vm-state: cleanup tests
2024-01-31 11:02:16 +07:00
961eb26335 secrets modules: pass secrets as bytes
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m17s
2024-01-30 12:11:05 +01:00
0dbfe52d62 secrets: add sandbox user 2024-01-30 12:11:05 +01:00
649e345585 Machine __str__ impl
All checks were successful
checks-impure / test (pull_request) Successful in 1m24s
checks / test (pull_request) Successful in 2m37s
2024-01-30 15:32:35 +07:00
a3207f7011 UI: Fixed toggle button color on second time not changing
All checks were successful
checks-impure / test (pull_request) Successful in 1m23s
checks / test (pull_request) Successful in 2m16s
2024-01-30 15:02:05 +07:00
45e8917679 Added demo.sh to prepare demo environment 2024-01-30 14:42:22 +07:00
c00e5b3df3 Demo version
All checks were successful
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m18s
2024-01-30 14:02:52 +07:00
52f5c890cc URI: Fixed removed url fragment
All checks were successful
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m41s
2024-01-30 13:28:12 +07:00
a50d0f1743 CLI: Added grouping output for clan history list.
All checks were successful
checks-impure / test (pull_request) Successful in 1m23s
checks / test (pull_request) Successful in 2m38s
2024-01-30 12:39:52 +07:00
119a05d999 Fixed clan uri. Expand user, then resolve
All checks were successful
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m39s
2024-01-30 12:17:24 +07:00
c417157941 clan-cli: implement waypipe backend
All checks were successful
checks-impure / test (pull_request) Successful in 1m23s
checks / test (pull_request) Successful in 2m41s
2024-01-30 10:37:52 +07:00
9fef40258a cmd: skip print for zero-length bufs 2024-01-30 10:30:25 +07:00
a3d92a766e clan-cli: drop unused variables 2024-01-30 10:30:25 +07:00
80a335eb4c drop unused unfree_nixpkgs function 2024-01-30 10:30:25 +07:00
0366147235 clan-cli machines: get flake path via flake metadata
All checks were successful
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m39s
2024-01-29 09:54:30 +01:00
6b9f8b851e Merge pull request 'Revert "vm-state: fix and improve testing"' (#768) from DavHau-revert into main
All checks were successful
checks-impure / test (push) Successful in 1m21s
checks / test (push) Successful in 2m41s
2024-01-29 08:20:09 +00:00
99092f6e76 Revert "vm-state: fix and improve testing"
All checks were successful
checks-impure / test (pull_request) Successful in 1m37s
checks / test (pull_request) Successful in 3m23s
This reverts commit 6adc68a354.
2024-01-29 15:16:10 +07:00
549a5800a5 Merge pull request 'Secret mgmt problem' (#767) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m40s
checks / test (push) Successful in 2m25s
2024-01-29 08:15:44 +00:00
f6c811e531 UI: Display error logs on VM crash. Fixed inspect_vm problem.
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m41s
2024-01-29 15:11:57 +07:00
155a1ee98c Secret mgmt problem 2024-01-29 14:00:38 +07:00
dc4634b8eb package vsock-enabled waypipe
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m20s
2024-01-29 11:48:08 +07:00
4a84d7da97 nix-direnv-watch-file -> watch-file
All checks were successful
checks-impure / test (pull_request) Successful in 1m26s
checks / test (pull_request) Successful in 2m47s
2024-01-29 11:02:43 +07:00
6adc68a354 vm-state: fix and improve testing
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 3m6s
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m27s
Also adds qemu qga protocol implementation to execute commands
2024-01-26 19:41:05 +07:00
3afed7a563 clan-cli secrets: generate secrets inside bubblewrap
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m46s
2024-01-24 19:20:07 +01:00
abaa218e27 clan-cli install: use new Machine interface, fix mypy error
All checks were successful
checks-impure / test (pull_request) Successful in 1m18s
checks / test (pull_request) Successful in 2m38s
2024-01-24 15:49:24 +01:00
6ba641c974 clan-cli update: use new Machine class interface 2024-01-24 15:49:12 +01:00
e1237499d0 clan-cli Machine: make deployment info lazy 2024-01-24 15:49:12 +01:00
3284224440 clan-cli backups: use new machine class for eval 2024-01-24 15:49:12 +01:00
9cf670ee29 test_vm_persistance: substitute clan-core repo 2024-01-24 15:49:12 +01:00
6b004fca6f machines.Machine: refactor flake_dir -> flake; use Machine class in vm 2024-01-24 15:49:12 +01:00
de885c3010 test_vm_persistance: add age keys 2024-01-24 15:49:12 +01:00
aee0ee4d5e move secret stores into clan_cli codebase 2024-01-24 15:49:12 +01:00
09887037f5 WIP: clan-cli secrets: add secret_store as python class 2024-01-23 15:04:40 +01:00
6b00957d38
prepare details view
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m2s
2024-01-21 12:46:04 +01:00
035a9f2358
add search bar
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m36s
2024-01-21 12:13:15 +01:00
7ac0292cdd
display id as subtitle
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m24s
2024-01-20 14:51:37 +01:00
d0b075c217
add join to list
All checks were successful
checks-impure / test (pull_request) Successful in 1m23s
checks / test (pull_request) Successful in 2m20s
2024-01-20 13:18:43 +01:00
cd2125074f
organize files and classes consistently
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m31s
2024-01-20 10:12:37 +01:00
70cf75830d Remove error from qemu_command
All checks were successful
checks-impure / test (pull_request) Successful in 1m21s
checks / test (pull_request) Successful in 2m39s
2024-01-19 18:54:54 +01:00
d956dbeb77 UI: Added signal handling for stopped and started vm.
Some checks failed
checks-impure / test (pull_request) Failing after 1m4s
checks / test (pull_request) Successful in 2m39s
2024-01-19 18:52:51 +01:00
2da236b362 Improved error messages in clan_cli
All checks were successful
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 2m50s
2024-01-19 14:10:22 +01:00
60c4d231f8 Wrapped vm.run in cmd.run. Working --wayland
All checks were successful
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m48s
2024-01-19 13:56:17 +01:00
2d613e3933 Gtk4 migration (#693)
All checks were successful
checks / test (push) Successful in 30s
checks-impure / test (push) Successful in 1m18s
Co-authored-by: Qubasa <consulting@qube.email>
Reviewed-on: #693
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com>
Co-committed-by: Johannes Kirschbauer <hsjobeki@gmail.com>
2024-01-17 12:11:49 +00:00
bd5ad0dc31 Merge pull request 'disable state home for now' (#740) from Mic92-main into main
All checks were successful
checks-impure / test (push) Successful in 1m21s
checks / test (push) Successful in 2m39s
2024-01-17 10:03:48 +00:00
1d2f003210 use upstream qemu for wayland feature
All checks were successful
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m43s
2024-01-17 11:00:45 +01:00
f1acc44488 URI: Added support for #flake_attr
All checks were successful
checks-impure / test (pull_request) Successful in 1m26s
checks / test (pull_request) Successful in 2m50s
2024-01-16 17:11:26 +01:00
d20f47ad5b CLI: History supports multiple attrs from the same url now. Errors when executing the cli are formatted better
All checks were successful
checks-impure / test (pull_request) Successful in 1m30s
checks / test (pull_request) Successful in 2m26s
2024-01-16 16:16:12 +01:00
abfa2f218c cmd.py refactor part 7
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m53s
2024-01-12 17:37:59 +01:00
0c1d4a1d41 cmd.py refactor part 6
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m49s
2024-01-12 17:21:48 +01:00
1a6983e031 cmd.py refactor part 6 2024-01-12 17:02:56 +01:00
ca5cc389ac cmd.py refactor part 5
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m49s
2024-01-12 16:52:34 +01:00
2c2e4862ba Fixed duplicate logging issue with correct logging in ssh and in root logger
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m47s
2024-01-12 16:46:44 +01:00
47f4ef2c31 revert logger changes in f7c6ab5888
All checks were successful
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 29s
This adds another logger to the logger in clan_cli.ssh which we do not want
2024-01-12 14:48:36 +01:00
e1729a0991 zt-tcp-relay: init at 2023-07-11
All checks were successful
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m36s
2024-01-12 13:49:36 +01:00
c86e465e35 drop qemu-rutabaga patches
All checks were successful
checks-impure / test (pull_request) Successful in 1m44s
checks / test (pull_request) Successful in 6m17s
2024-01-12 12:20:29 +01:00
796ef76893 cmd: add a timeout in select
All checks were successful
checks-impure / test (pull_request) Successful in 1m23s
checks / test (pull_request) Successful in 2m42s
2024-01-12 00:20:22 +01:00
05aaa180e0 cmd.py: Fix busy loop.
All checks were successful
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 3m3s
2024-01-12 00:13:21 +01:00
1d489438bd Re-added rlist.remove to counter busy loop 2024-01-12 00:08:15 +01:00
0941367bb3 cmd.py: Fix deadlock because of incorrect select usage
All checks were successful
checks-impure / test (pull_request) Successful in 1m20s
checks / test (pull_request) Successful in 2m53s
2024-01-11 23:03:14 +01:00
3351f87a7f Removed duplicate logging messages
All checks were successful
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m52s
2024-01-11 22:46:29 +01:00
d1ca0eaf80 Identified deadlocking funciton
All checks were successful
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m54s
2024-01-11 22:28:35 +01:00
4d4c09da80 Enabled logging DEBUG in pytest 2024-01-11 22:14:55 +01:00
f7c6ab5888 Working test_secrets_generate
Some checks failed
checks / test (pull_request) Successful in 2m49s
checks-impure / test (pull_request) Has been cancelled
2024-01-11 21:48:39 +01:00
16b043f508 cmd.py: Fixing bug: missing output because of forgotten flush() call 2024-01-11 21:11:49 +01:00
0133ccd5f7 Fixed missing log.BOTH and error_msg at prev refactors 2024-01-11 21:11:49 +01:00
2ae439ec52 cmd.py refactor part 4 2024-01-11 21:11:49 +01:00
0d9f0c3ec1 Merge pull request 'make zerotier name configureable' (#711) from Mic92-zerotier into main
All checks were successful
checks-impure / test (push) Successful in 1m18s
checks / test (push) Successful in 2m27s
2024-01-11 17:05:54 +00:00
f6b6229f78 schema: set also clanName
Some checks failed
checks-impure / test (pull_request) Successful in 1m18s
checks / test (pull_request) Failing after 2m49s
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
2b75cc4744 zerotier-members: add ipv6 to list display
All checks were successful
checks-impure / test (pull_request) Successful in 1m29s
checks / test (pull_request) Successful in 2m38s
2024-01-11 15:46:26 +01:00
93fa4e397b Merge pull request 'cmd.py part 3 refactor' (#706) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m19s
checks / test (push) Successful in 2m49s
2024-01-10 17:57:51 +00:00
359275eee7 Improved error message. Fixed incorrect ret code check in git.py
All checks were successful
checks-impure / test (pull_request) Successful in 1m18s
checks / test (pull_request) Successful in 2m50s
2024-01-10 18:54:34 +01:00
64846eb395 Fixed bug, where exception is raised where there shouldn't be raised one 2024-01-10 18:46:54 +01:00
b36d0be524 cmd.py part 3 refactor
Some checks failed
checks-impure / test (pull_request) Failing after 1m25s
checks / test (pull_request) Failing after 3m8s
2024-01-10 18:39:19 +01:00
46da9eb5db Merge pull request 'Added ClanCmdError. cmd.run now returns this error' (#704) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m18s
checks / test (push) Successful in 2m50s
2024-01-10 17:02:08 +00:00
699515ca89 Added ClanCmdError. cmd.run now returns this error
All checks were successful
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 3m3s
2024-01-10 17:58:39 +01:00
f34df3df02 Merge pull request 'Refactor subprocess to cmd.py part 2' (#685) from Qubasa-main into main
All checks were successful
checks-impure / test (push) Successful in 1m19s
checks / test (push) Successful in 2m50s
2024-01-10 16:34:38 +00:00
626e5558f3 Fix cmd to default print on all outputs. Default print on stderr
All checks were successful
checks-impure / test (pull_request) Successful in 1m17s
checks / test (pull_request) Successful in 2m51s
2024-01-10 17:31:11 +01:00
c41bc10325 nix fmt
Some checks failed
checks-impure / test (pull_request) Failing after 1m19s
checks / test (pull_request) Successful in 2m50s
2024-01-10 17:19:33 +01:00
54f2eba1cc nix fmt 2024-01-10 17:19:12 +01:00
40beda884c Updated cmd.py with Mic92 changes to fit previous changes 2024-01-10 17:18:21 +01:00
eeac4902ab re-anble pulseaudio in qemu
All checks were successful
checks-impure / test (pull_request) Successful in 1m36s
checks / test (pull_request) Successful in 3m0s
2024-01-10 15:32:37 +01:00
ba05589af2 Refactor subprocess to cmd.py part 2
Some checks failed
checks-impure / test (pull_request) Failing after 16s
checks / test (pull_request) Failing after 40s
2024-01-10 12:11:29 +01:00
26e9463248 Merge pull request 'cmd: rework redirecting stdout/stderr' (#700) from Mic92-wayland-update into main
All checks were successful
checks-impure / test (push) Successful in 1m19s
checks / test (push) Successful in 2m36s
2024-01-09 16:39:19 +00:00
fa00bb522b cmd: rework redirecting stdout/stderr
All checks were successful
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 2m40s
2024-01-09 17:34:43 +01:00
520ff0b334 VMs: ensure state dirs don't collide between clans
All checks were successful
checks-impure / test (pull_request) Successful in 1m20s
checks / test (pull_request) Successful in 2m37s
2024-01-09 17:22:48 +07:00
17390fc392 VMs: port vm_persistence test to python
All checks were successful
checks-impure / test (pull_request) Successful in 1m21s
checks / test (pull_request) Successful in 2m40s
2024-01-09 14:47:33 +07:00
c73818c1a5 zerotier-members: print authorized state on list
All checks were successful
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m25s
2024-01-08 22:28:13 +01:00
c29e0086a4 VMs: persist state folders on host
All checks were successful
checks-impure / test (pull_request) Successful in 1m24s
checks / test (pull_request) Successful in 2m40s
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders

TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00
a5137efd48 move selected_vm to the ClanListToolbar constructor
All checks were successful
checks-impure / test (pull_request) Successful in 1m20s
checks / test (pull_request) Successful in 2m10s
2024-01-04 18:50:21 +01:00
c7fda31ab3 Update start/stop button based on VM state
All checks were successful
checks-impure / test (pull_request) Successful in 1m4s
checks / test (pull_request) Successful in 2m16s
2024-01-04 18:47:52 +01:00
738aaa3b5d executor: simplify running_procs 2024-01-04 18:42:13 +01:00
6a75ea56fd clan-vm-manager: make joining clan url more logical
All checks were successful
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 1m45s
The icon is confusing. It distracts from the actual "Join" label. Also when a user
copy in an URL we can assume they trust the content, which might be not the case
when they just clicked on an URL.
2024-01-04 17:08:01 +01:00
093566aa42 clan-vm-manager: rename "New" to "Join Clan" 2024-01-04 16:50:19 +01:00
d18c2063c3 clan-vm-manager: rename "Online" to "Status"
online means connected to some network, which is not what this field shows.
2024-01-04 16:49:21 +01:00
f9dd2e0926 strip whitespace from clan uris
All checks were successful
checks-impure / test (pull_request) Successful in 1m8s
checks / test (pull_request) Successful in 2m44s
2024-01-04 16:30:26 +01:00
7f21e99736 update nix-direnv
All checks were successful
checks-impure / test (pull_request) Successful in 1m5s
checks / test (pull_request) Successful in 2m18s
2024-01-04 16:24:26 +01:00
ae00b3ae65 Fix broken executor.py
All checks were successful
checks / test (pull_request) Successful in 2m13s
checks-impure / test (pull_request) Successful in 59s
2024-01-03 13:26:25 +01:00
e4a7f68b0e Fixed cmd.py writing to stderr
All checks were successful
checks-impure / test (pull_request) Successful in 1m7s
checks / test (pull_request) Successful in 2m42s
2024-01-02 17:21:06 +01:00
3f55c688d9 Refactor subprocess to cmd.py part 1. Fixed clan_uri test. 2024-01-02 17:21:06 +01:00
69d08241e9 delete unecessary f.truncate 2024-01-02 17:21:06 +01:00
ef827af89c Fixed unsafe dirs.py urlquoting, improved cmd.py run func 2024-01-02 17:21:06 +01:00
7c5ed85231 clan_uri: Support all other formats by just differentiating between remote and local 2024-01-02 17:21:05 +01:00
d0b165b311 only set process title on Linux
All checks were successful
checks-impure / test (pull_request) Successful in 1m8s
checks / test (pull_request) Successful in 1m20s
the systemcall is not portable
2024-01-02 15:44:28 +01:00
c609d84273 Executor: drop unused in_file 2024-01-02 15:44:28 +01:00
0ecfaa96cf drop references to debug.py
All checks were successful
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 1m43s
2024-01-02 15:22:36 +01:00
0676d93e4b
rebase
All checks were successful
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 2m34s
2024-01-02 10:02:25 +01:00
e7bd86a9d5 dirs.py: remove outdated comment
All checks were successful
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 2m48s
2024-01-02 14:25:37 +07:00
7be42146e7 vm-manager: Added right click context menu
All checks were successful
checks-impure / test (pull_request) Successful in 1m13s
checks / test (pull_request) Successful in 2m42s
2024-01-02 07:24:30 +01:00
01977b2e2a vm-manager: More error handling 2024-01-02 06:23:55 +01:00
c157ecb161 Added show_error_dialogue on exception
All checks were successful
checks-impure / test (pull_request) Successful in 1m9s
checks / test (pull_request) Successful in 2m27s
2024-01-02 05:54:19 +01:00
9ec1d594e7 Removed unecessary debug.py and test code
All checks were successful
checks / test (pull_request) Successful in 28s
checks-impure / test (pull_request) Successful in 1m1s
2024-01-01 18:58:12 +01:00
42235e39be Added settings attribute to history file
All checks were successful
checks-impure / test (pull_request) Successful in 1m13s
checks / test (pull_request) Successful in 2m51s
2024-01-01 18:24:40 +01:00
7069d746ad Added write and read history file functions 2023-12-31 15:17:12 +01:00
e0bba046ea history: added vm config to FlakeConfig 2023-12-31 14:56:03 +01:00
f1642c6c71 vm-manager: Fixed quit application not working bug
All checks were successful
checks-impure / test (pull_request) Successful in 1m11s
checks / test (pull_request) Successful in 2m43s
2023-12-31 14:13:11 +01:00
33afa04b38 cli: fixed run vm not working with url
All checks were successful
checks-impure / test (pull_request) Successful in 1m11s
checks / test (pull_request) Successful in 2m47s
2023-12-31 13:56:55 +01:00
fcadaca010 cli: Switched b64 encoding of gcroot names to urlparse
All checks were successful
checks-impure / test (pull_request) Successful in 1m11s
checks / test (pull_request) Successful in 2m49s
2023-12-31 13:51:13 +01:00
c4799f1e9a Added gcroot for clan Icon and VM
All checks were successful
checks-impure / test (pull_request) Successful in 1m12s
checks / test (pull_request) Successful in 2m52s
2023-12-31 00:49:57 +01:00
330ef00a7c Removed python deal.
All checks were successful
checks-impure / test (pull_request) Successful in 1m17s
checks / test (pull_request) Successful in 2m48s
2023-12-30 23:10:43 +01:00
36e7488da1
prepare flash usb window
All checks were successful
checks-impure / test (pull_request) Successful in 1m14s
checks / test (pull_request) Successful in 2m32s
2023-12-30 11:14:45 +01:00
d39d3a9a45
error handling. add: dialog
All checks were successful
checks-impure / test (pull_request) Successful in 1m15s
checks / test (pull_request) Successful in 2m28s
2023-12-30 10:43:03 +01:00
f5b578d0c7
error handling. add: dialog 2023-12-30 10:41:33 +01:00
968adf24b2
new clan; Join page with none as initial value
All checks were successful
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Successful in 2m32s
2023-12-28 14:30:58 +01:00
cb06353451 pytest: Removed -s flag for CI
All checks were successful
checks-impure / test (pull_request) Successful in 1m3s
checks / test (pull_request) Successful in 2m39s
2023-12-26 18:20:41 +01:00
ca265b0c59 UI: Added process executor. Display vm status correctly in list. | CLI: Added get_qemu_version(), fixed virtio audio bug.
Some checks failed
checks-impure / test (pull_request) Successful in 1m16s
checks / test (pull_request) Failing after 2m46s
2023-12-26 18:02:43 +01:00
ed643e3829 cli/install: add option to specify alternative kexec url
All checks were successful
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 3m2s
2023-12-26 14:36:51 +01:00
55f91079c7 rutabaga_gfx_ffi: unstable-2023-12-05 -> unstable-2023-12-20
All checks were successful
checks-impure / test (pull_request) Successful in 1m6s
checks / test (pull_request) Successful in 5m12s
2023-12-21 15:46:31 +01:00
b6ecb0b2e2 gfxstream: unstable-2023-12-11 -> unstable-2023-12-19 2023-12-21 15:41:57 +01:00