Commit Graph

3188 Commits

Author SHA1 Message Date
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
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
0b027df015 ci: keep build going after first failure 2023-07-25 18:55:31 +02:00
076350efd4 disable darwin for now 2023-07-25 18:55:31 +02:00
e4af29d0b4 disable 100% coverage enforcement 2023-07-25 18:55:30 +02:00
692bdc9b02 Merge pull request 'hidden-ssh' (#21) from hidden-ssh into main
All checks were successful
build / test (push) Successful in 10s
Reviewed-on: #21
2023-07-25 13:52:22 +00: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
8513c11657 gitignore: add htmlcov
Some checks failed
build / test (push) Failing after 13s
2023-07-24 21:15:51 +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
e9c0432681 rename hidden-announce to hidden-ssh-announce, create qr codes
All checks were successful
build / test (push) Successful in 11s
2023-07-24 12:40:08 +02:00
930f1660e9 installer: wait for onion hostname to be available 2023-07-24 12:40:08 +02:00
d99060695f Merge pull request 'templates: add template for enw clan' (#20) from flake-template into main
All checks were successful
build / test (push) Successful in 8s
2023-07-21 13:18:53 +00:00
d17ae02a43 Merge pull request 'nixosModules.installer: move into packages' (#18) from installer-ci-hotfix into main
All checks were successful
build / test (push) Successful in 7s
Reviewed-on: #18
2023-07-21 12:12:05 +00:00
0b654c7434 apply treefmt
All checks were successful
build / test (push) Successful in 11s
2023-07-21 14:11:46 +02:00
ddaf55fd08 flake: only expose nixpkgs-cached architectures 2023-07-21 14:09:32 +02:00
74c256ca04 nixosModules.installer: move into packages 2023-07-21 14:09:32 +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
e74ca71d41 Merge pull request 'cli' (#17) from cli into main
Some checks failed
build / test (push) Failing after 3s
Reviewed-on: #17
2023-07-21 11:51:42 +00: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
ca044a078c templates/python: fix type annotations
Some checks failed
build / test (push) Failing after 4s
2023-07-21 13:48:37 +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
a05c550b41 Merge pull request 'add tests' (#16) from cli into main
Reviewed-on: #16
2023-07-21 11:36:41 +00:00
d2d0d39e41 add tests 2023-07-21 13:34:40 +02:00
8a9e7a9007 Merge pull request 'cli' (#15) from cli into main
Reviewed-on: #15
2023-07-21 11:31:53 +00:00
054ac3f624 clan-cli: make mypy it's own derivation
parallelize ci more.
2023-07-21 13:31:14 +02:00
7f937077cf clan-cli/tests: fixup imports 2023-07-21 13:30:49 +02:00
24c318df43 Merge pull request 'revert formatting from nixpkgs-fmt' (#14) from cli into main
Reviewed-on: #14
2023-07-21 11:10:10 +00:00
875ee61aa0 revert formatting from nixpkgs-fmt 2023-07-21 13:08:51 +02:00
9c81da4c93 Merge pull request 'cli' (#13) from cli into main
Reviewed-on: #13
2023-07-21 11:04:06 +00:00
3ce01871e5 fix black and ruff checks 2023-07-21 13:03:51 +02:00
926de547e2 clan-cli/tests: reformat 2023-07-21 12:48:26 +02:00
0bf3f42812 clan-cli: restructure according to python's module standard 2023-07-21 12:47:47 +02:00