Commit Graph

136 Commits

Author SHA1 Message Date
c9b77e5927 clan-cli/tests/clan_flake: add flake.nix 2023-08-11 16:10:12 +02:00
8bf809d0ec clan-cli/sshd: fix pytest warnings 2023-08-11 16:10:12 +02:00
2a31b1d65b add host_group fixture 2023-08-11 16:10:12 +02:00
b3a665cb19 clan-cli/ssh: rename Group -> HostGroup 2023-08-11 16:10:12 +02:00
0a9b914ad5 clan-config: improve jsonschema arg parsing
All checks were successful
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
d04278e9b1 clan-config: add tests 2023-08-10 21:17:17 +02:00
c2ff6acef4 sops: pass empty manifest when decrypting
All checks were successful
build / test (pull_request) Successful in 28s
2023-08-10 12:08:17 +02:00
8e07fc28ab clan-cli: unbreak build
All checks were successful
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
All checks were successful
build / test (push) Successful in 29s
2023-08-10 09:05:48 +00:00
a17baa4861 add test for remote ssh commands
All checks were successful
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
0f54eccb78 clan-cli: unbreak dev-shell
All checks were successful
build / test (pull_request) Successful in 19s
2023-08-09 18:03:46 +02:00
f9aaa5ad39 clan-config: unbreak + include data files
All checks were successful
build / test (pull_request) Successful in 27s
2023-08-09 17:59:18 +02:00
b9c6ffd95c UI: Added /nodes page
All checks were successful
build / test (pull_request) Successful in 16s
2023-08-09 17:31:28 +02:00
dd9f1820a5 Merge pull request 'add test for local commands' (#114) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 23s
2023-08-09 14:24:06 +00:00
f8f9cd457a add test for local commands
All checks were successful
build / test (pull_request) Successful in 21s
2023-08-09 16:23:15 +02:00
7262208a4c clanLib.jsonschema: move tests from pkgs/clan-cli
All checks were successful
build / test (pull_request) Successful in 26s
2023-08-09 16:05:33 +02:00
9438a9eb5f clan-config: move jsonschema lib to clanLib 2023-08-09 16:05:33 +02:00
d977499ffe rename cli tests to have a common suffix
All checks were successful
build / test (pull_request) Successful in 25s
rename test_import_sops -> test_import_sops
2023-08-09 15:54:27 +02:00
8fea55da32 move ssh cli to cli submodule
Some checks failed
build / test (pull_request) Failing after 23s
2023-08-09 15:46:34 +02:00
1f79a610d4 groups: add more api
All checks were successful
build / test (pull_request) Successful in 20s
2023-08-09 15:30:50 +02:00
e103a4186c add api for secret groups and decrypting secrets
Some checks failed
build / test (pull_request) Failing after 23s
2023-08-09 15:17:43 +02:00
6c169b0bed print nothing if secret collections are empty
All checks were successful
build / test (pull_request) Successful in 29s
2023-08-09 14:50:04 +02:00
c535cf78a1 add secret api for machines/users/secrets
Some checks failed
build / test (pull_request) Failing after 21s
2023-08-09 14:10:04 +02:00
2483e29819 users: seperate cli from library
All checks were successful
build / test (pull_request) Successful in 20s
2023-08-09 13:56:24 +02:00
119d68bdcd clan-cli: add deploykit 2023-08-09 13:05:26 +02:00
daf1058312 clan-cli: fix secrets test
All checks were successful
build / test (pull_request) Successful in 37s
2023-08-09 10:50:48 +02:00
7d39f8346c clan-cli: fix grep in breakpoint check
Some checks failed
build / test (pull_request) Failing after 22s
2023-08-09 10:36:46 +02:00
9189c31def improve error message if users don't exist
Some checks failed
build / test (pull_request) Failing after 17s
2023-08-09 10:33:54 +02:00
3d5a37ad03 check for breakpoint() function in code
Some checks failed
build / test (pull_request) Failing after 25s
2023-08-09 10:21:59 +02:00
68905fc233 don't add user to a secret if they already can access the secret
Some checks failed
build / test (pull_request) Failing after 21s
If the user is part of a group we don't need to add them explicitly
2023-08-09 10:17:30 +02:00
2988532909 allow to set groups/admins/users when setting secrets
All checks were successful
build / test (pull_request) Successful in 20s
2023-08-08 19:40:35 +02:00
5ee620b77b only print names when listing existing users
All checks were successful
build / test (pull_request) Successful in 16s
2023-08-08 19:07:38 +02:00
504adb4f6d make error message nicer when members are not found
All checks were successful
build / test (pull_request) Successful in 21s
2023-08-08 19:05:32 +02:00
6f9aaef56a add option to import sops secrets with groups,users,machines,prefixes
All checks were successful
build / test (pull_request) Successful in 25s
2023-08-08 18:46:37 +02:00
efa0546da5 sops: make symlinks relative
All checks were successful
build / test (pull_request) Successful in 21s
2023-08-08 17:24:40 +02:00
35f2d6a76e add dummy sops manifest
All checks were successful
build / test (pull_request) Successful in 20s
2023-08-08 16:40:32 +02:00
d8c2df2e72 add test for import-sops command
All checks were successful
build / test (pull_request) Successful in 24s
2023-08-08 16:28:38 +02:00
1d1452ddd5 add import-sops command to secrets
All checks were successful
build / test (pull_request) Successful in 21s
2023-08-08 15:48:19 +02:00
4cf82f3596 also rename project/pypi name
All checks were successful
build / test (pull_request) Successful in 21s
2023-08-08 14:20:45 +02:00
4296ef92a9 rename clan to clan-cli
All checks were successful
build / test (pull_request) Successful in 25s
It's already confusing enough to have so many things called clan-cli
2023-08-08 14:18:10 +02:00
6d1de943e1 move out non-toplevel flake modules from flake.nix
All checks were successful
build / test (pull_request) Successful in 21s
2023-08-08 14:03:26 +02:00
6f22717ffd Merge pull request 'fix rotating keys with sops' (#94) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 24s
2023-08-08 11:44:55 +00:00
0533948085 fix rotating keys with sops
All checks were successful
build / test (push) Successful in 8s
2023-08-08 13:44:15 +02:00
d8cb8069f5 init: layout with simple side navigation
All checks were successful
build / test (push) Successful in 20s
2023-08-06 17:42:13 +02:00
d90f4bc449 init: layout 2023-08-06 17:41:07 +02:00
c3b49fdce0 init: layout with simple side navigation 2023-08-06 17:31:44 +02:00
52c73265ac Fixed wrong flake template name (#89)
All checks were successful
build / test (push) Successful in 16s
Co-authored-by: Luis-Hebendanz <luis.nixos@gmail.com>
Reviewed-on: #89
2023-08-05 12:19:14 +00:00
a0a137191d init: layout 2023-08-05 12:10:58 +00:00
88ec2d3e3e Added fonts symlink to devShell
All checks were successful
build / test (push) Successful in 20s
2023-08-05 12:34:04 +02:00