Commit Graph

1065 Commits

Author SHA1 Message Date
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