Commit Graph

3181 Commits

Author SHA1 Message Date
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
4950694270 Merge pull request 'cli-prep' (#45) from cli-prep into main
All checks were successful
build / test (push) Successful in 9s
2023-07-28 11:48:09 +00: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
75b29d5745 Merge pull request 'clan-cli: also add dev dependencies to PYTHONPATH' (#44) from cli-prep into main
All checks were successful
build / test (push) Successful in 9s
2023-07-28 11:04:30 +00: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
347fd1d926 Merge pull request 'add clan_flake fixture to setup a temporary clan' (#43) from cli-prep into main
All checks were successful
build / test (push) Successful in 9s
2023-07-28 10:55:19 +00: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
cf03266f50 Merge pull request 'get_clan_flake_toplevel: fix check' (#42) from cli-prep into main
All checks were successful
build / test (push) Successful in 9s
2023-07-28 10:38:52 +00: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
774d1d1219 Merge pull request 'cli-prep' (#41) from cli-prep into main
All checks were successful
build / test (push) Successful in 9s
Reviewed-on: #41
2023-07-28 10:22:25 +00: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
7c51ef3fb6 Merge pull request 'cli-prep' (#40) from cli-prep into main
All checks were successful
build / test (push) Successful in 10s
2023-07-28 08:49:23 +00:00
292b562604 Merge branch 'main' into cli-prep
All checks were successful
build / test (push) Successful in 10s
2023-07-27 13:53:04 +00:00
4101b9adb4 introduce ClanError type
All checks were successful
build / test (push) Successful in 12s
2023-07-27 15:47:15 +02:00
1a0cdf0d1d Merge pull request 'Pr' (#39) from pr into main
All checks were successful
build / test (push) Successful in 10s
2023-07-26 16:25:00 +00:00
49c3c7d50e writers: export flake-parts module
All checks were successful
build / test (push) Successful in 10s
2023-07-26 18:24:25 +02:00
02266fd98b Merge pull request 'writers: init' (#38) from writers into main
All checks were successful
build / test (push) Successful in 10s
2023-07-26 16:11:29 +00:00
951a00c281 writers: init
All checks were successful
build / test (push) Successful in 10s
2023-07-26 18:09:22 +02:00
b4b2c0c0f6 Merge pull request 'Remove Flake Update' (#35) from remove-flake-update into main
All checks were successful
build / test (push) Successful in 10s
2023-07-26 14:03:28 +00:00
5fb266a2f6 update-flake: remove workflow
All checks were successful
build / test (push) Successful in 10s
2023-07-26 15:56:38 +02:00
b4ba9c70cd move moc_env to module 2023-07-26 15:22:52 +02:00
f84a7c6a65 Merge pull request 'Update Flake' (#33) from update-flake into main
All checks were successful
build / test (push) Successful in 9s
2023-07-26 12:55:18 +00:00
62ae99ecb6 Merge pull request 'Update Flake' (#32) from update-flake into main
All checks were successful
build / test (push) Successful in 9s
2023-07-26 12:51:11 +00: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
7ae10adf59 Merge pull request 'move modules to subdir' (#31) from modules into main
All checks were successful
build / test (push) Successful in 10s
2023-07-26 10:20:55 +00:00
a426a6a331 clan-template: add marker file to discover a clan flake
All checks were successful
build / test (push) Successful in 10s
2023-07-26 11:59:51 +02:00
f36916a2a2 move modules into subdir
All checks were successful
build / test (push) Successful in 10s
2023-07-26 11:50:56 +02:00
fde5155195 clan-template: introduce clan-flake-module
All checks were successful
build / test (push) Successful in 10s
2023-07-26 11:48:19 +02:00
6de0fb7775 clan-template: drop unused dependencies 2023-07-26 11:31:39 +02:00
24cec76fb9 Merge pull request 'clan-cli: add bin wrapper' (#29) from mic92 into main
All checks were successful
build / test (push) Successful in 10s
Reviewed-on: #29
2023-07-26 09:00:42 +00: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
08544675de Merge pull request 'cli: make it more clear what optional deps are' (#27) from zerotier into main
All checks were successful
build / test (push) Successful in 9s
Reviewed-on: #27
2023-07-26 07:37:24 +00:00
38222cee58 cli: make it more clear what optional deps are 2023-07-26 07:37:24 +00:00
f243edfca6 Merge pull request 'zerotier' (#26) from zerotier into main
All checks were successful
build / test (push) Successful in 9s
Reviewed-on: #26
2023-07-26 07:32:32 +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
8e7e3845d1 Merge pull request 'cli: use nix_shell also in ssh.py' (#25) from zerotier into main
All checks were successful
build / test (push) Successful in 9s
Reviewed-on: #25
2023-07-26 06:53:33 +00: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
24b9ded397 Merge pull request 'zerotier: move nix_shell to external package' (#24) from zerotier into main
All checks were successful
build / test (push) Successful in 10s
Reviewed-on: #24
2023-07-26 06:09:06 +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
817a2f9196 Merge pull request 'add module to generate zerotier configuration' (#22) from zerotier into main
All checks were successful
build / test (push) Successful in 9s
Reviewed-on: #22
2023-07-25 17:14:27 +00:00
821ff71e4a pytest: actually fail build
All checks were successful
build / test (push) Successful in 13s
2023-07-25 19:13:24 +02:00