Commit Graph

842 Commits

Author SHA1 Message Date
Mic92
041a98fae4 Merge pull request 'api/vm/create: start vm' (#327) from lassulus-start-vm into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/327
2023-09-27 09:47:50 +00:00
Jörg Thalheim
4317e681cf cli: fix remaining typing errors 2023-09-27 09:47:50 +00:00
Jörg Thalheim
244ae37144 cli: simplify log handler 2023-09-27 09:47:50 +00:00
Jörg Thalheim
e5899c8e10 custom_logger: fix type errror in format_time 2023-09-27 09:47:50 +00:00
Jörg Thalheim
80aa7f06fb task_manager: assert stdout/stderr exist to make mypy happy 2023-09-27 09:47:50 +00:00
Jörg Thalheim
b343650771 make vm terminate after boot 2023-09-27 09:47:50 +00:00
Jörg Thalheim
dea49073cb cli/vms: serialize uuid already in the api 2023-09-27 09:47:50 +00:00
Qubasa
08eab785c6 Completely working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
8d390af122 Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
82c3d91e85 Working version 2023-09-27 09:47:50 +00:00
Qubasa
a8bab7bb96 Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
98028d121f Working log streaming 2023-09-27 09:47:50 +00:00
Qubasa
3a11c0a746 Fixed vscode test debugging problem 2023-09-27 09:47:50 +00:00
Qubasa
991181bf3c Integrated pytest into vscode 2023-09-27 09:47:50 +00:00
Qubasa
c2fb42e953 Extracted threadpool to task_manager.py 2023-09-27 09:47:50 +00:00
Qubasa
04f3547be0 Added test 2023-09-27 09:47:50 +00:00
Qubasa
f6c8b963c1 Improving endpoint 2023-09-27 09:47:50 +00:00
Qubasa
d16bb5db26 Added threaded create_vm endpoint 2023-09-27 09:47:50 +00:00
Qubasa
7479fca82b Started working on vm_create 2023-09-27 09:47:50 +00:00
Qubasa
b86e02e183 vscode debugging integration added + README updated 2023-09-27 09:47:50 +00:00
Qubasa
9dca1a4672 CLI: Added custom logger 2023-09-27 09:47:50 +00:00
lassulus
904301c20e api/vm/create: start vm 2023-09-27 09:47:50 +00:00
clan-bot
2e5811e052 Merge pull request 'clanCore.secrets: facts.value can be null or str' (#350) from lassulus-facts_null into main 2023-09-27 09:06:10 +00:00
lassulus
c1a124d0bf clan.networking.zerotier: create init script only if fact exists 2023-09-27 11:02:54 +02:00
lassulus
5cf9b4428f clanCore.secrets: facts.value can be null or str 2023-09-27 10:34:53 +02:00
Mic92
51c1940a1b Merge pull request 'zerotier: fix eval' (#349) from Mic92-docs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/349
2023-09-26 16:24:26 +00:00
Jörg Thalheim
cbd8efeb85 nix-unit: bump version 2023-09-26 16:24:26 +00:00
Mic92
4b966ae642 Merge pull request 'zerotier: fix eval' (#348) from Mic92-docs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/348
2023-09-26 16:19:43 +00:00
Jörg Thalheim
0d41bec9ef zerotier: fix eval 2023-09-26 16:19:43 +00:00
Mic92
dd870ae903 Merge pull request 'move zerotier secret generation into nixos module' (#347) from Mic92-docs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/347
2023-09-26 16:17:44 +00:00
Jörg Thalheim
6e1a5ad81f move zerotier secret generation into nixos module 2023-09-26 18:14:00 +02:00
clan-bot
079d727a2c Merge pull request 'make zerotier module a directory' (#346) from Mic92-docs into main 2023-09-26 16:03:12 +00:00
Jörg Thalheim
c771339259 fix nix-unit build 2023-09-26 18:00:16 +02:00
Jörg Thalheim
74a3c85c29 move zerotier secret generation into nixos module 2023-09-26 17:57:43 +02:00
Jörg Thalheim
5d9ee64ddc make zerotier module a directory 2023-09-26 15:55:41 +02:00
clan-bot
45ae86f001 Merge pull request 'use shellSession everywhere for markdown' (#345) from Mic92-docs into main 2023-09-26 13:52:23 +00:00
Jörg Thalheim
49c17cc6d0 drop wonky ipdb PYTHONBREAKPOINT 2023-09-26 15:50:02 +02:00
Jörg Thalheim
5ea6c7790f use shellSession everywhere for markdown 2023-09-26 15:49:45 +02:00
clan-bot
8ab7d97301 Merge pull request 'replace bubblewrap with fakeroot' (#344) from Mic92-docs into main 2023-09-26 13:48:58 +00:00
Mic92
3a413a811c Merge pull request 'replace bubblewrap with fakeroot' (#343) from joerg-ci into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/343
2023-09-26 13:48:30 +00:00
Jörg Thalheim
87aa063e86 create test_flake unique per test
otherwise we will have race conditions
2023-09-26 15:46:40 +02:00
Jörg Thalheim
7eab8c22cf replace bubblewrap with fakeroot
this restores macOS support.
2023-09-26 15:33:45 +02:00
clan-bot
677494811b Merge pull request 'clan config: print command in more instances' (#342) from Mic92-docs into main 2023-09-26 12:13:09 +00:00
Jörg Thalheim
f85fdf678d clan config: print command in more instances 2023-09-26 14:10:52 +02:00
clan-bot
da1927581d Merge pull request 'unpin nix-fast-build' (#341) from Mic92-docs into main 2023-09-26 12:02:05 +00:00
Jörg Thalheim
29a48725ef clan config: print command on error 2023-09-26 14:00:20 +02:00
clan-bot
11d13cd03f Merge pull request 'clan.networking.zerotier: fix controller mode' (#340) from lassulus-zerotier into main 2023-09-26 11:15:09 +00:00
lassulus
2cdc959a77 clan.networking.zerotier: fix controller mode 2023-09-25 19:11:16 +02:00
clan-bot
0b50e2d29c Merge pull request 'Automatic flake update - 2023-09-25T00:00+00:00' (#339) from flake-update-2023-09-25 into main 2023-09-25 00:03:45 +00:00
Clan Merge Bot
e3f4bddcd0 update flake lock - 2023-09-25T00:00+00:00
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ace5093e36ab1e95cb9463863491bee90d5a4183' (2023-09-15)
  → 'github:NixOS/nixpkgs/e35dcc04a3853da485a396bdd332217d0ac9054f' (2023-09-22)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/ea208e55f8742fdcc0986b256bdfa8986f5e4415' (2023-09-12)
  → 'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/7a49c388d7a6b63bb551b1ddedfa4efab8f400d8' (2023-09-12)
  → 'github:numtide/treefmt-nix/e951529be2e7c669487de78f5aef8597bbae5fca' (2023-09-21)
2023-09-25 00:00:15 +00:00