Commit Graph

1515 Commits

Author SHA1 Message Date
lassulus
83a38909c0 cli nix_build: don't create output symlink if no gcroot is given 2024-12-14 13:38:51 +01:00
Qubasa
6b784f8623 clan-cli: Rework 'clan ssh' command, improve Tor support. 2024-12-13 00:11:18 +01:00
Qubasa
b9091beff9 clan-cli: Replace log.info to machine.info if applicable 2024-12-12 15:36:17 +01:00
Jörg Thalheim
cabdca4cd7 vms: don't leak vsock sockets in error case 2024-12-11 17:44:09 +00:00
Jörg Thalheim
11bb853015 remove clanCore in comment 2024-12-11 17:44:09 +00:00
clan-bot
26e02e711d 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
e23a0e765f 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
9ad4e4d041 fix clan vars for public vars 2024-12-11 16:39:54 +01:00
Jörg Thalheim
e52e7ef3a0 improve error message if sops secret contains unknown key 2024-12-11 16:18:18 +01:00
Jörg Thalheim
96773c3ccc waypipe: only supported on Linux 2024-12-11 14:38:36 +00:00
clan-bot
0e65ec27a1 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
959ab140a6 Inventory: init delete patial data 2024-12-10 21:19:04 +01:00
Qubasa
59cc73393f clan-cli: Fix incorrect throw on clan update 2024-12-10 21:12:32 +01:00
Johannes Kirschbauer
096ddea270 Inventory: fix persistence 2024-12-10 16:41:40 +01:00
Johannes Kirschbauer
005bf8b555 Serde: fix inherit writeability from parent on unspecified entries 2024-12-10 15:48:45 +01:00
Johannes Kirschbauer
e9a45fa712 API: fix create machine should set machine description and other data 2024-12-10 15:17:41 +01:00
Johannes Kirschbauer
803a8d5abd API: init method for getting write info 2024-12-10 15:17:41 +01:00
Johannes Kirschbauer
7074e88355 serde: add suppport for converting sets 2024-12-10 15:17:41 +01:00
lassulus
998ff92b51 vars: remove intermediate classes 2024-12-10 14:04:31 +01:00
lassulus
9129790e5c vars: move ensure_consistent_state into health_check, move into store classes 2024-12-10 11:54:52 +00:00
Qubasa
d388900a8e clan-cli: Fix missing error propagation in deploy 2024-12-10 00:03:33 +01:00
Qubasa
65a5789c5b 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
73f77b1ca3 formatting: make ruff happy with generated code 2024-12-06 21:06:41 +01:00
Johannes Kirschbauer
55d7914702 inventory/model: sync 2024-12-06 19:49:31 +01:00
Johannes Kirschbauer
35ebc120c5 serde/fix: fix construction of typedDict 2024-12-06 19:02:35 +01:00
Johannes Kirschbauer
69b7f6be5b inventory.{cli,api}: use only dictionaries 2024-12-06 18:51:20 +01:00
Johannes Kirschbauer
df43639e9b clan.cli: convert dataclasses into TypedDict using classgen 2024-12-06 18:51:20 +01:00
Johannes Kirschbauer
900499ede8 API/serde: add support for TypedDict 2024-12-06 17:37:37 +01:00
Qubasa
882c55da1f clan-app: Fix breakage on missing inventory 2024-12-06 15:11:31 +01:00
Qubasa
daf8033c25 clan-cli: made run_no_stdout runOpts compatible and make time table thread safe 2024-12-06 12:18:28 +01:00
lassulus
c3f2a1e588 vars migration: raise error on incomplete migration, commit migrated files 2024-12-06 11:25:17 +01:00
Johannes Kirschbauer
6dd1ecb044 inventory/api: init smart update for inventory 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
a032c446e1 inventory/api: prepare list merging 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
ebd494e112 inventory/eval: init determine writeability for single inventory options 2024-12-05 16:18:46 +01:00
Jörg Thalheim
95adf200ac 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
e2ed57f8dd extract nix_test_store helper for sandbox builds 2024-12-05 11:38:58 +01:00
lassulus
cfda7d6557 vars password-store: create tarball dir if not for users 2024-12-04 23:30:39 +01:00
lassulus
82fb1edc37 vars: add file mode 2024-12-04 23:30:39 +01:00
Johannes Kirschbauer
7b529855cd api: create machine touch only the created machine 2024-12-04 17:44:56 +01:00
Johannes Kirschbauer
17de9e3e2f clan.cli.inventory: init partial write 2024-12-04 17:43:20 +01:00
Johannes Kirschbauer
493e158d3c api.inventory.modules: filter out /nix/store paths 2024-12-04 17:37:23 +01:00
clan-bot
daf892c046 Merge pull request 'Better install instructions for macos' (#2550) from arm64 into main 2024-12-04 16:32:02 +00:00
Jörg Thalheim
161475a249 classgen: better message how to update 2024-12-04 17:25:20 +01:00
Jörg Thalheim
e1c135bf9d clan-cli/clan_cli/inventory/update.sh: make script idempotent 2024-12-04 17:15:54 +01:00
lassulus
5c46b3b0a7 spawn_vm: pass stdin 2024-12-04 16:57:49 +01:00
lassulus
f0e415066e qemu_command: disable monitor if non interactive 2024-12-04 16:44:30 +01:00
lassulus
64c5718bd4 start_vm: log VM start command 2024-12-04 16:43:59 +01:00
Jörg Thalheim
dbcf6780ab only enable show-trace if we run in debug mode 2024-12-04 14:54:47 +01:00
Jörg Thalheim
4aa63021ff flash: drop wifi option
This feature is broken and will be replaced by templates machines
eventually.
2024-12-04 12:52:38 +01:00
Jörg Thalheim
041547b317 no longer show prefix 2024-12-04 12:14:32 +01:00