Commit Graph

3390 Commits

Author SHA1 Message Date
lassulus
aeed648bd0 secrets: use clanInternal for crosscompiling, move sops generators to new file 2023-09-21 17:25:32 +02:00
Jörg Thalheim
18c360f729 make all pytest dependencies also available to impure tests 2023-09-21 17:25:32 +02:00
Jörg Thalheim
0314132a1a rewrite sops backend for secret generation and add tests 2023-09-21 17:22:20 +02:00
Jörg Thalheim
ead5c6e6a8 secrets: add has_machine and has_secret function 2023-09-21 17:22:20 +02:00
Jörg Thalheim
dc51ca5803 factor out deployment address parsing into a function 2023-09-21 17:22:20 +02:00
Jörg Thalheim
486ff4e7f4 age: generate private and public key in one go 2023-09-21 17:22:20 +02:00
DavHau
6a359c0a2f clan-cli: add git.commit_file() to auto commit files if inside a git
- commit only if inside a git repo
- commit only the specified file and nothing else
- auto-generate commit message if not specified
2023-09-21 14:07:54 +02:00
Jörg Thalheim
584b6e2775 fix updating assets in devshell 2023-09-20 15:39:55 +02:00
ui-asset-bot
0eb23d58b2 update ui-assets.nix 2023-09-20 12:54:35 +00:00
DavHau
0ee6de86af checks: run impure pytest tests in CI pipeline 2023-09-19 16:46:46 +02:00
clan-bot
9cff6a39e8 Merge pull request 'CI: Added ui-assets workflow.' (#309) from Qubasa-Qubasa-main into main 2023-09-19 14:24:34 +00:00
Luis-Hebendanz
08f8815806 CI: Added ui-assets workflow. 2023-09-19 16:21:53 +02:00
clan-bot
6a220d1a0b Merge pull request 'Removed workflow' (#308) from Qubasa-Qubasa-main into main 2023-09-19 13:48:52 +00:00
Luis-Hebendanz
ad2218cca9 UI: Renamed ui from my-app to clan-ui 2023-09-19 15:46:15 +02:00
clan-bot
4a0949f5dc Merge pull request 'clan-cli/update: also use correct flake attr for generating secret' (#307) from Mic92-deploy-fix into main 2023-09-19 13:32:18 +00:00
Jörg Thalheim
3cb916d50f clan-cli/update: also use correct flake attr for generating secret 2023-09-19 15:20:11 +02:00
DavHau
c11f73c4d0 clan config: fix settings file location 2023-09-19 15:12:29 +02:00
DavHau
9b6fafcb2d clan config: re-enable clan config 2023-09-19 15:12:29 +02:00
Jörg Thalheim
2931b08b46 clan-cli/update: use correct flake attr when deploying 2023-09-19 14:19:48 +02:00
clan-bot
90718da5b4 Merge pull request 'use experimental flags everywhere' (#298) from Mic92-vm-api into main 2023-09-19 11:16:30 +00:00
Jörg Thalheim
f6a7e42e38 cli: rename admin create to create 2023-09-19 13:12:10 +02:00
Jörg Thalheim
164f95723d pytest: add impure marker 2023-09-19 13:12:10 +02:00
Jörg Thalheim
d41cca2e28 add clan_core path helper function 2023-09-19 13:12:10 +02:00
Jörg Thalheim
a65413c98e use experimental flags everywhere 2023-09-19 13:12:10 +02:00
Johannes Kirschbauer
18714d6657 reformat 2023-09-16 16:28:36 +02:00
Johannes Kirschbauer
1bcff16b66 add join clan page 2023-09-16 16:21:33 +02:00
Jörg Thalheim
a29f301f84 add vms 2023-09-15 14:02:40 +00:00
Jörg Thalheim
8a96254100 nix_build: add experimental flags 2023-09-15 14:30:17 +02:00
lassulus
8d29d0e69c clan-cli: get deploymentAddress from clan.networking 2023-09-15 12:17:07 +00:00
lassulus
0132abc547 secrets: use CLAN_DIR instead of clanCore.clanDir for fact storage 2023-09-15 12:17:07 +00:00
lassulus
a59e8478fa clan-cli nix_build_machine: don't create result link 2023-09-15 12:17:07 +00:00
lassulus
c5786614bf clan-cli secrets: deploy -> upload 2023-09-15 12:17:07 +00:00
lassulus
55fc055549 clan_cli/nix: convert path to string 2023-09-15 12:17:07 +00:00
lassulus
c487280ba9 clan-cli machines update: generate and deploy secrets 2023-09-15 12:17:07 +00:00
lassulus
0e3f8bb3f9 clan-cli nix_build_machine: cast flake_url to str 2023-09-15 12:17:07 +00:00
lassulus
23c979f8db secrets deploy/generate: use nix_build_machine 2023-09-15 12:17:07 +00:00
Jörg Thalheim
3b0701f275 deploy: use nix-flake-archive instead of rsync to upload 2023-09-15 12:17:07 +00:00
lassulus
ac13c5b76b clan-cli secrets: add deploy subcommand 2023-09-15 12:17:07 +00:00
lassulus
798e85ee8a clan secrets generate: use get_clan_flake_toplevel 2023-09-15 12:17:07 +00:00
Jörg Thalheim
9b7b6996d6 nix_eval: add --json by default 2023-09-15 13:50:31 +02:00
Jörg Thalheim
a8ba56de63 add ipdb to python breakpoint() 2023-09-15 13:45:01 +02:00
Jörg Thalheim
87f0b090ef cli: rename clan_flake to test_flake 2023-09-15 12:36:16 +02:00
clan-bot
54ac8b6269 Merge pull request 'drop useless test_update test' (#291) from Mic92-clan-fixture into main 2023-09-14 15:28:25 +00:00
Jörg Thalheim
2697ad54b7 drop useless test_update test
This test was not finished by me?
Now it's going to be broken by lassulus.
2023-09-14 17:25:48 +02:00
clan-bot
28bc5fa058 Merge pull request 'rename machine_flake back to clan_flake' (#290) from Mic92-clan-fixture into main 2023-09-14 15:07:56 +00:00
Jörg Thalheim
02f421546c rename machine_flake back to clan_flake 2023-09-14 17:06:07 +02:00
clan-bot
f9a5362245 Merge pull request 'drop clan_flake fixture' (#289) from Mic92-clan-fixture into main 2023-09-14 15:00:29 +00:00
Jörg Thalheim
2048ffccb0 drop clan_flake fixture 2023-09-14 16:57:48 +02:00
clan-bot
85f46d69b9 Merge pull request 'move machine_flake fixture to its own file' (#288) from Mic92-flake-archive into main 2023-09-14 14:52:15 +00:00
Jörg Thalheim
4905e0cecd move machine_flake fixture to its own file 2023-09-14 16:49:02 +02:00