renovate[bot]
9bfce828e0
chore(deps): update typescript-eslint monorepo to v8.29.0
2025-03-31 17:20:16 +00:00
renovate[bot]
2370a1fe8c
chore(deps): update dependency vitest to v3.1.1
2025-03-31 10:20:18 +00:00
renovate[bot]
3d7cf846e4
fix(deps): update dependency @tanstack/solid-query to v5.71.1
2025-03-31 09:50:24 +00:00
renovate[bot]
1fd08ca013
chore(deps): update dependency vite to v6.2.4
2025-03-31 09:40:16 +00:00
renovate[bot]
0a468c8be1
chore(deps): lock file maintenance
2025-03-31 00:00:41 +00:00
Johannes Kirschbauer
ae8e7edac0
feat(clanLib): expose clanInternals.clanLib
...
This is usefully for:
- As api via python
- for testing clanLib downstream
2025-03-30 17:07:11 +02:00
renovate[bot]
1879ca38cc
fix(deps): update dependency @tanstack/solid-query to v5.71.0
2025-03-30 13:00:14 +00:00
Jonathan Thiessen
89379f103a
Make Generator's validation dynamic
...
* Switch `Generator`'s `validation` from a regular property to
an `@property` annotated method backed by `Machine`'s `eval_nix()`.
* Ensure that `Machine`'s flake cache is flushed after each
effectful generator execution (rather than only after all
generators have been executed).
2025-03-30 04:33:30 +00:00
Jonathan Thiessen
ea7cfc350a
Add dependent vars generator dynamic validation test
2025-03-30 04:33:30 +00:00
Jonathan Thiessen
3c0c2ce9d6
Fix cached None support in FlakeCacheEntry
...
Previously, you could cache None values; however,
insertion wasn't idempotent/identical reinsertion
would lead to errors due to missing None checks.
2025-03-30 04:33:30 +00:00
Jonathan Thiessen
d4fa480262
Add overlapping (consistent) flake cache insert test
...
* Additionally, update `insert`'s input type hint to support None values
(as they are already selectable and (one shot) insertable).
This is necessary to appease the linter wrt the added test.
2025-03-30 04:33:30 +00:00
Luis Hebendanz
3b2ed4e6ab
Merge pull request 'clan-cli: Fix deployment as non root with a buildHost set' ( #3132 ) from Qubasa/clan-core:fix_target_host_as_non_root into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3132
2025-03-29 16:56:49 +00:00
Johannes Kirschbauer
282205dedb
chore(ui): ignore type error in unfinished features
2025-03-29 16:45:05 +01:00
Johannes Kirschbauer
12b88cd19b
feat(classgen): convert only certain attributes
2025-03-29 14:22:34 +01:00
Johannes Kirschbauer
16644309b4
fix(cli/inventory): update classes
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
ca1777fddc
fix(inventory/instances): fix jsonschema compatibility
2025-03-29 13:25:19 +01:00
Qubasa
a992484fb9
clan-cli: Fix deployment as non root with a buildHost set
2025-03-28 18:47:36 +01:00
Mic92
3b9153fb7f
Merge pull request 'clan_cli: fix support for non-root deployment user (from rtunreal)' ( #3124 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3124
2025-03-28 17:26:33 +00:00
Jörg Thalheim
eaf20ae09a
tests: add fake_sudo to sshd fixture
...
This allows to use the same code for both testing and real-world.
2025-03-28 17:14:22 +00:00
Qubasa
2406a62ce0
test_secrets_upload: Don't prepend sudo inside test; Improve secret upload test
2025-03-28 17:14:22 +00:00
renovate[bot]
2d3365b4d6
fix(deps): update dependency @tanstack/solid-query to v5.70.0
2025-03-28 15:20:17 +00:00
renovate[bot]
36f7dc6bfd
chore(deps): update dependency @types/node to v22.13.14
2025-03-27 03:20:15 +00:00
Qubasa
0afbf9dd45
checks/installation-without-system: modify to install through normal user instead of root
2025-03-26 18:37:31 +01:00
RTUnreal
0ea9b45838
clan_cli: fix support for non-root deployment user
2025-03-26 18:37:31 +01:00
DavHau
48fa29afad
vars/prompts: print var name even if custom description is set
2025-03-26 10:48:05 +00:00
Mic92
70b49c0451
Merge pull request 'Fix(classgen): support number conversion from jsonschema' ( #3119 ) from hsjobeki/clan-core:class-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3119
2025-03-26 09:45:09 +00:00
Johannes Kirschbauer
aee7aaeebb
Fix(classgen): support number conversion from jsonschema
2025-03-25 19:27:01 +01:00
Jörg Thalheim
9fcf3edab3
add missing lock around "flake" "lock"
2025-03-25 18:30:18 +01:00
Jörg Thalheim
d3a1b29c6b
make gnupg a dependency of sops
...
if anything uses a gnupg key, we need the gnupg binary.
Sucks a bit, but at least it makes it work everywhere.
2025-03-25 18:30:18 +01:00
Jörg Thalheim
3a78dd6ded
fix gpg key fixture on macOS
...
macOS has length limitations for unix sockets, which are violated by the
default length of temporary directories.
2025-03-25 18:30:18 +01:00
Jörg Thalheim
3c7991137a
move git_repo fixture to its own file for consistency
2025-03-25 18:30:11 +01:00
Jörg Thalheim
fb70e715cf
use pre-generate gpg key for tests
...
this is a bit faster.
2025-03-25 18:30:11 +01:00
Jörg Thalheim
c20c0d4ea8
enable python tests without core on macOS
2025-03-25 18:29:49 +01:00
Jörg Thalheim
7a46c8b8de
skip sshd-based tests on macOS for now
2025-03-25 18:29:49 +01:00
renovate[bot]
2dd9e5c751
chore(deps): lock file maintenance
2025-03-25 02:10:52 +00:00
renovate[bot]
19164d5cd0
chore(deps): update typescript-eslint monorepo to v8.28.0
2025-03-24 17:20:18 +00:00
renovate[bot]
bdb3733679
chore(deps): update dependency @types/node to v22.13.13
2025-03-24 11:20:15 +00:00
renovate[bot]
385bc879ee
chore(deps): update dependency vite to v6.2.3
2025-03-24 10:30:17 +00:00
renovate[bot]
9671358443
chore(deps): update dependency @types/node to v22.13.12
2025-03-24 06:40:15 +00:00
Mic92
af15a0eb97
Merge pull request 'don't add nixpkgs to nix registry to not conflict with nixpkgs' ( #3096 ) from nixpkgs-conflict into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3096
2025-03-22 16:16:27 +00:00
renovate[bot]
45c25f0900
chore(deps): update dependency eslint to v9.23.0
2025-03-21 20:40:14 +00:00
renovate[bot]
c402667ee7
chore(deps): update dependency @eslint/js to v9.23.0
2025-03-21 20:20:13 +00:00
lassulus
b925d1c608
Merge pull request 'clan-cli: cleanup broken deployment cache' ( #3066 ) from fix_caching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3066
2025-03-21 15:49:22 +00:00
Jörg Thalheim
60302dd1d2
tests/sshd: add a 5 second timeout for sshd to start
2025-03-21 12:41:36 +01:00
renovate[bot]
f4cd130087
chore(deps): update dependency @types/node to v22.13.11
2025-03-21 09:20:13 +00:00
Qubasa
dfd550f9be
clan-cli: cleanup broken deployment cache
2025-03-20 00:17:36 -07:00
Michael Hoang
62d9a325a2
checks: use pkgs.nixVersions.latest until pkgs.nix is 2.26+
2025-03-20 15:52:13 +09:00
renovate[bot]
d5e4d96fee
chore(deps): update typescript-eslint monorepo to v8.27.0
2025-03-20 01:20:15 +00:00
Jörg Thalheim
c5e30a40b4
pytests: use /tmp on macos to avoid unix socket issues
2025-03-19 18:35:38 +01:00
Jörg Thalheim
ddb5bba48a
disabe pytests on macOS for now
2025-03-19 17:33:27 +01:00