Commit Graph

826 Commits

Author SHA1 Message Date
442e5b45ba clan_cli: Simplify ClanURI
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 2m48s
2024-03-07 19:04:48 +07:00
93c868a3b7 clan_cli: Rewrite ClanURI 2024-03-07 16:41:37 +07:00
a6f652bdfc clan_cli,clan_vm_manager: Moved profiler to clan_cli. Add cmd timer to see how long run commands take
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m57s
checks / checks (pull_request) Successful in 2m45s
2024-03-06 17:12:20 +07:00
0e8622c491 clan_vm_manager: Fix switch desync when pressed too fast. Secrets folder shared between build and run. clan_cli: run_vm now can have custom tmpdir location
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 2m45s
2024-03-06 16:32:19 +07:00
0481746198 drop meshnamed from repository
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 2m47s
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00
cee9beb8a9 Merge pull request 'clan-cli sops: accept bytes' (#891) from sops_bytes into main
All checks were successful
checks / check-links (push) Successful in 22s
checks / checks-impure (push) Successful in 1m56s
checks / checks (push) Successful in 2m45s
2024-03-06 08:45:44 +00:00
31190ed8e5 clan_vm_manager: Extracted VMObject to own component 2024-03-04 12:38:20 +07:00
a1af14db57 Merge pull request 'clan-vm-manager: Fix incorrect use of all Glib.idle_add uses' (#892) from Qubasa-main into main
All checks were successful
checks / check-links (push) Successful in 22s
checks / checks-impure (push) Successful in 1m56s
checks / checks (push) Successful in 2m46s
2024-03-03 08:49:07 +00: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
127009b303 clan_cli: history_add now returns newly added HistoryEntry. clan-vm-manager: Join now uses signals instead of callbacks. 2024-03-03 12:47:18 +07: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
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
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
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
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