Commit Graph

70 Commits

Author SHA1 Message Date
dab483339a test list/remove secret 2023-08-02 12:00:32 +00:00
658c76336f add secrets integration
clan-cli: also depend on age for secrets
2023-08-02 09:19:14 +00:00
7c388f977e dirs: fix user_config_dir on macos
All checks were successful
build / test (push) Successful in 14s
2023-07-29 14:21:36 +02:00
270c3fc2e6 cli: drop no cover pragma
All checks were successful
build / test (push) Successful in 14s
We don't really enforce 100% coverage anymore
2023-07-28 16:14:40 +02:00
e219d38c7c cli/main: catch ClanError in main 2023-07-28 16:13:43 +02:00
9a8c1d5e7a clan-cli: also source parent devshell
All checks were successful
build / test (push) Successful in 13s
2023-07-28 15:28:27 +02:00
6e7c34cd5c tests/clan-flake: yield flake path rather than homedir
All checks were successful
build / test (push) Successful in 13s
2023-07-28 15:01:37 +02:00
bc7dada58c tests/clan_flake: fix fixture name
All checks were successful
build / test (push) Successful in 12s
2023-07-28 13:47:32 +02:00
1834070c8d update envrc if flake-module.nix was changed 2023-07-28 13:45:50 +02:00
81615939ea clan-cli: also add dev dependencies to PYTHONPATH
All checks were successful
build / test (push) Successful in 12s
2023-07-28 13:04:02 +02:00
29c711db30 add clan_flake fixture to setup a temporary clan
All checks were successful
build / test (push) Successful in 12s
2023-07-28 12:54:49 +02:00
88a2c2656a get_clan_flake_toplevel: fix check
All checks were successful
build / test (push) Successful in 12s
2023-07-28 12:36:01 +02:00
5e5fbfcf06 write test for get_clan_flake_toplevel 2023-07-28 10:22:25 +00:00
df6e94b20e move environment to helpers module
This fixes registering pytest plugins
2023-07-28 10:22:25 +00:00
282307ca2a cli: explicitly list clan_cli package 2023-07-28 10:22:25 +00:00
4101b9adb4 introduce ClanError type
All checks were successful
build / test (push) Successful in 12s
2023-07-27 15:47:15 +02:00
b4ba9c70cd move moc_env to module 2023-07-26 15:22:52 +02:00
a61d0c5a42 add dirs module to get toplevel flake and configuration dir 2023-07-26 14:34:39 +02:00
20dc480123 add tty module to color text 2023-07-26 14:33:15 +02:00
d516b449e8 clan-cli: add bin wrapper
All checks were successful
build / test (push) Successful in 13s
2023-07-26 10:59:18 +02:00
38222cee58 cli: make it more clear what optional deps are 2023-07-26 07:37:24 +00:00
09cc79867d cli: get optional deps from our own flake
All checks were successful
build / test (push) Successful in 10s
This ensures we actually test if all those binaries build
2023-07-26 09:31:49 +02:00
ed474457b3 drop executable bit on cli packages 2023-07-26 09:31:49 +02:00
83005a6795 cli: use nixpkgs in nix shell in pure mode
This avoids nixpkgs config and overlay provided by the user.
Also enables caching in nix.
2023-07-26 09:31:49 +02:00
88e85cdbbe clan-cli/envrc: disable remote builders 2023-07-26 06:53:33 +00:00
3d14039474 using flakes for devshell without reimporting nixpkgs multiple times 2023-07-26 06:53:33 +00:00
72f6b368d6 cli: resolve CLAN_NIXPKGS on every invocation
this makes mocking easier
2023-07-26 06:53:33 +00:00
9aa75336b7 cli: use nix_shell also in ssh.py 2023-07-26 06:53:33 +00:00
409e5d459c zerotier: move nix_shell to external package
All checks were successful
build / test (push) Successful in 14s
2023-07-26 08:04:46 +02:00
821ff71e4a pytest: actually fail build
All checks were successful
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
e4af29d0b4 disable 100% coverage enforcement 2023-07-25 18:55:30 +02:00
e56b86f8b2 clan-cli: remove coverage exclusion for qrcode_scan
All checks were successful
build / test (push) Successful in 14s
2023-07-25 15:48:01 +02:00
1183ac9618 clan-cli: format
All checks were successful
build / test (push) Successful in 14s
2023-07-25 15:43:45 +02:00
2a31d785cf clan-cli: add checks for black and ruff 2023-07-25 15:43:26 +02:00
310bdacb9d clan-cli/ssh: add tests + fixes 2023-07-25 15:16:05 +02:00
202e07d5fe clan-cli: hint on how to get coverage html
Some checks failed
build / test (push) Failing after 13s
2023-07-25 00:59:51 +02:00
c354157bd5 clan-cli: minor fixes in ssh.py 2023-07-25 00:59:03 +02:00
a3bcb93f2f clan-cli: split out ssh subcommand, add more tests 2023-07-24 21:15:39 +02:00
c8e59471a0 flake.nix: set clan-cli as default package
Some checks failed
build / test (push) Failing after 13s
2023-07-24 17:42:26 +02:00
4571b65123 clan-cli: set mainProgram name 2023-07-24 17:42:26 +02:00
09bc5b06c9 clan-cli: add ssh subcommand 2023-07-24 17:42:26 +02:00
291b353d9c clan-cli: actually run commands 2023-07-24 17:42:26 +02:00
0b654c7434 apply treefmt
All checks were successful
build / test (push) Successful in 11s
2023-07-21 14:11:46 +02:00
DavHau
7223b25ac6 clan-cli: fix tests
Some checks failed
build / test (push) Failing after 4s
2023-07-21 14:07:38 +02:00
DavHau
f370635518 python: fix dev shell command check
Some checks failed
build / test (push) Failing after 3s
2023-07-21 13:51:56 +02:00
e4ccd85848 clan-cli: fix tests
Some checks failed
build / test (push) Failing after 3s
2023-07-21 13:51:10 +02:00
b7cf89dba8 clan-cli: add missing typing 2023-07-21 13:50:46 +02:00
DavHau
e806b5549d clan-cli: enable mypy for tests
Some checks failed
build / test (push) Failing after 8s
2023-07-21 13:43:29 +02:00