renovate[bot]
305a361f56
chore(deps): lock file maintenance
2025-05-05 02:20:11 +00:00
renovate[bot]
db32e99082
chore(deps): update disko digest to 7b63642
2025-05-04 20:50:09 +00:00
Mic92
50ac0266f5
Merge pull request 'bind ssh controlmaster to live time of CLI' ( #3491 ) from ssh-refactoring into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3491
2025-05-04 14:45:13 +00:00
Jörg Thalheim
b01691cb64
bind ssh controlmaster to live time of CLI
2025-05-04 16:28:14 +02:00
Mic92
44b237d9be
Merge pull request 'test vars permissions in dummy-test' ( #3490 ) from non-secret-var into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3490
2025-05-04 13:07:39 +00:00
Jörg Thalheim
f8bbd91c4a
vars: warn if mode/owner/user is used on non-secret var
2025-05-04 14:59:22 +02:00
Jörg Thalheim
401de330f8
clanTest: remove unneeded parantheses
2025-05-04 14:59:22 +02:00
Jörg Thalheim
51da7ed5e8
vars: fix defaultText
2025-05-04 14:59:22 +02:00
Jörg Thalheim
e170cc2641
test vars permissions in dummy-test
2025-05-04 14:59:22 +02:00
Jörg Thalheim
8434f0fc35
fix ssh control master check ( #3488 )
...
Co-authored-by: pinpox <git@pablo.tools >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3488
Co-authored-by: Jörg Thalheim <joerg@thalheim.io >
Co-committed-by: Jörg Thalheim <joerg@thalheim.io >
2025-05-04 12:49:53 +00:00
Mic92
d6bbb42dda
Merge pull request 'Revert "Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main"' ( #3489 ) from revert-sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3489
2025-05-04 11:40:28 +00:00
Jörg Thalheim
6539a6a24f
Revert "Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main"
...
This reverts commit 8a849eb90f , reversing
changes made to 3b5c22ebcf .
2025-05-04 13:37:39 +02:00
Mic92
8a849eb90f
Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3470
2025-05-04 11:36:39 +00:00
Jörg Thalheim
15f691d5aa
tests_secrets_cli: improve assertion message for pgp key
2025-05-04 10:51:49 +02:00
Jörg Thalheim
82949237b7
fix terminal output when terminal is put into interactive mode
2025-05-04 10:51:49 +02:00
Jörg Thalheim
7abb8bb662
update: fix sudo password prompt
2025-05-04 10:51:49 +02:00
Jörg Thalheim
f4d34b1326
fix upload when sudo prompts are needed
2025-05-04 10:51:49 +02:00
Mic92
3b5c22ebcf
Merge pull request 'Miscellaneous ssh fixes.' ( #3487 ) from misc-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3487
2025-05-04 08:51:31 +00:00
Mic92
a2ce48f8cc
Merge pull request 'update_hardware_config: use host.run rather than adhoc ssh command' ( #3486 ) from control-master into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3486
2025-05-04 08:47:34 +00:00
Jörg Thalheim
f6899166c7
cmd: don't shadow time module
2025-05-04 10:39:50 +02:00
Jörg Thalheim
f5277c989a
Host: always set needs_user_terminal for ssh commands, only override prefix if given by user
2025-05-04 10:39:39 +02:00
Jörg Thalheim
03731a2a67
run_local: allow stdin to be a file descriptor
2025-05-04 10:39:28 +02:00
Jörg Thalheim
091a56f57d
update_hardware_config: use host.run rather than adhoc ssh command
2025-05-04 10:30:46 +02:00
Jörg Thalheim
7351f7994c
rename connect_ssh_shell to interactive_ssh
...
better name than secure shell shell
2025-05-04 10:28:43 +02:00
Jörg Thalheim
5770ea036c
move password/tor_socks into Host attributes
...
we set those parameters usually just once.
2025-05-04 10:28:43 +02:00
Mic92
0d537a146e
Merge pull request 'configure ControlMaster and ControlPath for SSH connections' ( #3485 ) from control-master into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3485
2025-05-04 07:59:13 +00:00
Jörg Thalheim
c430ff6253
configure ControlMaster and ControlPath for SSH connections
...
This should speed up deployments by not having to reconnect to the server on each command
2025-05-04 09:48:37 +02:00
Mic92
f3f4ebfc71
Merge pull request 'facts/sops: no longer upload age key' ( #3484 ) from facts-no-age-upload into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3484
2025-05-04 07:40:05 +00:00
Jörg Thalheim
b79446f97e
facts/sops: no longer upload age key
...
The vars backend already does this for us.
This avoids duplicated work.
2025-05-04 09:29:29 +02:00
Mic92
6d75a5596e
Merge pull request 'chore(deps): update nixpkgs digest to f21e454' ( #3445 ) from renovate/nixpkgs-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3445
2025-05-04 07:16:50 +00:00
Mic92
2d97119a3b
Merge pull request 'Avoid a few cases of chmod-after-creation' ( #3438 ) from tangential/clan-core:it-s_a_race into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3438
2025-05-04 07:08:43 +00:00
Jörg Thalheim
d0ff114f6b
disable age-plugin-se for now on aarch64-linuxql
...
disable
2025-05-04 09:07:06 +02:00
Mic92
20ab5a67c1
Merge pull request 'clanCore/vars/sops: only copy required secrets to store' ( #3457 ) from vdbe/clan-core:clanCore/vars/sops/only-copy-used into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3457
2025-05-04 06:41:37 +00:00
vdbe
d445a353d5
clanCore/vars/sops: add sops & switch to builtins.path
2025-05-04 08:08:58 +02:00
vdbe
b08a2bdb75
clanCore/vars/sops: only copy required secrets to store
...
Create a store path per in repo secret/var to be copied, this prevents
unused secrets from being leaked.
For example the `root-password` generator contains both the hashed and
unhashed password but only the hash is used.
2025-05-04 08:08:58 +02:00
renovate[bot]
10fd3f6e43
chore(deps): update nixpkgs digest to f21e454
2025-05-04 06:00:13 +00:00
Mic92
e8c85e3237
Merge pull request 'Set terminal on nix flake update/archive' ( #3468 ) from fix-shell-on-copy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3468
2025-05-04 05:59:58 +00:00
Mic92
6aa3ec66d8
Merge pull request 'don't depend on git for flake inputs' ( #3483 ) from no-git into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3483
2025-05-04 05:48:10 +00:00
Mic92
b767a4a09c
Merge pull request 'morph: speed up test by enabling useNixStoreImage' ( #3481 ) from morph into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3481
2025-05-04 05:40:50 +00:00
Jörg Thalheim
b0bd209638
don't depend on git for flake inputs
...
This makes migration of an existing machine without git installed
easier:
fixes:
https://git.clan.lol/clan/clan-core/issues/3465#issuecomment-28189
2025-05-04 07:30:49 +02:00
Jörg Thalheim
b187d9b3d2
morph: speed up test by enabling useNixStoreImage
2025-05-04 07:29:31 +02:00
renovate[bot]
83d8c3d2f3
chore(deps): update data-mesher digest to 6544fb9
2025-05-03 21:00:09 +00:00
DavHau
1ce482f8f7
GUI/devshell: hot reload python API
...
This change speeds up the development workflow on the GUI when modifying the python api
The GUI started from the devshell already hot reloads itself on any change of the typescript codebase.
But python api changes were not caught bu the hot reload and required a reload of the devshell which is slow.
This change implements a custom vite plugin to also listen to changes coming from the clan-cli python code and re-generate the python-ts api on any change.
2025-05-03 19:22:16 +07:00
renovate[bot]
8803b3e0b5
chore(deps): update data-mesher digest to 642de25
2025-05-03 08:50:09 +00:00
renovate[bot]
9b66af37eb
chore(deps): update data-mesher digest to 13026a9
2025-05-03 08:10:09 +00:00
DavHau
9186961ccb
GUI/vars: add endpoints for getting prompts and generating vars
2025-05-03 14:44:51 +07:00
DavHau
ca594bbe95
refactor(vars): move migration logic to extra file
2025-05-03 07:33:11 +00:00
renovate[bot]
5454076df7
Update nix-darwin digest to 760a11c
2025-05-03 07:00:13 +00:00
DavHau
f8e7292bc4
GUI: generate sops key when creating clan
2025-05-03 13:00:27 +07:00
renovate[bot]
2ddb38a434
Update treefmt-nix digest to 29ec502
2025-05-02 20:40:11 +00:00