Commit Graph

718 Commits

Author SHA1 Message Date
Jörg Thalheim
2d934d527a update: use run_local command to print executed command 2023-09-14 11:20:45 +02:00
Jörg Thalheim
b97db58316 deploy: use nix-flake-archive instead of rsync to upload 2023-09-13 20:33:53 +02:00
Jörg Thalheim
3d071396d0 nix_build_machine: escape json 2023-09-13 16:40:26 +02:00
Jörg Thalheim
825caeb63a add nix_build_machine function 2023-09-13 16:01:43 +02:00
Jörg Thalheim
17af763ad1 add edit flag to secret cli 2023-09-13 10:52:03 +02:00
Luis-Hebendanz
58bb1b9914 Added example machine to machines list 2023-09-07 13:42:48 +02:00
Jörg Thalheim
62e5c66867 secrets cli: hint that group/user/machine flags can be repeated 2023-09-07 13:06:31 +02:00
Jörg Thalheim
c3ccf68007 only list valid secrets/users/machines
Git often leaves empty directories behind
2023-09-07 12:48:34 +02:00
Jörg Thalheim
ae3283a762 clan/secrets: fix if user/machine directory does not contain a key.json 2023-09-07 12:30:29 +02:00
Jörg Thalheim
e6762d8b3f sops: add explicit commands to generate secrets 2023-09-07 11:41:20 +02:00
Jörg Thalheim
3bdd3af248 cli: fix nixpkgs unfree import 2023-09-06 17:37:41 +02:00
Jörg Thalheim
35c5f248d1 cli/deps_flake: resolve symlink prior to execution 2023-09-06 17:05:21 +02:00
DavHau
e7dcc0d260 clan-cli: fix nix_shell --inputs from 2023-09-06 16:13:27 +02:00
Jörg Thalheim
4ac91ccdcb drop clan flake monkeypatch 2023-09-06 16:04:00 +02:00
Jörg Thalheim
0108d84fe3 speed up machine_flake eval 2023-09-06 16:03:40 +02:00
DavHau
df10ca6ece clan-cli: fix nix_shell 2023-09-06 15:18:22 +02:00
clan-bot
cd8cd62894 Merge pull request 'clan-cli: use dependency flake instead of registry' (#250) from DavHau-deps into main 2023-09-06 12:50:16 +00:00
DavHau
fcbc3ec899 clan-cli: use dependency flake instead of registry 2023-09-06 14:47:28 +02:00
Jörg Thalheim
bef27a2c67 fix cors headers in development 2023-09-06 14:03:21 +02:00
Jörg Thalheim
949b72bd0b actual implement secret rename function 2023-09-03 11:03:14 +02:00
Jörg Thalheim
6c7c9b9540 secrets/sops-import: check correct secret for conflicts 2023-09-03 08:43:40 +02:00
clan-bot
148c292ea9 Merge pull request 'secrets/sops-import: check for key.json to exist' (#237) from Mic92-secret-fix into main 2023-09-03 06:39:53 +00:00
Jörg Thalheim
e079627f0f secrets/sops-import: check for key.json to exist 2023-09-03 08:37:56 +02:00
DavHau
a56073b051 machines delete: fix - delete all existing files 2023-09-02 18:37:40 +02:00
DavHau
2a11b1c5d1 machines api: always create empty settings.json 2023-09-02 18:29:12 +02:00
DavHau
a1d825d0a0 clan-config: fix: read options from nixosConfigurations instead of nixosModules 2023-09-02 16:35:59 +02:00
DavHau
8ca0a2aee4 clan-config: introduce --machine + add tests 2023-08-30 20:59:26 +02:00
Jörg Thalheim
10e4db7c19 clan-cli: fix error message 2023-08-30 16:40:42 +02:00
DavHau
4afd9910e9 Revert "rename clanCore to clan.core"
This reverts commit fef796fa6e.
2023-08-30 15:24:33 +02:00
Jörg Thalheim
fef796fa6e rename clanCore to clan.core 2023-08-30 12:46:49 +00:00
Jörg Thalheim
af38408a3e secret cli: add get command that returns the key of users/machines 2023-08-30 11:30:57 +02:00
Jörg Thalheim
54d855a6cd clan-cli: Document how to run single-threaded 2023-08-30 11:28:07 +02:00
Jörg Thalheim
d655c0ceb5 clan-cli/direnv: also watch default.nix 2023-08-30 11:27:43 +02:00
clan-bot
691d3bec41 Merge pull request 'secrets generator + zerotier module' (#188) from secrets-module into main 2023-08-29 15:43:15 +00:00
lassulus
9fca1e7f43 move clanCore into nixosModules, add secrets generate command 2023-08-29 16:28:50 +02:00
clan-bot
18bc6c7345 Merge pull request 'secrets: improve error messages' (#208) from Mic92-main into main 2023-08-29 14:22:29 +00:00
Jörg Thalheim
9b3bfd6950 secrets: improve error messages 2023-08-29 16:20:39 +02:00
lassulus
5e2e95e9c7 clan-cli: add zerotier subcommand 2023-08-29 16:16:11 +02:00
Jörg Thalheim
98a379d4fa clan-cli: fix build if lassulus does an impure build 2023-08-29 13:54:06 +00:00
clan-bot
9701ce3a7f Merge pull request 'clan-cli: fix nixpkgs symlink location' (#204) from Mic92-main into main 2023-08-29 11:23:07 +00:00
Jörg Thalheim
a0467dd259 clan-cli: fix nixpkgs symlink location 2023-08-29 13:12:56 +02:00
Luis-Hebendanz
ce19e5602a clan-cli: Fixed CORS issue. UI: Readded id as tableData property 2023-08-27 15:10:15 +02:00
Jörg Thalheim
b7212b9988 ruff: also enforce variable naming rules 2023-08-27 10:51:47 +02:00
Jörg Thalheim
9913a95cc2 ruff: enable upgrade rule checks 2023-08-27 10:46:53 +02:00
Jörg Thalheim
bac0942033 pytest: report slow tests and set a 30 timeout 2023-08-27 10:41:32 +02:00
Jörg Thalheim
4735586dac fix uneccessary clan-cli rebuilds by not relying on self 2023-08-27 10:21:02 +02:00
Jörg Thalheim
9cc6a14d73 run pytest in parallel 2023-08-27 09:45:15 +02:00
Jörg Thalheim
81d02bb218 tests: rewrite port allocation function 2023-08-27 09:34:36 +02:00
DavHau
7928e953fa checks-integration: init 2023-08-27 00:24:19 +02:00
DavHau
b55ceec40c clan-config: use pinned nixpkgs + fix test flake 2023-08-26 23:33:32 +02:00