Jörg Thalheim
2a31b1d65b
add host_group fixture
2023-08-11 16:10:12 +02:00
Jörg Thalheim
b3a665cb19
clan-cli/ssh: rename Group -> HostGroup
2023-08-11 16:10:12 +02:00
clan-bot
12aab14ea5
Merge pull request 'clan-config: improve jsonschema arg parsing' ( #129 ) from DavHau-clan-config into main
2023-08-10 22:07:13 +00:00
DavHau
0a9b914ad5
clan-config: improve jsonschema arg parsing
...
- 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
DavHau
d04278e9b1
clan-config: add tests
2023-08-10 21:17:17 +02:00
Mic92
ad31cdb43a
Merge pull request 'sops: pass empty manifest when decrypting' ( #128 ) from Mic92-mic92 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/128
2023-08-10 10:10:59 +00:00
Jörg Thalheim
c2ff6acef4
sops: pass empty manifest when decrypting
2023-08-10 12:08:17 +02:00
clan-bot
0640c1a436
Merge pull request 'clan-cli: unbreak build' ( #126 ) from Mic92-mic92 into main
2023-08-10 09:31:17 +00:00
Jörg Thalheim
8e07fc28ab
clan-cli: unbreak build
2023-08-10 11:30:12 +02:00
clan-bot
6189ed0e76
Merge pull request 'flake.lock: Update' ( #124 ) from Mic92-mic92 into main
2023-08-10 09:08:17 +00:00
Jörg Thalheim
139f99bef5
flake.lock: Update
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/493b347d8fffa6912afb8d89b91703cd40ff6038' (2023-08-06)
→ 'github:nix-community/disko/5a9bfa9fa612cc1888a886f6900bf7afcdfd8d92' (2023-08-07)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5faab29808a2d72f4ee0c44c8e850e4e6ada972f' (2023-08-05)
→ 'github:NixOS/nixpkgs/41c7605718399dcfa53dd7083793b6ae3bc969ff' (2023-08-08)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/fab56c8ce88f593300cd8c7351c9f97d10c333c5' (2023-08-01)
→ 'github:numtide/treefmt-nix/7b380d3cce8271b37394790b521ec2f7a6b248ad' (2023-08-08)
2023-08-10 11:06:27 +02:00
clan-bot
2fa0c38625
Merge pull request 'add test for remote ssh commands' ( #115 ) from Mic92-mic92 into main
2023-08-10 09:05:48 +00:00
Jörg Thalheim
a17baa4861
add test for remote ssh commands
2023-08-10 11:05:05 +02:00
clan-bot
8c00a400a5
Merge pull request 'Ensure all clan modules are compatible with clan config' ( #123 ) from DavHau-clan-config into main
2023-08-09 16:43:42 +00:00
DavHau
00826d848e
checks: ensure clanModules are clan-config compatible
2023-08-09 18:42:03 +02:00
DavHau
a2648f2afb
clan-cli: prepare source in extra derivation
...
Towards not rebuilding clan-cli on each commit
2023-08-09 18:38:44 +02:00
clan-bot
b1a4b9cabc
Merge pull request 'lan-config: handle nested options' ( #122 ) from DavHau-clan-config into main
2023-08-09 16:20:40 +00:00
DavHau
cd048c2114
lan-config: handle nested options
2023-08-09 18:19:43 +02:00
clan-bot
563c04913e
Merge pull request 'clan-cli: unbreak dev-shell' ( #121 ) from DavHau-clan-config into main
2023-08-09 16:04:57 +00:00
DavHau
0f54eccb78
clan-cli: unbreak dev-shell
2023-08-09 18:03:46 +02:00
clan-bot
1f48ed5309
Merge pull request 'clan-config: unbreak + include data files' ( #120 ) from DavHau-clan-config into main
2023-08-09 16:00:34 +00:00
DavHau
f9aaa5ad39
clan-config: unbreak + include data files
2023-08-09 17:59:18 +02:00
clan-bot
3d3dcc800b
Merge pull request 'Fixed wrong flake template name' ( #118 ) from Qubasa-ui-node-list into main
2023-08-09 15:32:18 +00:00
Luis-Hebendanz
b9c6ffd95c
UI: Added /nodes page
2023-08-09 17:31:28 +02:00
Luis-Hebendanz
f20ff2abea
Merge branch 'main' of git.clan.lol:clan/clan-core
2023-08-09 17:27:07 +02:00
clan-bot
dd9f1820a5
Merge pull request 'add test for local commands' ( #114 ) from Mic92-mic92 into main
2023-08-09 14:24:06 +00:00
Jörg Thalheim
f8f9cd457a
add test for local commands
2023-08-09 16:23:15 +02:00
clan-bot
6db74d4fe7
Merge pull request 'clan-config: move jsonschema lib to clanLib' ( #109 ) from DavHau-clan-config into main
2023-08-09 14:07:03 +00:00
DavHau
7262208a4c
clanLib.jsonschema: move tests from pkgs/clan-cli
2023-08-09 16:05:33 +02:00
DavHau
9438a9eb5f
clan-config: move jsonschema lib to clanLib
2023-08-09 16:05:33 +02:00
clan-bot
6b71f0c75e
Merge pull request 'move ssh cli to cli submodule' ( #113 ) from Mic92-mic92 into main
2023-08-09 13:55:00 +00:00
Jörg Thalheim
d977499ffe
rename cli tests to have a common suffix
...
rename test_import_sops -> test_import_sops
2023-08-09 15:54:27 +02:00
Jörg Thalheim
8fea55da32
move ssh cli to cli submodule
2023-08-09 15:46:34 +02:00
clan-bot
e1265b2e04
Merge pull request 'add api for secret groups and listing secrets' ( #112 ) from Mic92-mic92 into main
2023-08-09 13:31:14 +00:00
Jörg Thalheim
1f79a610d4
groups: add more api
2023-08-09 15:30:50 +02:00
Jörg Thalheim
e103a4186c
add api for secret groups and decrypting secrets
2023-08-09 15:17:43 +02:00
Jörg Thalheim
caa1c0dfd8
pre-commit: fix weird bug where commit_files is undefined in bash
2023-08-09 15:17:38 +02:00
clan-bot
7f918437bc
Merge pull request 'add secret api for machines/users/secrets' ( #111 ) from Mic92-mic92 into main
2023-08-09 12:50:42 +00:00
Jörg Thalheim
6c169b0bed
print nothing if secret collections are empty
2023-08-09 14:50:04 +02:00
Jörg Thalheim
c535cf78a1
add secret api for machines/users/secrets
2023-08-09 14:10:04 +02:00
clan-bot
0bef07e0c3
Merge pull request 'clan-cli: add deploykit' ( #110 ) from Mic92-mic92 into main
2023-08-09 11:57:22 +00:00
Jörg Thalheim
2483e29819
users: seperate cli from library
2023-08-09 13:56:24 +02:00
Jörg Thalheim
119d68bdcd
clan-cli: add deploykit
2023-08-09 13:05:26 +02:00
clan-bot
eeb272d8b0
Merge pull request 'improve error message if users don't exist' ( #108 ) from Mic92-mic92 into main
2023-08-09 08:51:42 +00:00
Jörg Thalheim
daf1058312
clan-cli: fix secrets test
2023-08-09 10:50:48 +02:00
Jörg Thalheim
7d39f8346c
clan-cli: fix grep in breakpoint check
2023-08-09 10:36:46 +02:00
Jörg Thalheim
9189c31def
improve error message if users don't exist
2023-08-09 10:33:54 +02:00
Mic92
0314fbbec5
Merge pull request 'don't add user to a secret if they already can access the secret' ( #107 ) from Mic92-mic92 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/107
2023-08-09 08:22:14 +00:00
Jörg Thalheim
3d5a37ad03
check for breakpoint() function in code
2023-08-09 10:21:59 +02:00
Jörg Thalheim
68905fc233
don't add user to a secret if they already can access the secret
...
If the user is part of a group we don't need to add them explicitly
2023-08-09 10:17:30 +02:00