Johannes Kirschbauer
dfa5a228e8
feat(clanLib): init evalServiceSchema
2025-05-05 21:55:29 +02:00
Johannes Kirschbauer
750cca1991
API(cli): add method to Flake class to allow calling nix functions
2025-05-05 21:46:20 +02:00
Johannes Kirschbauer
c88c68749e
API(clanInternals): add 'evalServiceSchema' endpoint
2025-05-05 21:46:20 +02:00
Johannes Kirschbauer
2d5e337f81
tests: add error prefix for json schema in checks
2025-05-05 21:46:16 +02:00
renovate[bot]
2b7e14ab64
chore(deps): update nixpkgs digest to ed30f8a
2025-05-05 16:10:18 +00:00
renovate[bot]
f0a70d3625
chore(deps): update data-mesher digest to d63db16
2025-05-05 15:50:11 +00:00
Mic92
40fc0151fe
Merge pull request 'Log nsenter command on container tests' ( #3498 ) from log-nsenter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3498
2025-05-05 12:01:08 +00:00
pinpox
1708176dce
Log nsenter command on container tests
2025-05-05 13:00:11 +02:00
DavHau
23d19f1a52
vars: improve API of generate_vars_for_machine
...
receive list of generator names as an argument instead of generator objects
2025-05-05 15:55:04 +07:00
renovate[bot]
96f14fb861
chore(deps): update data-mesher digest to 0b5ff29
2025-05-05 08:10:11 +00:00
renovate[bot]
7c4de75462
chore(deps): update nixpkgs digest to 6b1c028
2025-05-05 07:30:25 +00:00
renovate[bot]
8c4a5255fa
chore(deps): lock file maintenance
2025-05-05 02:20:11 +00:00
renovate[bot]
ffb06d1032
chore(deps): update disko digest to 7b63642
2025-05-04 20:50:09 +00:00
Mic92
ccf3091819
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
be79d75c08
bind ssh controlmaster to live time of CLI
2025-05-04 16:28:14 +02:00
Mic92
310e8b7fe7
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
6f70a9ec01
vars: warn if mode/owner/user is used on non-secret var
2025-05-04 14:59:22 +02:00
Jörg Thalheim
271618d182
clanTest: remove unneeded parantheses
2025-05-04 14:59:22 +02:00
Jörg Thalheim
f06296aa94
vars: fix defaultText
2025-05-04 14:59:22 +02:00
Jörg Thalheim
4ef664a496
test vars permissions in dummy-test
2025-05-04 14:59:22 +02:00
Jörg Thalheim
dc4268dbf2
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
a9d1b776e3
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
9af16037a2
Revert "Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main"
...
This reverts commit fbc0f9cde5 , reversing
changes made to b47c25c620 .
2025-05-04 13:37:39 +02:00
Mic92
fbc0f9cde5
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
f640beaec5
tests_secrets_cli: improve assertion message for pgp key
2025-05-04 10:51:49 +02:00
Jörg Thalheim
bd53342e50
fix terminal output when terminal is put into interactive mode
2025-05-04 10:51:49 +02:00
Jörg Thalheim
28c06bbdc1
update: fix sudo password prompt
2025-05-04 10:51:49 +02:00
Jörg Thalheim
39880f9434
fix upload when sudo prompts are needed
2025-05-04 10:51:49 +02:00
Mic92
b47c25c620
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
2b92b1f1b4
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
7079e7f538
cmd: don't shadow time module
2025-05-04 10:39:50 +02:00
Jörg Thalheim
fb4421427b
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
ef07a5b217
run_local: allow stdin to be a file descriptor
2025-05-04 10:39:28 +02:00
Jörg Thalheim
d98c01bc3a
update_hardware_config: use host.run rather than adhoc ssh command
2025-05-04 10:30:46 +02:00
Jörg Thalheim
35ee7986d7
rename connect_ssh_shell to interactive_ssh
...
better name than secure shell shell
2025-05-04 10:28:43 +02:00
Jörg Thalheim
75cb031e6e
move password/tor_socks into Host attributes
...
we set those parameters usually just once.
2025-05-04 10:28:43 +02:00
Mic92
0dc7e71e21
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
2f32e5bde2
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
f970d39eef
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
f86c874ac8
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
376ab40c4b
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
655c7e4eed
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
ee8921273a
disable age-plugin-se for now on aarch64-linuxql
...
disable
2025-05-04 09:07:06 +02:00
Mic92
08a5ad0848
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
26f336cf69
clanCore/vars/sops: add sops & switch to builtins.path
2025-05-04 08:08:58 +02:00
vdbe
f3e32ce827
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]
be95326fa9
chore(deps): update nixpkgs digest to f21e454
2025-05-04 06:00:13 +00:00
Mic92
dcb3eb95dc
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
91f4ee0e5a
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
1e2173284f
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