Commit Graph

220 Commits

Author SHA1 Message Date
7928e953fa checks-integration: init
All checks were successful
checks-integration / test (pull_request) Successful in 7s
checks / test (pull_request) Successful in 1m6s
2023-08-27 00:24:19 +02:00
b55ceec40c clan-config: use pinned nixpkgs + fix test flake
All checks were successful
build / test (pull_request) Successful in 19s
2023-08-26 23:33:32 +02:00
97d8d128b6 Merge pull request 'consistent naming & strucutre' (#190) from chore/refactor into main
All checks were successful
build / test (push) Successful in 1m7s
2023-08-26 13:56:24 +00:00
592cf867e5 fix some minor errors
All checks were successful
build / test (pull_request) Successful in 1m4s
2023-08-26 15:55:03 +02:00
337f6e4600 fix import error
Some checks failed
build / test (pull_request) Failing after 48s
2023-08-26 15:50:48 +02:00
87cce983e9 consistent naming & strucutre
Some checks failed
build / test (pull_request) Failing after 44s
2023-08-26 15:46:10 +02:00
8c7ee25dc9 webui: fixes for machines endpoint
All checks were successful
build / test (pull_request) Successful in 1m8s
- fix machines settings file location
- raise 404 if machine doesn't exist
- improve machine api test
2023-08-26 14:17:25 +02:00
aabe80d168 ui: add documentation on how to upload assets
All checks were successful
build / test (pull_request) Successful in 16s
2023-08-26 12:43:39 +02:00
b1f11851fb clan-cli: add README
All checks were successful
build / test (pull_request) Successful in 18s
2023-08-26 12:38:11 +02:00
9ae14a4f7d integrate static assets into webui command
All checks were successful
build / test (pull_request) Successful in 18s
2023-08-26 12:24:57 +02:00
672e760e2a replace mock_env with monkeypatch
All checks were successful
build / test (pull_request) Successful in 1m5s
2023-08-26 11:45:09 +02:00
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
dec5e1e5db Merge pull request 'UI: NodeTable exported to small Components' (#184) from Qubasa-Qubasa-main into main
All checks were successful
build / test (push) Successful in 1m5s
2023-08-26 09:44:36 +00:00
fdbe44a0e0 UI: made components
All checks were successful
build / test (pull_request) Successful in 17s
2023-08-26 11:42:43 +02:00
ce3ea68da3 drop unused / from PYTHONPATH
All checks were successful
build / test (pull_request) Successful in 1m1s
2023-08-26 09:29:28 +02:00
a3b408d8c8 use .direnv for generated project files 2023-08-26 09:26:31 +02:00
518bf4197f webui: tests for machine config endpoints
All checks were successful
build / test (pull_request) Successful in 1m4s
2023-08-26 08:46:53 +02:00
868c49acea webui: implement /api/machines/{name}/config
All checks were successful
build / test (pull_request) Successful in 1m4s
2023-08-25 23:18:34 +02:00
fb76ad45e8 webui: implement /api/machines/{name}/schema
All checks were successful
build / test (pull_request) Successful in 18s
2023-08-25 21:26:30 +02:00
ac138c98ed UI: Splitted NideList into multiple components. Generated random user data for benchmarking 2023-08-25 16:24:52 +02:00
8f5d4e2e35 upload ui assets to gitea
All checks were successful
build / test (pull_request) Successful in 17s
2023-08-25 14:48:17 +02:00
1e2d0dd5df Merge branch 'main' into Qubasa-main 2023-08-25 14:43:07 +02:00
04571d0029 UI: NodeTable exported to small Components 2023-08-25 14:42:16 +02:00
1cf814b4c1 tea-create-pr: drop one derivation 2023-08-25 14:09:40 +02:00
4b737437a1 Merge pull request 'add api generator' (#172) from feature/api-generator into main
All checks were successful
build / test (push) Successful in 1m1s
2023-08-25 11:45:49 +00:00
5a39865622 add api generator
All checks were successful
build / test (pull_request) Successful in 2m40s
2023-08-25 13:40:52 +02:00
f0bc59a1a2 add cors to rest api
All checks were successful
build / test (pull_request) Successful in 26s
2023-08-25 12:42:20 +02:00
aa14e7ddc7 generate openapi
All checks were successful
build / test (pull_request) Successful in 30s
2023-08-25 11:39:46 +02:00
33b43ae146 add tests for machines api
All checks were successful
build / test (pull_request) Successful in 15s
2023-08-24 19:16:44 +02:00
58adf91af8 test machine subcommand
All checks were successful
build / test (pull_request) Successful in 27s
2023-08-24 18:28:33 +02:00
6adfadd8b9 re-enable config subcommand if CLAN_OPTIONS_FILE is set 2023-08-24 18:28:33 +02:00
dcbf1613fb delete test_cli test
we already cover this in integration tests
2023-08-24 18:28:33 +02:00
d600a927ea tests: generalize secret cli parser to work for all cli commands 2023-08-24 18:28:33 +02:00
3b099ccb89 clan-cli: move arg parsing to extra method 2023-08-24 18:28:33 +02:00
c5b16124ef add machine subcommand 2023-08-24 16:58:22 +02:00
56542ca5ef mv update command to machines update command 2023-08-24 16:25:06 +02:00
80d3349ce0 add stub api for machines 2023-08-24 16:11:08 +02:00
4d183fff58 apply prettier to source tree
All checks were successful
build / test (pull_request) Successful in 29s
2023-08-24 14:13:02 +02:00
dbc0ae08c0 integrate prettier into treefmt 2023-08-24 14:09:19 +02:00
13a6386004 add integration test for webui 2023-08-24 14:09:19 +02:00
acc648fc6b integrate webserver into cli
integrate webserver into cli
2023-08-24 11:31:41 +02:00
7f6f147d84 Merge pull request 'drop black/ruff from dependency list' (#160) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 29s
2023-08-23 15:25:06 +00:00
d60548dfc4 integrate webserver into cli
All checks were successful
build / test (pull_request) Successful in 19s
2023-08-23 17:17:34 +02:00
79c61f61c7 drop black/ruff from dependency list
those are used implictly by treefmt already
2023-08-23 16:03:56 +02:00
0b847bafae Merge pull request 'clan-cli: disable config subcommand' (#157) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 22s
2023-08-23 12:43:22 +00:00
35340aff80 clan-cli: disable config subcommand
All checks were successful
build / test (pull_request) Successful in 19s
This currently break flakes that do not have clan options defined
2023-08-23 14:42:17 +02:00
7365df338b Merge pull request 'Add nixos module to import secrets automatically' (#154) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 27s
2023-08-23 12:04:20 +00:00
59e31b3c56 fix mypy errors
Some checks failed
build / test (pull_request) Failing after 27s
2023-08-23 13:59:43 +02:00
63bb9395fd automatically import secrets into nixos 2023-08-23 13:59:43 +02:00
b16f314c80 clan-config: add option --quiet
All checks were successful
build / test (pull_request) Successful in 25s
2023-08-23 12:25:02 +02:00