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 |
|
lassulus
|
3337d7bce6
|
vars: move ensure_consistent_state into health_check, move into store classes
|
2024-12-10 11:54:52 +00:00 |
|
Qubasa
|
343305c519
|
clan-cli: Fix missing error propagation in deploy
|
2024-12-10 00:03:33 +01:00 |
|
Qubasa
|
3cc7511764
|
clan-cli: Replace HostGroup and MachineGroup with generic AsyncRuntime class. Propagate cmd prefix over thread local. Close threads on CTRL+C
|
2024-12-09 18:07:23 +01:00 |
|
Johannes Kirschbauer
|
b52c5beb9d
|
formatting: make ruff happy with generated code
|
2024-12-06 21:06:41 +01:00 |
|
Johannes Kirschbauer
|
0c47a29f38
|
inventory/model: sync
|
2024-12-06 19:49:31 +01:00 |
|
Johannes Kirschbauer
|
b79db80e72
|
serde/fix: fix construction of typedDict
|
2024-12-06 19:02:35 +01:00 |
|
Johannes Kirschbauer
|
b1ba74a27b
|
inventory.{cli,api}: use only dictionaries
|
2024-12-06 18:51:20 +01:00 |
|
Johannes Kirschbauer
|
4038439bf8
|
clan.cli: convert dataclasses into TypedDict using classgen
|
2024-12-06 18:51:20 +01:00 |
|
Johannes Kirschbauer
|
1306fa1616
|
API/serde: add support for TypedDict
|
2024-12-06 17:37:37 +01:00 |
|
Jörg Thalheim
|
9da6036958
|
tests/sshd: also log what platform we received in the assert
|
2024-12-06 15:39:35 +00:00 |
|
Qubasa
|
6696225da6
|
clan-app: Fix breakage on missing inventory
|
2024-12-06 15:11:31 +01:00 |
|
Qubasa
|
771b178516
|
clan-cli: made run_no_stdout runOpts compatible and make time table thread safe
|
2024-12-06 12:18:28 +01:00 |
|
lassulus
|
ceaeb2f1f6
|
vars migration: raise error on incomplete migration, commit migrated files
|
2024-12-06 11:25:17 +01:00 |
|
Johannes Kirschbauer
|
c84515efd2
|
inventory/api: init smart update for inventory
|
2024-12-06 11:07:52 +01:00 |
|
Johannes Kirschbauer
|
2d807c69e2
|
inventory/api: prepare list merging
|
2024-12-06 11:07:52 +01:00 |
|
Johannes Kirschbauer
|
6a2e331861
|
inventory/eval: init determine writeability for single inventory options
|
2024-12-05 16:18:46 +01:00 |
|
Jörg Thalheim
|
ea9e44ef77
|
remove incorrect usage of tempdir for sandbox directories
The flags out-live the temporary directory
|
2024-12-05 11:38:58 +01:00 |
|
Jörg Thalheim
|
419e17a999
|
extract nix_test_store helper for sandbox builds
|
2024-12-05 11:38:58 +01:00 |
|
lassulus
|
9572a73fe8
|
vars password-store: create tarball dir if not for users
|
2024-12-04 23:30:39 +01:00 |
|
lassulus
|
19a251d6fc
|
vars: add file mode
|
2024-12-04 23:30:39 +01:00 |
|
Johannes Kirschbauer
|
d07d59a4fc
|
api: create machine touch only the created machine
|
2024-12-04 17:44:56 +01:00 |
|
Johannes Kirschbauer
|
b72344085a
|
clan.cli.inventory: init partial write
|
2024-12-04 17:43:20 +01:00 |
|
Johannes Kirschbauer
|
fb6fa46a3b
|
api.inventory.modules: filter out /nix/store paths
|
2024-12-04 17:37:23 +01:00 |
|
clan-bot
|
8da4fceb24
|
Merge pull request 'Better install instructions for macos' (#2550) from arm64 into main
|
2024-12-04 16:32:02 +00:00 |
|
Jörg Thalheim
|
d5eb60d904
|
test_vars: set hostPlatform
|
2024-12-04 17:25:20 +01:00 |
|
Jörg Thalheim
|
742494967a
|
classgen: better message how to update
|
2024-12-04 17:25:20 +01:00 |
|
Jörg Thalheim
|
25236a813d
|
clan-cli/clan_cli/inventory/update.sh: make script idempotent
|
2024-12-04 17:15:54 +01:00 |
|
lassulus
|
8b12578c13
|
test_vars_deployment: fix race condition with multiple VMs on error case
|
2024-12-04 17:07:36 +01:00 |
|
lassulus
|
acb78d4fb8
|
test_vars_deployment: pass stdin as DEVNULL to vm
|
2024-12-04 17:07:36 +01:00 |
|
Jörg Thalheim
|
77d05a6bd6
|
test_vms_cli: set hostPlatform x86_64-linux
|
2024-12-04 17:04:12 +01:00 |
|
lassulus
|
2aa1395f8f
|
spawn_vm: pass stdin
|
2024-12-04 16:57:49 +01:00 |
|
lassulus
|
b1260749fa
|
qemu_command: disable monitor if non interactive
|
2024-12-04 16:44:30 +01:00 |
|