Commit Graph

711 Commits

Author SHA1 Message Date
lassulus
8862920b32 clan-cli machines: get flake path via flake metadata 2024-01-29 09:54:30 +01:00
clan-bot
a4b9ce2361 Merge pull request 'Revert "vm-state: fix and improve testing"' (#768) from DavHau-revert into main 2024-01-29 08:20:09 +00:00
DavHau
a429ab5d3c Revert "vm-state: fix and improve testing"
This reverts commit 41c97a5fce.
2024-01-29 15:16:10 +07:00
Qubasa
b10650b77b UI: Display error logs on VM crash. Fixed inspect_vm problem. 2024-01-29 15:11:57 +07:00
Jörg Thalheim
4ed946850f nix-direnv-watch-file -> watch-file 2024-01-29 11:02:43 +07:00
DavHau
41c97a5fce vm-state: fix and improve testing
Also adds qemu qga protocol implementation to execute commands
2024-01-26 19:41:05 +07:00
lassulus
1b9445b71f clan-cli secrets: generate secrets inside bubblewrap 2024-01-24 19:20:07 +01:00
lassulus
b6e67aac60 clan-cli install: use new Machine interface, fix mypy error 2024-01-24 15:49:24 +01:00
lassulus
8ac9ad3133 clan-cli update: use new Machine class interface 2024-01-24 15:49:12 +01:00
lassulus
875d79c57a clan-cli Machine: make deployment info lazy 2024-01-24 15:49:12 +01:00
lassulus
f67e750bbf clan-cli backups: use new machine class for eval 2024-01-24 15:49:12 +01:00
lassulus
96c92a4cc0 test_vm_persistance: substitute clan-core repo 2024-01-24 15:49:12 +01:00
lassulus
bdd1f9be6d machines.Machine: refactor flake_dir -> flake; use Machine class in vm 2024-01-24 15:49:12 +01:00
lassulus
b98e15d6d7 test_vm_persistance: add age keys 2024-01-24 15:49:12 +01:00
lassulus
1d4e533438 move secret stores into clan_cli codebase 2024-01-24 15:49:12 +01:00
lassulus
ed6eb50f7d WIP: clan-cli secrets: add secret_store as python class 2024-01-23 15:04:40 +01:00
Johannes Kirschbauer
b96fdcc178 add join to list 2024-01-20 13:18:43 +01:00
Qubasa
a38f45db0a Remove error from qemu_command 2024-01-19 18:54:54 +01:00
Qubasa
f4ccb09406 UI: Added signal handling for stopped and started vm. 2024-01-19 18:52:51 +01:00
Qubasa
154bdc384f Improved error messages in clan_cli 2024-01-19 14:10:22 +01:00
Qubasa
01a61f778b Wrapped vm.run in cmd.run. Working --wayland 2024-01-19 13:56:17 +01:00
Johannes Kirschbauer
00a03fc502 Gtk4 migration (#693)
Co-authored-by: Qubasa <consulting@qube.email>
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/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
clan-bot
b6a7fd5be1 Merge pull request 'disable state home for now' (#740) from Mic92-main into main 2024-01-17 10:03:48 +00:00
Jörg Thalheim
04ceef6633 use upstream qemu for wayland feature 2024-01-17 11:00:45 +01:00
Qubasa
6d532174d9 URI: Added support for #flake_attr 2024-01-16 17:11:26 +01:00
Qubasa
8da8889b5d CLI: History supports multiple attrs from the same url now. Errors when executing the cli are formatted better 2024-01-16 16:16:12 +01:00
Qubasa
de52a55228 cmd.py refactor part 7 2024-01-12 17:37:59 +01:00
Qubasa
a72477e574 cmd.py refactor part 6 2024-01-12 17:21:48 +01:00
Qubasa
38e2c29f08 cmd.py refactor part 6 2024-01-12 17:02:56 +01:00
Qubasa
6b39ea5592 cmd.py refactor part 5 2024-01-12 16:52:34 +01:00
Qubasa
5730dd8921 Fixed duplicate logging issue with correct logging in ssh and in root logger 2024-01-12 16:46:44 +01:00
Jörg Thalheim
6ef8fd95fa revert logger changes in 6647c38417
This adds another logger to the logger in clan_cli.ssh which we do not want
2024-01-12 14:48:36 +01:00
Jörg Thalheim
a83d7e0afc cmd: add a timeout in select 2024-01-12 00:20:22 +01:00
Qubasa
12896d72ea cmd.py: Fix busy loop. 2024-01-12 00:13:21 +01:00
Qubasa
b4a3be7628 Re-added rlist.remove to counter busy loop 2024-01-12 00:08:15 +01:00
Qubasa
c56e1d1684 cmd.py: Fix deadlock because of incorrect select usage 2024-01-11 23:03:14 +01:00
Qubasa
f087f527cc Removed duplicate logging messages 2024-01-11 22:46:29 +01:00
Qubasa
2c6c4bacce Identified deadlocking funciton 2024-01-11 22:28:35 +01:00
Qubasa
a98463e3b9 Enabled logging DEBUG in pytest 2024-01-11 22:14:55 +01:00
Qubasa
6647c38417 Working test_secrets_generate 2024-01-11 21:48:39 +01:00
Qubasa
038aa769aa cmd.py: Fixing bug: missing output because of forgotten flush() call 2024-01-11 21:11:49 +01:00
Qubasa
3ed58de082 Fixed missing log.BOTH and error_msg at prev refactors 2024-01-11 21:11:49 +01:00
Qubasa
13ba1440bd cmd.py refactor part 4 2024-01-11 21:11:49 +01:00
Jörg Thalheim
163abdb311 schema: set also clanName
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
clan-bot
7ce276c25c Merge pull request 'cmd.py part 3 refactor' (#706) from Qubasa-main into main 2024-01-10 17:57:51 +00:00
Qubasa
25e6f90b01 Improved error message. Fixed incorrect ret code check in git.py 2024-01-10 18:54:34 +01:00
Qubasa
50781d6cf0 Fixed bug, where exception is raised where there shouldn't be raised one 2024-01-10 18:46:54 +01:00
Qubasa
513f48bab1 cmd.py part 3 refactor 2024-01-10 18:39:19 +01:00
clan-bot
726ba6147f Merge pull request 'Added ClanCmdError. cmd.run now returns this error' (#704) from Qubasa-main into main 2024-01-10 17:02:08 +00:00
Qubasa
cbc4c966f1 Added ClanCmdError. cmd.run now returns this error 2024-01-10 17:58:39 +01:00