Commit Graph

746 Commits

Author SHA1 Message Date
Jörg Thalheim
39617bbf03 run_upload_secrets: don't swallow stdout output 2023-11-29 11:38:01 +01:00
Jörg Thalheim
61c5cb58e3 install: fix secrets upload 2023-11-29 11:38:01 +01:00
Jörg Thalheim
7d770465d5 test: add ipv6 example without port 2023-11-29 11:38:01 +01:00
Jörg Thalheim
5e7d7c251e add sops command to sync keys with secrets 2023-11-29 11:34:19 +01:00
lassulus
c9e640a74d add dummy backups cli 2023-11-28 13:23:48 +01:00
Jörg Thalheim
5a8172f232 allow ipv6 addresses in deployment addresses 2023-11-28 10:05:45 +01:00
Jörg Thalheim
d394792238 openapi: put a static version into the repository
This avoids a lot of rebuilds and we can also track api changes better
2023-11-24 15:56:27 +01:00
Jörg Thalheim
4a19e3af95 rename vms create to vms run 2023-11-24 15:00:08 +01:00
Jörg Thalheim
0e6840a91d clan-cli: drop unused mypy overrides for gi 2023-11-23 18:01:40 +01:00
Jörg Thalheim
72453b5078 start spice in background 2023-11-23 17:56:05 +01:00
Jörg Thalheim
935acbd94a spice: use unix socket instead of tcp 2023-11-23 17:34:06 +01:00
Jörg Thalheim
d4bafa9017 fake_deal: fixup call wrapper 2023-11-23 17:32:37 +01:00
Jörg Thalheim
93ab408827 switch to spice for graphical vms 2023-11-23 16:59:07 +01:00
Jörg Thalheim
4f18c48892 vms: start with cpu=max
This unlocks some cpu extensions
2023-11-23 16:55:36 +01:00
Jörg Thalheim
ce500066e9 clan-vm-manager: simplify shellHook 2023-11-23 15:30:44 +01:00
Jörg Thalheim
47471c666b clan-vm-manager: add nix package 2023-11-23 15:30:44 +01:00
Jörg Thalheim
3f7bb87021 clan-cli: drop dependency on deal 2023-11-23 15:03:46 +01:00
Jörg Thalheim
1d5e87d407 drop glade backup file 2023-11-23 15:03:46 +01:00
Jörg Thalheim
d35229216e mv clan-vm-manager to its own package 2023-11-23 15:03:46 +01:00
Qubasa
dddbe74d6a Added gtk demo app 2023-11-23 15:03:38 +01:00
Qubasa
9698e57fa6 Added more deal tests 2023-11-21 16:44:38 +01:00
Jörg Thalheim
6649240494 drop desktop item from cli 2023-11-21 15:26:36 +01:00
Jörg Thalheim
f27b1da6b9 drop dependency on fastapi in the cli 2023-11-21 15:09:18 +01:00
Jörg Thalheim
d76ab43136 drop join from cli 2023-11-21 14:25:51 +01:00
clan-bot
9d36fcebc9 Merge pull request 'schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue' (#543) from Qubasa-main into main 2023-11-21 12:49:38 +00:00
Jörg Thalheim
647a4214fb get rid of pydantic in cli 2023-11-21 12:48:35 +00:00
Qubasa
ad4032e214 schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue 2023-11-20 17:14:12 +01:00
DavHau
7eb6132c1d history: fix: store entries only once 2023-11-20 11:39:00 +07:00
DavHau
a982084ab4 api/flake/history: implement review requests 2023-11-17 18:26:55 +07:00
clan-bot
d072d93911 Merge pull request 'hide root from api schema' (#529) from hsjobeki-hsjobeki into main 2023-11-17 11:07:11 +00:00
Johannes Kirschbauer
27d1ecb3b7 hide root from api schema 2023-11-17 12:03:40 +01:00
DavHau
2306417145 api/flake/list_history: init
Add an api endpoint to list the history of clan flakes that have been interacted with

Also add `clan flake list`
2023-11-17 17:56:14 +07:00
Johannes Kirschbauer
3d24f9464d hide root from api schema 2023-11-17 11:54:17 +01:00
DavHau
11fb73432b api/flake/add: init
Adds an endpoint to memoize clans.
clan flakes can be added to the history either via the endpoint or by executing `clan flakes add`
2023-11-17 17:05:15 +07:00
Jörg Thalheim
44fa268205 secrets/generate-private-key: just create parent opportunistically 2023-11-16 13:19:12 +01:00
kenji
f88a17ad34 clan_cli: create key directory 2023-11-15 23:15:12 +01:00
lassulus
d8633dd29d machines.update: remove redundant flake argument 2023-11-15 21:57:08 +01:00
clan-bot
44765d6927 Merge pull request 'bump nix-unit' (#517) from joerg-ci into main 2023-11-15 15:51:47 +00:00
Jörg Thalheim
5d36878206 drop schemathesis
This creates conflicting python packages when included
2023-11-15 16:48:46 +01:00
lassulus
082d628497 clan_cli: flake_name -> flake_dir 2023-11-15 16:23:28 +01:00
Qubasa
635de29d6a Fix incorrect machine name for shell.nix 2023-11-15 11:29:07 +01:00
Jörg Thalheim
15df81b45e drop verbose command logging in task manager 2023-11-15 07:21:26 +01:00
Jörg Thalheim
50ecdebdd3 pytest: add missing with-core marker 2023-11-15 07:21:26 +01:00
Jörg Thalheim
4514b09f81 also regenerate secrets if a fact is missing 2023-11-14 17:07:58 +01:00
Jörg Thalheim
f65bd8aa85 fix exception when file does not exist
fixes https://git.clan.lol/clan/clan-core/issues/488
2023-11-14 16:57:05 +01:00
Jörg Thalheim
8b42d0207a add cors headers in exception handler in cors 2023-11-14 16:39:20 +01:00
Jörg Thalheim
652580d57d only enable corsmiddleware when in dev mode and allow all origins 2023-11-14 15:32:03 +01:00
clan-bot
0f464838f6 Merge pull request 'add module for meshnamed' (#499) from Mic92-sops-nix into main 2023-11-14 12:01:26 +00:00
Jörg Thalheim
7fd0f1fbb7 add module for meshnamed 2023-11-14 12:58:15 +01:00
DavHau
9f716741ef api/machines: add test ensuring empty config is valid 2023-11-13 21:56:02 +07:00