15dd4ea25f
cli-docs: add automatic markdown cli docs
buildbot/nix-build .#checks.x86_64-linux.nixos-test_install_machine Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-vm-manager Build done.
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-impure-checks Build done.
buildbot/nix-build .#checks.x86_64-linux.package-merge-after-ci Build done.
buildbot/nix-build .#checks.x86_64-linux.package-moonlight-sunshine-accept Build done.
buildbot/nix-build .#checks.x86_64-linux.package-pending-reviews Build done.
buildbot/nix-build .#checks.x86_64-linux.package-tea-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.lib-jsonschema-nix-unit-tests 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.package-function-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.secrets Build done.
buildbot/nix-build .#checks.x86_64-linux.package-module-schema 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.nixos-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.package-install-iso Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-with-core Build done.
buildbot/nix-build .#checks.x86_64-linux.syncthing Build done.
buildbot/nix-build .#checks.x86_64-linux.package-deploy-docs 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.
buildbot/nix-build .#checks.x86_64-linux.flash Build done.
checks / checks-impure (pull_request) Successful in 2m30s
buildbot/nix-build .#checks.x86_64-linux.test-installation Build done.
buildbot/nix-eval Build done.
2024-05-07 13:26:33 +02:00
43c799c3d0
qga: add argument 'check'
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Successful in 4m58s
2024-05-02 15:03:22 +02:00
bfe4f2c8f4
add cli docs generator
checks / checks-impure (pull_request) Successful in 2m1s
checks / checks (pull_request) Successful in 4m53s
2024-04-30 19:01:53 +02:00
1051367ca4
add cli docs generator
2024-04-30 18:53:00 +02:00
b5653c169b
sops: fix setting secret from pipe
checks / checks-impure (pull_request) Successful in 2m12s
checks / checks (pull_request) Successful in 4m56s
2024-04-30 14:04:49 +02:00
5606101ce8
sops: also log content type on error
2024-04-30 13:56:07 +02:00
f383c6f82d
clan-cli: add CLAN_DIR
environment variable
...
checks / checks (pull_request) Successful in 5m6s
checks / checks-impure (pull_request) Successful in 1m58s
Add the `CLAN_DIR` environment variable.
With this the user can specify the location of the clan.
2024-04-30 12:00:47 +02:00
95f93d8800
clan(help): standardise on machine capitalisation
checks / checks (pull_request) Successful in 2m53s
checks / checks-impure (pull_request) Successful in 1m57s
2024-04-26 12:07:09 +02:00
a3f6996d69
clan(help): improve install description
checks / checks (pull_request) Successful in 2m51s
checks / checks-impure (pull_request) Successful in 1m58s
2024-04-26 11:42:18 +02:00
cf67de2f69
secrets: ensure all added/deleted files get committed
checks / checks-impure (pull_request) Successful in 2m12s
checks / checks (pull_request) Successful in 4m49s
2024-04-24 17:26:32 +07:00
3c02453705
installer: fix qr code again
checks / checks-impure (pull_request) Successful in 2m5s
checks / checks (pull_request) Successful in 4m38s
2024-04-22 21:04:41 +02:00
4ae5b24d24
installer: make qrcode compatible with nixos-images
checks / checks (pull_request) Successful in 1m41s
checks / checks-impure (pull_request) Successful in 1m47s
2024-04-22 20:49:35 +02:00
9cb23b807c
clan-cli ssh: fix qr code format
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Successful in 4m30s
2024-04-22 20:21:44 +02:00
0a1cc29abf
clan-cli ssh: --json can be file or str
2024-04-22 20:13:17 +02:00
6becce81cb
clan: clan machines install
use verbose flag
checks / checks (pull_request) Successful in 2m43s
checks / checks-impure (pull_request) Successful in 1m48s
2024-04-19 16:38:39 +02:00
e81a7415d8
clan: clan ssh
fix password login
checks / checks (pull_request) Successful in 2m47s
checks / checks-impure (pull_request) Successful in 1m47s
2024-04-17 21:45:14 +02:00
72811d0828
clan: clan ssh
fix for new installer image
checks / checks-impure (pull_request) Successful in 1m59s
checks / checks (pull_request) Successful in 4m36s
2024-04-17 18:20:40 +02:00
9f808b1bdb
pkgs: add metadata
...
checks / checks (pull_request) Successful in 47s
checks / checks-impure (pull_request) Successful in 1m55s
Closes #1151
2024-04-17 13:32:50 +02:00
498d29cca1
clan-cli: fix clan ssh
--json
and --png
...
This fixes `clan ssh` with the `--json` and `--png` flags.
It will now correctly use the actual fields that are present in the
generated json.
- probes if the ports are accessible
- if accessible will attempt a single ssh connection with the provided
password, in order to not spam ssh attempts
Fixes #1177
2024-04-17 10:12:37 +00:00
dcad0d0d79
include machine name when generating secrets
checks / checks-impure (pull_request) Successful in 1m51s
checks / checks (pull_request) Successful in 4m19s
2024-04-15 22:17:53 +02:00
f385e0e037
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
fff810ed43
clan-cli: fix typos
checks / checks (pull_request) Successful in 2m22s
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m45s
2024-04-12 17:40:54 +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
d292f2de98
docs: fix unsupported languages
checks / check-links (pull_request) Failing after 27s
checks / checks-impure (pull_request) Successful in 1m47s
checks / checks (pull_request) Successful in 3m55s
2024-04-10 18:40:51 +02:00
fc73301ed9
vms/run.py: refactor use kwargs instead of dataclass for function args
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m54s
checks / checks (pull_request) Successful in 4m10s
2024-04-09 14:30:46 +07:00
91dddc2281
Fix merge issue
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Failing after 4m29s
2024-04-06 11:56:06 +02:00
a520116584
Improve documentation
2024-04-06 11:54:34 +02:00
818cc4d135
flash: expose mode option
2024-04-05 18:48:37 +02:00
f7077e3540
flash: improve prompt if no disk is specified
2024-04-03 12:00:02 +02:00
8b4dbc60b5
clan/install: drop -t flag from nixos-anywhere
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 4m12s
2024-04-02 13:50:24 +02:00
9bb4c8d094
clan-cli: add a check for the flatpak sandbox
...
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m17s
Allows for differentiation between sandbox and non sandbox usage.
2024-04-02 12:19:48 +02:00
16ae51105e
cli/secrets: show hint in --help on how to retrieve a key
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m51s
checks / checks (pull_request) Successful in 4m10s
2024-04-02 14:36:01 +07:00
b10c4f5846
Merge pull request 'refactor clanCore.secrets -> clanCore.facts' ( #1040 ) from facts_refactor2 into main
checks / check-links (push) Successful in 14s
checks / checks-impure (push) Successful in 1m51s
checks / checks (push) Successful in 4m2s
2024-03-27 15:20:21 +00: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
e6ad0cfbc1
clan-cli: Fix tmpdir leak and fix tests/temporary_dir inconsistencies
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 3m35s
2024-03-27 15:51:52 +01:00
80abeef994
Revert "ssh: add interactive flag"
...
checks / check-links (pull_request) Successful in 13s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 3m58s
This reverts commit c5db14dea8
.
2024-03-26 13:13:35 +01:00
7b8a49bf6c
ssh: default tty to False
...
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Failing after 3m58s
nix behaves weird when the terminal is interactive because
we are also do line buffering.
2024-03-26 13:05:11 +01:00
c5db14dea8
ssh: add interactive flag
2024-03-26 12:51:46 +01:00
0e2cb172e6
cli/ssh: allocate tty by default
...
checks / checks (pull_request) Failing after 1m52s
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m47s
-t is only enabled when the local ssh command is also connected to a tty,
so it seems to be enabled by default.
2024-03-26 12:07:15 +01:00
270f906412
fix casing in facts generate logs
2024-03-25 15:33:57 +01:00
a886fd9b2d
switch back to upstream waypipe
checks / check-links (pull_request) Successful in 13s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 4m10s
2024-03-25 13:34:02 +01:00
0fa36252c2
re-encrypt secrets after rotating users/machines keys
checks / check-links (pull_request) Successful in 13s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 4m5s
2024-03-25 12:34:29 +01:00
cd9db02db0
add hint to use --force when a key already exists
2024-03-25 11:06:20 +01:00
e26d1052b6
select-shell: Fix breakage with previous shell.nix change
checks / check-links (pull_request) Successful in 13s
checks / checks-impure (pull_request) Successful in 1m51s
checks / checks (pull_request) Successful in 4m11s
2024-03-25 00:32:03 +01:00
9dbc71e446
clan-vm-manager: devshell doesn't require clan-cli derivation
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m8s
2024-03-24 23:52:30 +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
539df08706
backups: skip preRestore and postRestore if not specified by a service
2024-03-20 09:32:01 +01:00
aa659bcc17
backups: no longer interpret backup interface as bash commands
2024-03-20 09:32:01 +01:00
92ac151292
rework backup interface to no longer need to list backups to restore them
2024-03-20 09:32:01 +01:00
2560eef424
backups: don't export all local environment over ssh
2024-03-20 08:29:05 +00:00
9383e41d68
make backup provider more generic
2024-03-20 08:29:05 +00:00
5ff36a2cd8
nixos-install: also respect port
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m6s
2024-03-17 22:18:22 +01:00
9f25f47298
allow to debug nixos-anywhere
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m51s
checks / checks (pull_request) Successful in 4m6s
2024-03-17 21:36:22 +01:00
dd0ad2683b
drop secret store logging from install command
checks / checks (pull_request) Successful in 2m5s
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m53s
2024-03-17 21:32:23 +01:00
e296a3019d
re-format with nixfmt
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m23s
2024-03-17 19:48:49 +01:00
a9fc8de2d0
allow multi-line interactive secrets
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m52s
checks / checks (pull_request) Successful in 4m15s
2024-03-13 11:18:56 +01:00
4044e42e58
fix: typo
checks / check-links (pull_request) Successful in 22s
checks / checks (pull_request) Successful in 36s
checks / checks-impure (pull_request) Successful in 1m51s
2024-03-12 17:37:19 +01:00
129a1516f6
clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m1s
checks / checks (pull_request) Successful in 3m48s
2024-03-10 16:06:03 +07:00
167f7f4eb3
clan-cli: Add py.typed to make mypy work when used as library in clan-vm-manager
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m15s
checks / checks (pull_request) Failing after 4m15s
2024-03-10 15:18:18 +07: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
26dd962799
treefmt
2024-03-07 14:13:11 +01:00
f599243cbd
add flash command
2024-03-07 14:13:11 +01:00
ab2defa9e4
add confirmation prompt when installing
2024-03-07 14:13:11 +01:00
442e5b45ba
clan_cli: Simplify ClanURI
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
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
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
...
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
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
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
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
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
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
...
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
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
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
52fcc91479
Also commit files when adding machines/users or removing secrets
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
1cc6e74297
Merge pull request 'clan_vm_manager: --debug enables debug mode in clan_cli too' ( #840 ) from Qubasa-add_spinner into main
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
checks-impure / test (pull_request) Successful in 1m43s
checks / test (pull_request) Successful in 2m45s
2024-02-14 15:40:03 +07:00
952f976ea7
fix virtiofsd in CIs
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
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
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
030cbd24ce
Clan VM Manager: detect if clan exists
checks-impure / test (pull_request) Successful in 1m48s
checks / test (pull_request) Successful in 2m52s
2024-02-07 16:08:48 +07:00
b780754621
clan-cli: add simple flash command
2024-02-07 05:26:01 +01:00
6fe6229498
add requireExplicitUpdate option for mobile devices
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