Commit Graph

79 Commits

Author SHA1 Message Date
DavHau
7b157b279f clan-cli: stop propagating build inputs, remove wrapper 2023-10-04 10:36:39 +02:00
Jörg Thalheim
a2c5e7d80d fix pname of clan-cli for nix run 2023-09-28 14:06:35 +02:00
Jörg Thalheim
155a427ab5 clan-cli: fix eval 2023-09-28 12:20:26 +02:00
Jörg Thalheim
676329aed9 clan-cli: symlink cli into an otherwise empty package
This avoids propagating unneeded python libraries
2023-09-28 12:19:16 +02:00
Jörg Thalheim
2e88454b5a move zerotier secret generation into nixos module 2023-09-26 17:57:43 +02:00
Jörg Thalheim
e2cf3c1601 fix test not beeing exposed 2023-09-22 16:07:39 +02:00
Jörg Thalheim
41f1b8a15a perf? make clan-cli evaluate waaayyy faster
Before my small devshell to 7s. Now I am back to 2.6s
2023-09-22 09:00:08 +02:00
lassulus
58e5482efd clan-cli: set checks with mkDefault 2023-09-21 17:25:32 +02:00
lassulus
aeed648bd0 secrets: use clanInternal for crosscompiling, move sops generators to new file 2023-09-21 17:25:32 +02:00
Jörg Thalheim
18c360f729 make all pytest dependencies also available to impure tests 2023-09-21 17:25:32 +02:00
DavHau
6a359c0a2f clan-cli: add git.commit_file() to auto commit files if inside a git
- 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
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
9ae14a4f7d integrate static assets into webui command 2023-08-26 12:24:57 +02:00
Jörg Thalheim
aa14e7ddc7 generate openapi 2023-08-25 11:39:46 +02:00
Jörg Thalheim
a096d8ddcc clan-cli: add update command 2023-08-11 16:10:25 +02:00
DavHau
7262208a4c clanLib.jsonschema: move tests from pkgs/clan-cli 2023-08-09 16:05:33 +02:00
Jörg Thalheim
4296ef92a9 rename clan to clan-cli
It's already confusing enough to have so many things called clan-cli
2023-08-08 14:18:10 +02:00
Jörg Thalheim
fa8dbf0e4f cli: re-expose missing dependenices 2023-08-03 13:34:44 +02:00
Jörg Thalheim
cb0197fcf3 simplify clan cli build expression
also re-expose missing age
2023-08-03 13:34:44 +02:00
Jörg Thalheim
e603ee6f49 readd mypy/pytest to checks 2023-08-03 11:31:56 +02:00
DavHau
b88ac7a2bf clan-config: init
- nixos-modules to jsonschema converter
- nix unit testing via adisbladis/nix-unit
- clan config: configuration CLI for nixos-modules
2023-08-02 20:04:16 +02:00
Jörg Thalheim
658c76336f add secrets integration
clan-cli: also depend on age for secrets
2023-08-02 09:19:14 +00:00
Jörg Thalheim
38222cee58 cli: make it more clear what optional deps are 2023-07-26 07:37:24 +00:00
Jörg Thalheim
09cc79867d cli: get optional deps from our own flake
This ensures we actually test if all those binaries build
2023-07-26 09:31:49 +02:00
Jörg Thalheim
3d14039474 using flakes for devshell without reimporting nixpkgs multiple times 2023-07-26 06:53:33 +00:00
lassulus
c8e59471a0 flake.nix: set clan-cli as default package 2023-07-24 17:42:26 +02:00
Jörg Thalheim
054ac3f624 clan-cli: make mypy it's own derivation
parallelize ci more.
2023-07-21 13:31:14 +02:00
DavHau
a0701bf988 clan-cli: expose via flake packages 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