Commit Graph

3390 Commits

Author SHA1 Message Date
Jörg Thalheim
54d855a6cd clan-cli: Document how to run single-threaded 2023-08-30 11:28:07 +02:00
Jörg Thalheim
d655c0ceb5 clan-cli/direnv: also watch default.nix 2023-08-30 11:27:43 +02:00
Luis-Hebendanz
3df5bc4815 Merge branch 'main' into Qubasa-main 2023-08-29 18:23:22 +02:00
Luis-Hebendanz
d03d4a246e UI: Added Machine List Search Bar 2023-08-29 18:19:22 +02:00
clan-bot
691d3bec41 Merge pull request 'secrets generator + zerotier module' (#188) from secrets-module into main 2023-08-29 15:43:15 +00:00
lassulus
9fca1e7f43 move clanCore into nixosModules, add secrets generate command 2023-08-29 16:28:50 +02:00
clan-bot
18bc6c7345 Merge pull request 'secrets: improve error messages' (#208) from Mic92-main into main 2023-08-29 14:22:29 +00:00
Jörg Thalheim
9b3bfd6950 secrets: improve error messages 2023-08-29 16:20:39 +02:00
lassulus
5e2e95e9c7 clan-cli: add zerotier subcommand 2023-08-29 16:16:11 +02:00
Jörg Thalheim
98a379d4fa clan-cli: fix build if lassulus does an impure build 2023-08-29 13:54:06 +00:00
clan-bot
9701ce3a7f Merge pull request 'clan-cli: fix nixpkgs symlink location' (#204) from Mic92-main into main 2023-08-29 11:23:07 +00:00
Jörg Thalheim
a0467dd259 clan-cli: fix nixpkgs symlink location 2023-08-29 13:12:56 +02:00
Luis-Hebendanz
ce19e5602a clan-cli: Fixed CORS issue. UI: Readded id as tableData property 2023-08-27 15:10:15 +02:00
Jörg Thalheim
b7212b9988 ruff: also enforce variable naming rules 2023-08-27 10:51:47 +02:00
Jörg Thalheim
9913a95cc2 ruff: enable upgrade rule checks 2023-08-27 10:46:53 +02:00
Jörg Thalheim
bac0942033 pytest: report slow tests and set a 30 timeout 2023-08-27 10:41:32 +02:00
Jörg Thalheim
75f79abcc6 ui: drop non-flake fallback
I don't think nix-build gets regulally tested and I don't see how it would work without having clanPkgs available
2023-08-27 10:27:34 +02:00
Jörg Thalheim
4735586dac fix uneccessary clan-cli rebuilds by not relying on self 2023-08-27 10:21:02 +02:00
Jörg Thalheim
9cc6a14d73 run pytest in parallel 2023-08-27 09:45:15 +02:00
Jörg Thalheim
81d02bb218 tests: rewrite port allocation function 2023-08-27 09:34:36 +02:00
DavHau
7928e953fa checks-integration: init 2023-08-27 00:24:19 +02:00
DavHau
b55ceec40c clan-config: use pinned nixpkgs + fix test flake 2023-08-26 23:33:32 +02:00
clan-bot
97d8d128b6 Merge pull request 'consistent naming & strucutre' (#190) from chore/refactor into main 2023-08-26 13:56:24 +00:00
Johannes Kirschbauer
592cf867e5 fix some minor errors 2023-08-26 15:55:03 +02:00
Johannes Kirschbauer
337f6e4600 fix import error 2023-08-26 15:50:48 +02:00
Johannes Kirschbauer
87cce983e9 consistent naming & strucutre 2023-08-26 15:46:10 +02:00
DavHau
8c7ee25dc9 webui: fixes for machines endpoint
- fix machines settings file location
- raise 404 if machine doesn't exist
- improve machine api test
2023-08-26 14:17:25 +02:00
Jörg Thalheim
aabe80d168 ui: add documentation on how to upload assets 2023-08-26 12:43:39 +02:00
Jörg Thalheim
b1f11851fb clan-cli: add README 2023-08-26 12:38:11 +02:00
Jörg Thalheim
9ae14a4f7d integrate static assets into webui command 2023-08-26 12:24:57 +02:00
Jörg Thalheim
672e760e2a replace mock_env with monkeypatch 2023-08-26 11:45:09 +02:00
Jörg Thalheim
fb7c77690a replace environment variable with nixpkgs directory
In this directory we generate all the files that we need to load nixpkgs.
This seems more robust than all those environment variables that may or not may be set.
2023-08-26 11:45:09 +02:00
clan-bot
dec5e1e5db Merge pull request 'UI: NodeTable exported to small Components' (#184) from Qubasa-Qubasa-main into main 2023-08-26 09:44:36 +00:00
Luis-Hebendanz
fdbe44a0e0 UI: made components 2023-08-26 11:42:43 +02:00
Jörg Thalheim
ce3ea68da3 drop unused / from PYTHONPATH 2023-08-26 09:29:28 +02:00
Jörg Thalheim
a3b408d8c8 use .direnv for generated project files 2023-08-26 09:26:31 +02:00
DavHau
518bf4197f webui: tests for machine config endpoints 2023-08-26 08:46:53 +02:00
DavHau
868c49acea webui: implement /api/machines/{name}/config 2023-08-25 23:18:34 +02:00
DavHau
fb76ad45e8 webui: implement /api/machines/{name}/schema 2023-08-25 21:26:30 +02:00
Luis-Hebendanz
ac138c98ed UI: Splitted NideList into multiple components. Generated random user data for benchmarking 2023-08-25 16:24:52 +02:00
Jörg Thalheim
8f5d4e2e35 upload ui assets to gitea 2023-08-25 14:48:17 +02:00
Luis-Hebendanz
1e2d0dd5df Merge branch 'main' into Qubasa-main 2023-08-25 14:43:07 +02:00
Luis-Hebendanz
04571d0029 UI: NodeTable exported to small Components 2023-08-25 14:42:16 +02:00
Jörg Thalheim
1cf814b4c1 tea-create-pr: drop one derivation 2023-08-25 14:09:40 +02:00
clan-bot
4b737437a1 Merge pull request 'add api generator' (#172) from feature/api-generator into main 2023-08-25 11:45:49 +00:00
Johannes Kirschbauer
5a39865622 add api generator 2023-08-25 13:40:52 +02:00
Johannes Kirschbauer
f0bc59a1a2 add cors to rest api 2023-08-25 12:42:20 +02:00
Jörg Thalheim
aa14e7ddc7 generate openapi 2023-08-25 11:39:46 +02:00
Jörg Thalheim
33b43ae146 add tests for machines api 2023-08-24 19:16:44 +02:00
Jörg Thalheim
58adf91af8 test machine subcommand 2023-08-24 18:28:33 +02:00