2ae50b7398
allow to override nix options in update/install/flash commands
2024-05-29 10:14:14 +02:00
eee99730d1
clan: add run_no_stdout
function suppressing stdout
...
buildbot/nix-build .#checks.x86_64-linux.package-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.treefmt Build done.
buildbot/nix-build .#checks.x86_64-linux.package-moonlight-sunshine-accept Build done.
buildbot/nix-build .#checks.x86_64-linux.package-impure-checks Build done.
buildbot/nix-build .#checks.x86_64-linux.package-pending-reviews Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-vm-manager-pytest Build done.
buildbot/nix-build .#checks.x86_64-linux.package-tea-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotier-members Build done.
buildbot/nix-build .#checks.x86_64-linux.package-wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotierone Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-test_install_machine Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-flash-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.package-function-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.secrets Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.devShell-clan-vm-manager Build done.
buildbot/nix-build .#checks.x86_64-linux.syncthing Build done.
buildbot/nix-build .#checks.x86_64-linux.package-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.package-deploy-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.package-webview-ui Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-vm-manager Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-with-core Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-without-core Build done.
buildbot/nix-build .#checks.x86_64-linux.test-backups Build done.
checks / checks-impure (pull_request) Successful in 2m43s
buildbot/nix-build .#checks.x86_64-linux.test-installation Build done.
buildbot/nix-eval Build done.
Add the `run_no_stdout` function suppressing stdout by default.This
keeps the noise down on most commands, while still
stayingdebuggable.Stdout will be active when the `--debug` flag is
passed to the cli.
Fixes #1443
2024-05-28 11:13:55 +02:00
b3522b73aa
fix case when secrets are regenerated during update/install
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 4m11s
2024-04-12 14:46:51 +02:00
a8d35d37e7
refactor clanCore.secrets -> clanCore.facts
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m49s
checks / checks (pull_request) Successful in 3m33s
2024-03-27 16:03:16 +01:00
5fd4a63e17
Merge pull request 'clan-vm-manager: Basic pytest framework established' ( #1026 ) from Qubasa-main into main
checks / check-links (push) Successful in 14s
checks / checks-impure (push) Successful in 1m52s
checks / checks (push) Successful in 4m11s
2024-03-24 22:41:07 +00:00
8ab9d20342
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 4m13s
2024-03-24 23:36:00 +01:00
f16667e25a
refactor secrets & facts -> secret_facts & public_facts
checks / check-links (pull_request) Successful in 14s
checks / checks (pull_request) Successful in 33s
checks / checks-impure (pull_request) Successful in 1m49s
2024-03-23 05:46:54 +01:00
372e212c0c
clan_cli: Renamed ClanUrl to FlakeId
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Successful in 3m47s
2024-03-08 23:47:27 +07:00
f4f3176374
clan-vm-manager: Fix ClanUrl not pickable
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Failing after 4m7s
2024-03-08 23:23:18 +07:00
e4896814f2
clan_cli: Add TimeTable class to cmd.py. Fix bugs in Machine rewrite
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m1s
checks / checks (pull_request) Successful in 3m51s
2024-03-08 22:01:54 +07:00
068f89e453
clan_vm_manager: Rewrite of Machine Class Part 1
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Failing after 1m30s
checks / checks (pull_request) Successful in 3m49s
2024-03-08 15:32:12 +07:00
31190ed8e5
clan_vm_manager: Extracted VMObject to own component
2024-03-04 12:38:20 +07:00
108a37b0a3
clan-cli machines: cache machines_func via store
2024-03-02 11:20:05 +01:00
183c1f4235
clan_vm_manager: Fix qmp shutdown command, bad socket error on retried shutdown
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
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
36b20f18d4
Merge pull request 'add option to set defaultGroups for secrets' ( #858 ) from Mic92-target_host into main
checks-impure / test (push) Successful in 1m54s
checks / test (push) Successful in 2m46s
2024-02-16 16:29:28 +00:00
57e9b27ff8
add option to set defaultGroups for secrets
2024-02-16 17:26:20 +01:00
280bee0861
clan-vm-manager: Fixing vm starting.
checks-impure / test (pull_request) Successful in 2m7s
checks / test (pull_request) Successful in 2m53s
2024-02-16 16:10:49 +07:00
4f7f34f9b4
clan-vm-manager: Added clan icon to trayicon
2024-02-16 12:25:06 +07:00
4943c33307
add file prefix for nix 2.19 or newer
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
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
03b9183e04
clan_cli: Added lazy qmp
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
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
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
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
...
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
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
c66c25aeb7
machines: don't ignore errors when parsing secretsData json
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
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
checks-impure / test (pull_request) Successful in 1m39s
checks / test (pull_request) Successful in 2m45s
2024-02-06 14:51:44 +01:00
315cdea6ce
clan-cli machines: remove debug prints
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 2m39s
2024-02-02 17:40:19 +01:00
3538cf2e46
rename deployment address to target address
...
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
16562946fe
vm-manager: Added log console printing on vm start. Added python logging module
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m41s
2024-02-02 12:04:30 +07:00
649e345585
Machine __str__ impl
checks-impure / test (pull_request) Successful in 1m24s
checks / test (pull_request) Successful in 2m37s
2024-01-30 15:32:35 +07:00
0366147235
clan-cli machines: get flake path via flake metadata
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m39s
2024-01-29 09:54:30 +01:00
f6c811e531
UI: Display error logs on VM crash. Fixed inspect_vm problem.
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m41s
2024-01-29 15:11:57 +07:00
e1237499d0
clan-cli Machine: make deployment info lazy
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
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
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
ba05589af2
Refactor subprocess to cmd.py part 2
checks-impure / test (pull_request) Failing after 16s
checks / test (pull_request) Failing after 40s
2024-01-10 12:11:29 +01:00
56dafff109
machines build_machine_data: raise ClanError on error
2023-12-16 21:46:19 +01:00
8340d8f5f2
clan-cli Machines: implement eval/build-cache
checks-impure / test (pull_request) Successful in 1m15s
checks / test (pull_request) Successful in 2m24s
2023-12-08 19:09:29 +01:00