clan-bot
ab44967490
Merge pull request 'vars: allow setting files as needed for activation' ( #2633 ) from vars-needed_activation into main
2024-12-19 12:26:58 +00:00
lassulus
d91f653a65
vars: allow setting files as needed for activation
2024-12-19 13:05:05 +01:00
DavHau
ca614af0d4
vars/fix: mention machine in error message for fix
2024-12-19 17:39:02 +07:00
Qubasa
94b99034c9
clan-cli: Fix clan install command and multiple other issues
2024-12-18 15:29:08 +01:00
Michael Hoang
34b2b40222
vars: fix running generators on macOS
2024-12-19 00:16:22 +11:00
a-kenji
1596ecdb3d
pkgs/cli: Fix target_host for machines install
...
Use the correct `target_host`, if a user is defined.
Before the change:
```console
$ clan machines install
$ Install jon to 49.13.232.197? [y/N]
```
After the change:
```console
$ clan machines install
$ Install jon to root@49.13.232.197 ? [y/N]
```
Because root is the configured user for `target_host`, this is the
correct behavior.
2024-12-17 22:29:54 +01:00
Jörg Thalheim
7466445653
updating groups/machines/users keys now also update vars secrets
2024-12-17 19:24:30 +01:00
Jörg Thalheim
0e455cc77e
machine_logger: increase truncation limit to 20
...
10 was a bit short.
2024-12-17 17:51:47 +01:00
Jörg Thalheim
9d9e5bdd26
vars/tests: merge test_build_scripts_for_correct_system into test_generate_secret_for_multiple_machines
2024-12-17 17:39:27 +01:00
Jörg Thalheim
1255c3108e
merge three prompt type tests into one
2024-12-17 17:39:19 +01:00
Jörg Thalheim
5ebbb3ee98
vars: remove duplicate test
2024-12-17 17:21:10 +01:00
Jörg Thalheim
ab1626d0eb
var: merge migration tests into one
2024-12-17 17:21:10 +01:00
Jörg Thalheim
0ab3ec5e16
vars: delete duplicate shared flag test
2024-12-17 17:21:01 +01:00
Jörg Thalheim
8cc41f543a
clan_cli: merge four var tests into one
2024-12-17 17:21:01 +01:00
Michael Hoang
abd145aaaa
clan_cli: always use --target-host if specified for machines install
2024-12-18 00:13:17 +11:00
Michael Hoang
0ca2e7f728
clan_cli: fix target_host when running clan machines install
2024-12-18 00:08:10 +11:00
Qubasa
648d95b248
clan-cli: Make clan ssh automatically start tor
2024-12-17 12:13:18 +01:00
DavHau
7b3b1018aa
vars: commit files for clan vars set
...
fixes #2601
2024-12-17 15:56:08 +07:00
Michael Hoang
e7dcabc5c4
clan-cli: don't list non-Clan NixOS configurations
2024-12-17 15:11:38 +11:00
Michael Hoang
877862d758
clan-cli: fix PATH not correctly including runtime dependencies
2024-12-17 13:05:25 +11:00
Michael Hoang
160854a31d
clan-cli: fix nix run clan-core failing inside direnv
2024-12-17 10:55:36 +11:00
DavHau
5d47622a78
build-clan: fix bug where vars generator scripts are built for target system instead of local system
2024-12-16 19:20:17 +07:00
Michael Hoang
a876a5d6f4
facts: don't swallow exceptions when running clan facts generate
2024-12-16 17:06:29 +11:00
lassulus
74cec1d102
cli vars generate: quote generate name
2024-12-15 13:23:11 +01:00
DavHau
907fab455a
ssh: improve parsing of ipv6 hostnames
2024-12-15 17:46:50 +07:00
lassulus
e0f95a7a16
cli vars generate: mount test_store into bwrap
2024-12-14 17:05:27 +01:00
lassulus
0ce51a4e5c
cli test_vars: make output check less sensible to nix output
2024-12-14 13:42:31 +01:00
lassulus
c888f01823
vars: eval finalScript lazy
2024-12-14 13:38:51 +01:00
lassulus
a364a5b800
cli nix_build: don't create output symlink if no gcroot is given
2024-12-14 13:38:51 +01:00
Qubasa
e490207d12
clan-cli: Rework 'clan ssh' command, improve Tor support.
2024-12-13 00:11:18 +01:00
Qubasa
ec54a6a978
clan-cli: Replace log.info to machine.info if applicable
2024-12-12 15:36:17 +01:00
Jörg Thalheim
13e72c7dbb
vms: don't leak vsock sockets in error case
2024-12-11 17:44:09 +00:00
Jörg Thalheim
0c20a8f522
remove clanCore in comment
2024-12-11 17:44:09 +00:00
clan-bot
e03f4c1292
Merge pull request 'pkgs/cli: Deprecate clanCore usage in favor of clan.core in clan state list' ( #2597 ) from kenji/clan-core:kenji-clan-core-state into main
2024-12-11 15:56:59 +00:00
a-kenji
d4ffeaf60f
pkgs/cli: Deprecate clanCore usage in favor of clan.core in clan state list
2024-12-11 16:45:47 +01:00
Jörg Thalheim
7d7e0c0714
fix clan vars for public vars
2024-12-11 16:39:54 +01:00
Jörg Thalheim
85676bc44f
improve error message if sops secret contains unknown key
2024-12-11 16:18:18 +01:00
Jörg Thalheim
7c76b52a8d
run clang-format
2024-12-11 14:38:36 +00:00
Jörg Thalheim
6310fc12fb
waypipe: only supported on Linux
2024-12-11 14:38:36 +00:00
DavHau
98ec56b9ee
vars: add test to ensure shared secrets access after --regenerate
...
Ensure that a shared secret can still be accessed by all machines that share it, after a 'clan vars generate --regenerate' has been issued
2024-12-11 15:44:30 +07:00
DavHau
d925f4330d
vars: add test for shared secret not being regenerated
...
see https://git.clan.lol/clan/clan-core/issues/2393
2024-12-11 15:14:44 +07:00
clan-bot
edc8d0cf0e
Merge pull request 'fix: Calculate a seperate delete delta for removed data' ( #2587 ) from hsjobeki/clan-core:fix/writeable into main
2024-12-10 20:26:45 +00:00
Johannes Kirschbauer
2669d6a2cc
Inventory: init delete patial data
2024-12-10 21:19:04 +01:00
Qubasa
b1012d8e01
clan-cli: Fix incorrect throw on clan update
2024-12-10 21:12:32 +01:00
Johannes Kirschbauer
f65e92191a
Inventory: fix persistence
2024-12-10 16:41:40 +01:00
Johannes Kirschbauer
caa8f21df5
Serde: fix inherit writeability from parent on unspecified entries
2024-12-10 15:48:45 +01:00
Johannes Kirschbauer
a3423130ed
API: fix create machine should set machine description and other data
2024-12-10 15:17:41 +01:00
Johannes Kirschbauer
1536c77c19
API: init method for getting write info
2024-12-10 15:17:41 +01:00
Johannes Kirschbauer
0553629cae
serde: add suppport for converting sets
2024-12-10 15:17:41 +01:00
lassulus
91118745de
vars: remove intermediate classes
2024-12-10 14:04:31 +01:00