Commit Graph

480 Commits

Author SHA1 Message Date
Johannes Kirschbauer
1acfded849 Beyoncé rule 2023-10-03 11:21:34 +02:00
Qubasa
912d6428a3 API: Added endpoint & test for /api/flake/attrs 2023-10-01 12:50:54 +02:00
Qubasa
d805c4b069 API: Improved vm_status and added some tests. Skip vm tests in VM 2023-09-30 11:08:42 +02:00
lassulus
34dec8d194 tests: add test_secrets_password_store 2023-09-29 20:05:35 +02:00
lassulus
0db337d57e clan-cli secrets upload: secrets are populated into tmpdir 2023-09-29 20:05:35 +02:00
Jörg Thalheim
0178be0231 zerotier: document mdns ports; drop duplicate udp firewall rules
the nixos module already opens the zerotier port
2023-09-28 17:58:42 +02:00
Jörg Thalheim
b42d0598bc also generate zerotier secret for vm 2023-09-28 17:57:44 +02:00
Jörg Thalheim
f5769f5e69 pregenerate ssh_host keys for tests
Then we are free to choose where to put the ssh config
2023-09-28 16:31:59 +02:00
Jörg Thalheim
e550f32e96 clanInternals.machines: expose information as json 2023-09-27 18:42:49 +02:00
Jörg Thalheim
55551f9211 fix clan-pytest build 2023-09-27 16:20:05 +02:00
Jörg Thalheim
2a7c8b6b1a move temporary directory to .direnv 2023-09-27 16:13:04 +02:00
Jörg Thalheim
ded120d065 drop requirement for importing qemu-vm.nix 2023-09-27 14:54:01 +02:00
Jörg Thalheim
6d4c9e39aa cli: fix remaining typing errors 2023-09-27 09:47:50 +00:00
Jörg Thalheim
152067be20 make vm terminate after boot 2023-09-27 09:47:50 +00:00
Qubasa
1a63bf265a Completely working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
7c93962e35 Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
d73dc7048b Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
c96b339d94 Extracted threadpool to task_manager.py 2023-09-27 09:47:50 +00:00
Qubasa
b535f745e0 Added test 2023-09-27 09:47:50 +00:00
Qubasa
da02c7f4ae Started working on vm_create 2023-09-27 09:47:50 +00:00
Jörg Thalheim
2e88454b5a move zerotier secret generation into nixos module 2023-09-26 17:57:43 +02:00
Jörg Thalheim
ec2b56eb94 create test_flake unique per test
otherwise we will have race conditions
2023-09-26 15:46:40 +02:00
DavHau
b952aaa818 clan config: support new types nullOr and passwdEntry 2023-09-24 14:24:48 +01:00
DavHau
1d3ec4c9c0 clan config: match dynamic options containing <name> 2023-09-24 13:04:37 +01:00
DavHau
e08c0b338d test_basics: add cli fixture 2023-09-22 19:23:23 +02:00
DavHau
9825c179a8 impure-tests: migrate bash to pytest and fix stuff 2023-09-22 18:32:28 +02:00
Jörg Thalheim
b482dcd466 make git idempotent 2023-09-22 16:38:46 +02:00
Jörg Thalheim
e3b2424d9d make git optional again 2023-09-22 16:07:39 +02:00
clan-bot
5125ebe1eb Merge pull request 'get rid of impure test' (#323) from Mic92-docs into main 2023-09-22 12:34:51 +00:00
Jörg Thalheim
51e8da2a74 config: get rid of impure eval 2023-09-22 14:32:38 +02:00
DavHau
0196fd72c3 git.commit_file: fix file path & repo path finding 2023-09-22 13:42:04 +02:00
lassulus
17520e2553 fix impure tests 2023-09-21 18:29:18 +02:00
Jörg Thalheim
0314132a1a rewrite sops backend for secret generation and add tests 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
DavHau
0ee6de86af checks: run impure pytest tests in CI pipeline 2023-09-19 16:46:46 +02:00
DavHau
c11f73c4d0 clan config: fix settings file location 2023-09-19 15:12:29 +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
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
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
87f0b090ef cli: rename clan_flake to test_flake 2023-09-15 12:36:16 +02: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
Jörg Thalheim
02f421546c rename machine_flake back to clan_flake 2023-09-14 17:06:07 +02:00
Jörg Thalheim
2048ffccb0 drop clan_flake fixture 2023-09-14 16:57:48 +02:00
Jörg Thalheim
4905e0cecd move machine_flake fixture to its own file 2023-09-14 16:49:02 +02:00
Jörg Thalheim
451ecbb691 rename test_api_machines test to be consistent with the rest 2023-09-14 13:02:58 +02:00
Jörg Thalheim
17af763ad1 add edit flag to secret cli 2023-09-13 10:52:03 +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