Johannes Kirschbauer
8f6f06bef3
Revert "Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main"
...
This reverts commit 8a7b6d13b5 , reversing
changes made to 7a4eeb5b16 .
2025-07-01 18:15:11 +02:00
kenji
5bec753fda
Merge pull request 'docs(clan): Improve state-version documentation' ( #4174 ) from kenji/ke-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4174
2025-07-01 15:40:33 +00:00
a-kenji
8199e53918
docs(clan): Improve state-version documentation
2025-07-01 17:32:20 +02:00
hsjobeki
41743be468
Merge pull request 'clanServices: remove recursive services' ( #4173 ) from revert-recursive-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4173
2025-07-01 15:11:57 +00:00
Johannes Kirschbauer
8d15a7ed62
clanServices: remove recursive services
...
Initially added in #3972 we've decided to remove them, because they are to complex to use correctly
2025-07-01 17:03:58 +02:00
hsjobeki
a052f30b10
Merge pull request 'clanServices: clean up, add tests' ( #4157 ) from default-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4157
2025-07-01 12:09:28 +00:00
hsjobeki
69f070ac70
Merge pull request 'Lib/flakes: remove self references' ( #4165 ) from fix-lib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4165
2025-07-01 12:03:52 +00:00
Johannes Kirschbauer
d785169fbf
lib.clan: properly merge self attrs
2025-07-01 14:02:02 +02:00
Johannes Kirschbauer
20e17b0e56
Lib/flakes: remove self references
2025-07-01 13:57:49 +02:00
Johannes Kirschbauer
27a3333c9e
tests: update buildClan args
2025-07-01 13:21:12 +02:00
Johannes Kirschbauer
42d1cd2a83
modules/clan: inject .clan into self.inputs if self is an attribute set
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
afd1ba6306
checks: mock self.inputs.self by default
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
e260168a6b
clanServices: add tests for resolve modules
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
1e94fd18f8
clanServices: remove unnecessary localModules
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
65f01c72bd
clanServices: remove unneeded self reference in lib
2025-07-01 13:19:37 +02:00
hsjobeki
bacff5c49f
Merge pull request 'clan_lib/tests: add big fat warning comment to save peoples time' ( #4168 ) from test-1+ into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4168
2025-07-01 11:19:13 +00:00
Mic92
b766d290cd
Merge pull request 'vars-check: replace slow python implementation with pure nix' ( #4144 ) from machine-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4144
2025-07-01 10:53:27 +00:00
Jörg Thalheim
a780dbe60c
vars-check: replace slow python implementation with pure nix
2025-07-01 12:46:50 +02:00
Johannes Kirschbauer
9e8bf61156
clan_lib/tests: add big fat warning comment to save peoples time
2025-07-01 12:30:17 +02:00
hsjobeki
8419077777
Merge pull request 'buildClan: replace all usages by lib.clan' ( #4167 ) from build-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4167
2025-07-01 10:19:07 +00:00
Johannes Kirschbauer
667cee0f6e
buildClan: replace all usages by lib.clan
2025-07-01 11:56:31 +02:00
kenji
78379e81e4
Merge pull request 'checks/syncthing: Disable the syncthing check for now' ( #4160 ) from kenji/ke-syncthing-disable-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4160
2025-07-01 09:23:40 +00:00
renovate[bot]
20e9544cbf
chore(deps): update nix-darwin digest to e04a388
2025-06-30 21:30:17 +00:00
a-kenji
bd15d52625
checks/syncthing: Disable the syncthing check for now
...
This particular check has been gotten quite slow over time,
as the upstream module has been updated.
This will be reintroduced in a more performant fashion, once the
`syncthing` module has been ported.
2025-06-30 17:47:31 +02:00
lassulus
5262eaeedf
Merge pull request 'clanLib: remove select' ( #4158 ) from fix-lib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4158
Reviewed-by: lassulus <clanlol@lassul.us >
2025-06-30 15:31:06 +00:00
brianmcgee
9c0aeb7516
Merge pull request 'feat(ui): use fake timer in tests and real timer in browser for storybook interaction tests' ( #4159 ) from feat/storybook-fake-timers into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4159
2025-06-30 14:50:31 +00:00
Brian McGee
839f94d2c7
feat(ui): use fake timer in tests and real timer in browser for storybook interaction tests
...
I believe the time-based tests are falsely failing when the CI machine is under high load. This also speeds up the tests in CI.
I'm not 100% happy with the approach, but this should resolve CI issues in the short term until I can improve things.
2025-06-30 15:19:57 +01:00
hsjobeki
abbf2c1083
Merge pull request 'Docs: getting started add services' ( #4156 ) from doc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4156
2025-06-30 14:16:00 +00:00
Johannes Kirschbauer
4f496a84f9
clanLib: remove select
2025-06-30 16:14:01 +02:00
Johannes Kirschbauer
eab918324b
Docs: getting started add services
2025-06-30 15:14:47 +02:00
DavHau
88dcd5c052
Merge pull request 'checks: introduce check.<system> for faster local checks' ( #4155 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4155
2025-06-30 13:08:33 +00:00
DavHau
913ea5b30b
checks: introduce check.<system> for faster local checks
...
We haven many VM tests which are quite slow, therefore q local `nix flake check` doesn't make sense anymore in most cases.
This introduces a set of cheaper local tests to be run via:
```
nix run .#check.x86_64-linux -L
```
2025-06-30 19:55:25 +07:00
DavHau
e219a636ca
checks: fix some tests not named correctly
2025-06-30 19:50:16 +07:00
DavHau
a43eee2860
checks: prefix all nixos tests with nixos-test-
2025-06-30 19:14:24 +07:00
DavHau
acffa629e1
checks: rename dummy-inventory-test -> service-dummy-test
2025-06-30 19:06:13 +07:00
DavHau
73b298d0b2
checks: rename attributes for better discoverability
...
- all eval checks prefixed with `eval-`
- all service checks prefixed with `service-`
2025-06-30 19:04:21 +07:00
hsjobeki
8b1e8201aa
Merge pull request 'docs: move deployment docs from add machine to deploy' ( #4153 ) from doc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4153
2025-06-30 11:50:35 +00:00
DavHau
6f2672addd
services: improve error when module not found
2025-06-30 11:44:30 +00:00
DavHau
8a7b6d13b5
Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4056
2025-06-30 11:24:42 +00:00
Johannes Kirschbauer
ff52f38f87
Docs: rename installer to usb installer
2025-06-30 13:03:07 +02:00
Johannes Kirschbauer
e55220ed47
docs: move deployment docs from add machine to deploy
2025-06-30 13:02:57 +02:00
Johannes Kirschbauer
a7bca56487
docs: mark getting-started/flash installer as optional"
2025-06-30 13:02:46 +02:00
pinpox
4709e8e2f6
Remove state-version module from tests
2025-06-30 12:58:05 +02:00
pinpox
507152a1cc
Add state-version option
2025-06-30 12:54:29 +02:00
pinpox
ef3c22f240
Remove state-version module and service
2025-06-30 12:54:29 +02:00
DavHau
7a4eeb5b16
docs: explain about simplified way of specifying instances
2025-06-30 10:27:37 +00:00
pinpox
3e882e3578
Merge pull request 'Add example for users service' ( #4150 ) from doc-users into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4150
2025-06-30 10:25:51 +00:00
DavHau
137d33285b
Merge pull request 'clan services: use clan-core as a default source for services' ( #4147 ) from davhau/dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4147
2025-06-30 10:13:46 +00:00
DavHau
2a3e786cfe
tests: explicitly specify services to be sourced from self
...
See previous commit
2025-06-30 10:13:46 +00:00
DavHau
f966f5b745
clan services: use service modules from clan-core by default
...
Users will use clan-core services first before making their own. Therefore this is a better default. Also it allow us to simplify rendering of our docs
2025-06-30 10:13:46 +00:00