49c17cc6d0
drop wonky ipdb PYTHONBREAKPOINT
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
...
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
...
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
...
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
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
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
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
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
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
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
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
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
build / test (pull_request) Successful in 18s
2023-08-25 21:26:30 +02:00
aa14e7ddc7
generate openapi
build / test (pull_request) Successful in 30s
2023-08-25 11:39:46 +02:00
d60548dfc4
integrate webserver into cli
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
59e31b3c56
fix mypy errors
build / test (pull_request) Failing after 27s
2023-08-23 13:59:43 +02:00
780fd881c3
clan-config: fix tests
2023-08-22 21:17:47 +00:00
48686591d8
clan-config: improve and add flake-parts module for clan-config
2023-08-22 21:17:47 +00:00
348e503789
clan-config: get rid of jsonschema dependency
build / test (pull_request) Successful in 27s
2023-08-15 13:29:48 +02:00
a096d8ddcc
clan-cli: add update command
build / test (pull_request) Successful in 28s
2023-08-11 16:10:25 +02:00
0a9b914ad5
clan-config: improve jsonschema arg parsing
...
build / test (pull_request) Successful in 21s
- output json to stdout after success
- expect args in the style: `foo.bar = baz`
- handle different input types
- cast input types on best effort basis
- throw meaningful errors
2023-08-11 00:05:52 +02:00
8e07fc28ab
clan-cli: unbreak build
build / test (pull_request) Successful in 20s
2023-08-10 11:30:12 +02:00
2fa0c38625
Merge pull request 'add test for remote ssh commands' ( #115 ) from Mic92-mic92 into main
build / test (push) Successful in 29s
2023-08-10 09:05:48 +00:00
a17baa4861
add test for remote ssh commands
build / test (pull_request) Successful in 28s
2023-08-10 11:05:05 +02:00
a2648f2afb
clan-cli: prepare source in extra derivation
...
Towards not rebuilding clan-cli on each commit
2023-08-09 18:38:44 +02:00
f9aaa5ad39
clan-config: unbreak + include data files
build / test (pull_request) Successful in 27s
2023-08-09 17:59:18 +02:00
7d39f8346c
clan-cli: fix grep in breakpoint check
build / test (pull_request) Failing after 22s
2023-08-09 10:36:46 +02:00
3d5a37ad03
check for breakpoint() function in code
build / test (pull_request) Failing after 25s
2023-08-09 10:21:59 +02:00
4cf82f3596
also rename project/pypi name
build / test (pull_request) Successful in 21s
2023-08-08 14:20:45 +02:00
b540f318c7
cli: add test for --help
build / test (push) Successful in 8s
2023-08-03 15:33:08 +02:00
cb0197fcf3
simplify clan cli build expression
...
also re-expose missing age
2023-08-03 13:34:44 +02:00
658c76336f
add secrets integration
...
clan-cli: also depend on age for secrets
2023-08-02 09:19:14 +00:00
09cc79867d
cli: get optional deps from our own flake
...
build / test (push) Successful in 10s
This ensures we actually test if all those binaries build
2023-07-26 09:31:49 +02:00
3d14039474
using flakes for devshell without reimporting nixpkgs multiple times
2023-07-26 06:53:33 +00:00
821ff71e4a
pytest: actually fail build
build / test (push) Successful in 13s
2023-07-25 19:13:24 +02:00
a6e8e08dec
add module to generate zerotier configuration
2023-07-25 19:13:24 +02:00
944c53c214
drop duplicate clan-ruff and clan-black checks
...
we already test this with treefmt
2023-07-25 18:55:31 +02:00
2a31d785cf
clan-cli: add checks for black and ruff
2023-07-25 15:43:26 +02:00
202e07d5fe
clan-cli: hint on how to get coverage html
build / test (push) Failing after 13s
2023-07-25 00:59:51 +02:00
4571b65123
clan-cli: set mainProgram name
2023-07-24 17:42:26 +02:00
e4ccd85848
clan-cli: fix tests
build / test (push) Failing after 3s
2023-07-21 13:51:10 +02:00
054ac3f624
clan-cli: make mypy it's own derivation
...
parallelize ci more.
2023-07-21 13:31:14 +02:00
3ab90e6785
add deadnix to formatter
2023-07-21 11:25:24 +02:00
DavHau
4c4ff01b64
clan-cli: write some unit tests
2023-07-21 11:19:03 +02:00
DavHau
af7e4d7bb9
clan-cli: shell completion for bash, zsh, fish
2023-07-21 11:19:03 +02:00
DavHau
9906d12384
clan-cli: initialize python project from template
...
clan-cli: remove unnecessary unit test file
clan-cli: fix shell.nix too stateful
clan-cli: remove conftest.py
clan-cli: fix flake-module.nix
2023-07-21 11:19:03 +02:00
9aaac528f8
switch from alejandra -> nixpkgs-fmt
...
alejandra has someone questionable choices for formatting that no one would apply to there code if they would format manually.
nixpkgs-fmt seems to produce more readable results.
2023-07-21 11:15:28 +02:00
e3af3e9fb6
pkgs.clan: init barebones version
2023-07-17 18:53:29 +02:00