Mic92
40d776b953
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
0a4bdf2e83
vars-check: replace slow python implementation with pure nix
2025-07-01 12:46:50 +02:00
hsjobeki
e954d80dc6
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
ae274d6b82
buildClan: replace all usages by lib.clan
2025-07-01 11:56:31 +02:00
kenji
f97385a9dc
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]
46ee232958
chore(deps): update nix-darwin digest to e04a388
2025-06-30 21:30:17 +00:00
a-kenji
bc4c6ef40a
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
64d22197c4
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
d2a4a5c2c4
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
96b5ca9de0
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
847f8363f3
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
2ebeb2e205
clanLib: remove select
2025-06-30 16:14:01 +02:00
Johannes Kirschbauer
22778b1864
Docs: getting started add services
2025-06-30 15:14:47 +02:00
DavHau
8c323e25aa
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
f02e2ce383
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
1ab9eb733c
checks: fix some tests not named correctly
2025-06-30 19:50:16 +07:00
DavHau
882ccbc4b8
checks: prefix all nixos tests with nixos-test-
2025-06-30 19:14:24 +07:00
DavHau
b448ff05e2
checks: rename dummy-inventory-test -> service-dummy-test
2025-06-30 19:06:13 +07:00
DavHau
ee5fa8fe74
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
5f7c55c93f
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
8de7a9f040
services: improve error when module not found
2025-06-30 11:44:30 +00:00
DavHau
a101ff1f11
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
4f55af9026
Docs: rename installer to usb installer
2025-06-30 13:03:07 +02:00
Johannes Kirschbauer
2fbfda504a
docs: move deployment docs from add machine to deploy
2025-06-30 13:02:57 +02:00
Johannes Kirschbauer
642b300ce8
docs: mark getting-started/flash installer as optional"
2025-06-30 13:02:46 +02:00
pinpox
9e7e0378a8
Remove state-version module from tests
2025-06-30 12:58:05 +02:00
pinpox
47d4dfad1b
Add state-version option
2025-06-30 12:54:29 +02:00
pinpox
77bc1c75dd
Remove state-version module and service
2025-06-30 12:54:29 +02:00
DavHau
f12b62d8b4
docs: explain about simplified way of specifying instances
2025-06-30 10:27:37 +00:00
pinpox
66a5fc988e
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
abdc8913f3
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
e0b2d15361
tests: explicitly specify services to be sourced from self
...
See previous commit
2025-06-30 10:13:46 +00:00
DavHau
50cce90527
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
pinpox
1d25458390
Add example
2025-06-30 12:09:29 +02:00
renovate[bot]
ae2b9313bd
chore(deps): update nix-darwin digest to 425c929
2025-06-30 09:00:18 +00:00
renovate[bot]
eb2e7db202
chore(deps): update data-mesher digest to 97d8e88
2025-06-30 00:20:20 +00:00
Mic92
f7a7c8df85
Merge pull request 'Fix darwin support again' ( #4143 ) from machine-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4143
2025-06-29 22:08:52 +00:00
Jörg Thalheim
f1fd710dd1
add regression test for macOS evaluation
2025-06-29 23:58:19 +02:00
Jörg Thalheim
622597e70f
overridePkgs: drop unneeded parantheses
2025-06-29 23:58:19 +02:00
Jörg Thalheim
b415e063f1
darwinConfigurations/darwinModules: export with right _file attributes
2025-06-29 23:58:19 +02:00
Jörg Thalheim
43b205624d
no longer fallback to "nixos" machineClass
...
we should always have a value defined.
2025-06-29 23:58:19 +02:00
lassulus
acf673216b
Merge pull request 'refactor: replace eval_nix/build_nix with machine.select()' ( #4139 ) from lassulus/refactor-machine-select-clean into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4139
2025-06-29 16:57:27 +00:00
lassulus
286c75a142
refactor: replace eval_nix/build_nix with machine.select()
...
- Remove nix(), eval_nix(), and build_nix() methods from Machine class
- Add select() method that handles machine-specific attribute prefixes
- Update all usages to use machine.select() directly
- Handle Path conversion and tmp_store logic at call sites
- This simplifies the Machine API and prepares for deployment.json removal
2025-06-29 17:00:27 +02:00
Luis Hebendanz
b51dddaffc
Merge pull request 'revert_templates' ( #4132 ) from Qubasa/clan-core:revert_templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4132
2025-06-28 15:55:45 +00:00
Qubasa
d542c87639
Revert "add flakeparts to template test"
...
This reverts commit c2d0a19ed4 .
2025-06-28 22:43:34 +07:00
Qubasa
3cb250d5a4
Revert "Update new-clan template"
...
This reverts commit c2d8cdf7f1 .
2025-06-28 22:42:46 +07:00
Qubasa
3a772a5f56
Revert "Cleanup templates"
...
This reverts commit a3a81a959a .
2025-06-28 22:42:39 +07:00
Qubasa
277ef4f946
Revert "templates/minimal: consistent input names"
...
This reverts commit c847766f9e .
2025-06-28 22:42:20 +07:00
Qubasa
99d3e4ec11
Revert "tests/create_clan: bring back read,write checks"
...
This reverts commit 7f6684998b .
2025-06-28 22:42:11 +07:00
Qubasa
46bc5b519a
Revert "templates/minimal: reuse flake-parts from clan-core"
...
This reverts commit 03b5c6de02 .
2025-06-28 22:41:45 +07:00