Commit Graph

84 Commits

Author SHA1 Message Date
48f0381fb5 schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue
All checks were successful
checks-impure / test (pull_request) Successful in 4m24s
checks / test (pull_request) Successful in 4m41s
2023-11-20 17:14:12 +01:00
1f558954af
drop schemathesis
All checks were successful
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m48s
This creates conflicting python packages when included
2023-11-15 16:48:46 +01:00
13b685f7af moving deal dependencies to tests only
All checks were successful
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m50s
2023-11-10 12:39:24 +01:00
2a6e329e40 api/schema: get schema without having a machine
All checks were successful
checks-impure / test (pull_request) Successful in 1m32s
checks / test (pull_request) Successful in 2m22s
Also done:
- add @pytest.mark.with_core indicating that a test depends on clan-core and cannot be cached
- separate unit tests into two derivations, ones that can be cached and ones that cannot.
- fix frontend typescript code
2023-11-09 15:30:25 +07:00
ce90b02e06 Added deal as python dependency
All checks were successful
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m12s
2023-11-08 20:14:32 +01:00
32aa287da5 Added schemathesis dependency 2023-11-08 19:56:05 +01:00
9cb46bf1cd Flake: Added python package deal as dependency 2023-11-08 19:55:11 +01:00
b1d0129fc0 Commit only for debugging Container 2023-10-27 19:26:03 +02:00
9f464dd14e Added ipdb as breakpoint console. Improved logging. 2023-10-27 19:19:45 +02:00
af3f04736b Improved logging messages. Added ClanError if flake create or machine create already exist 2023-10-27 19:18:45 +02:00
8cc1c2c4bd Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests 2023-10-27 19:18:45 +02:00
fa5f39f226 API: Added Path validators. api/flake/create inits git repo. Fixed vscode interpreter problem 2023-10-27 19:11:27 +02:00
b2c3b3840f move breakpoint checks out of default build
this allows to debug builds with breakpoints
2023-10-27 17:40:20 +02:00
f885c877bc clan-cli: improve debug logging
All checks were successful
checks-impure / test (pull_request) Successful in 37s
checks / test (pull_request) Successful in 1m32s
2023-10-05 17:37:33 +02:00
6abbf4bacd clan-cli: unset LD_LIBRARY_PATH
All checks were successful
checks-impure / test (pull_request) Successful in 53s
checks / test (pull_request) Successful in 1m59s
This prevents problems with mixed glibc versions that might occur when the cli is called through a browser built against another glibc
2023-10-05 13:44:08 +02:00
bdd4cfc7d8 clan join: init
All checks were successful
checks-impure / test (pull_request) Successful in 21s
checks / test (pull_request) Successful in 31s
2023-10-04 18:53:59 +02:00
544322ee6e webui: open browser in new window
All checks were successful
checks-impure / test (pull_request) Successful in 21s
checks / test (pull_request) Successful in 1m30s
This gets closer to an app like feeling
2023-10-04 17:26:55 +02:00
017221febb clan-cli: stop propagating build inputs, remove wrapper
All checks were successful
checks-impure / test (pull_request) Successful in 17s
checks / test (pull_request) Successful in 1m26s
2023-10-04 10:36:39 +02:00
b1d045131a add missing e2fsprogs to runtime inputs 2023-10-03 17:24:08 +02:00
6e3f2b1ce2 tests: add test_secrets_password_store 2023-09-29 20:05:35 +02:00
a5f181a430 clan-cli: init vm command 2023-09-29 19:18:27 +02:00
0f1b7cf916 clan-cli: symlink cli into an otherwise empty package
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 5s
This avoids propagating unneeded python libraries
2023-09-28 12:19:16 +02:00
8467457283 don't propagate python libraries into a devshell
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 28s
2023-09-28 11:58:09 +02:00
8014bd7181 Merge pull request 'use buildPythonApplication to shield against external PYTHONPATH' (#363) from Mic92-main into main
All checks were successful
checks-impure / test (push) Successful in 8s
checks / test (push) Successful in 1m16s
assets1 / test (push) Successful in 6s
2023-09-28 09:23:36 +00:00
d55abacfcb use buildPythonApplication to shield against external PYTHONPATH
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 28s
2023-09-28 11:19:16 +02:00
dafceb6fea clan-cli: add desktop item
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 24s
2023-09-27 19:04:12 +02:00
166a2f795f only pass experimental-features onces to nix-build 2023-09-27 13:08:24 +00:00
74a3c85c29 move zerotier secret generation into nixos module
Some checks failed
checks-impure / test (pull_request) Failing after 7s
checks / test (pull_request) Successful in 23s
2023-09-26 17:57:43 +02:00
49c17cc6d0 drop wonky ipdb PYTHONBREAKPOINT
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 23s
2023-09-26 15:50:02 +02:00
7eab8c22cf replace bubblewrap with fakeroot
All checks were successful
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 1m17s
this restores macOS support.
2023-09-26 15:33:45 +02:00
e2cf3c1601 fix test not beeing exposed 2023-09-22 16:07:39 +02:00
41f1b8a15a perf? make clan-cli evaluate waaayyy faster
All checks were successful
checks-impure / test (pull_request) Successful in 9s
checks / test (pull_request) Successful in 35s
Before my small devshell to 7s. Now I am back to 2.6s
2023-09-22 09:00:08 +02:00
17520e2553 fix impure tests 2023-09-21 18:29:18 +02:00
18c360f729 make all pytest dependencies also available to impure tests 2023-09-21 17:25:32 +02:00
6a359c0a2f clan-cli: add git.commit_file() to auto commit files if inside a git
All checks were successful
checks-impure / test (pull_request) Successful in 10s
checks / test (pull_request) Successful in 34s
- commit only if inside a git repo
- commit only the specified file and nothing else
- auto-generate commit message if not specified
2023-09-21 14:07:54 +02:00
0ee6de86af checks: run impure pytest tests in CI pipeline
All checks were successful
checks-impure / test (pull_request) Successful in 10s
checks / test (pull_request) Successful in 34s
2023-09-19 16:46:46 +02:00
9b6fafcb2d clan config: re-enable clan config 2023-09-19 15:12:29 +02:00
a29f301f84 add vms 2023-09-15 14:02:40 +00:00
3bdd3af248 cli: fix nixpkgs unfree import
All checks were successful
checks-impure / test (pull_request) Successful in 12s
checks / test (pull_request) Successful in 1m55s
2023-09-06 17:37:41 +02:00
fcbc3ec899 clan-cli: use dependency flake instead of registry
All checks were successful
checks / test (pull_request) Successful in 1m53s
checks-impure / test (pull_request) Successful in 25s
2023-09-06 14:47:28 +02:00
8ca0a2aee4 clan-config: introduce --machine + add tests
All checks were successful
checks / test (pull_request) Successful in 1m16s
checks-impure / test (pull_request) Successful in 4s
2023-08-30 20:59:26 +02:00
98a379d4fa clan-cli: fix build if lassulus does an impure build 2023-08-29 13:54:06 +00:00
a0467dd259 clan-cli: fix nixpkgs symlink location
All checks were successful
checks-impure / test (pull_request) Successful in 4s
checks / test (pull_request) Successful in 19s
2023-08-29 13:12:56 +02:00
4735586dac fix uneccessary clan-cli rebuilds by not relying on self
All checks were successful
checks / test (pull_request) Successful in 19s
checks-impure / test (pull_request) Successful in 3s
2023-08-27 10:21:02 +02:00
9cc6a14d73 run pytest in parallel
All checks were successful
checks-integration / test (pull_request) Successful in 5s
checks / test (pull_request) Successful in 18s
2023-08-27 09:45:15 +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
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
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
aa14e7ddc7 generate openapi
All checks were successful
build / test (pull_request) Successful in 30s
2023-08-25 11:39:46 +02: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