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
DavHau
8c7ee25dc9
webui: fixes for machines endpoint
...
- fix machines settings file location
- raise 404 if machine doesn't exist
- improve machine api test
2023-08-26 14:17:25 +02:00
Jörg Thalheim
b1f11851fb
clan-cli: add README
2023-08-26 12:38:11 +02:00
Jörg Thalheim
9ae14a4f7d
integrate static assets into webui command
2023-08-26 12:24:57 +02:00
Jörg Thalheim
672e760e2a
replace mock_env with monkeypatch
2023-08-26 11:45:09 +02:00
Jörg Thalheim
fb7c77690a
replace environment variable with nixpkgs directory
...
In this directory we generate all the files that we need to load nixpkgs.
This seems more robust than all those environment variables that may or not may be set.
2023-08-26 11:45:09 +02:00
Jörg Thalheim
ce3ea68da3
drop unused / from PYTHONPATH
2023-08-26 09:29:28 +02:00
Jörg Thalheim
a3b408d8c8
use .direnv for generated project files
2023-08-26 09:26:31 +02:00
DavHau
518bf4197f
webui: tests for machine config endpoints
2023-08-26 08:46:53 +02:00
DavHau
868c49acea
webui: implement /api/machines/{name}/config
2023-08-25 23:18:34 +02:00