Commit Graph

1403 Commits

Author SHA1 Message Date
Qubasa
942aa10a31 API: Added /api/flake/create. Fixed vscode search settings. Moved clan create to clan flake create 2023-10-09 14:01:34 +02:00
Qubasa
df32081b60 CLI: Fixed bug in firefox opening addon page because of new profile 2023-10-08 14:39:31 +02:00
DavHau
cc8f99d06c clan join: test create vm for clan join
This adds a vm create test for the `clan join` scenario where:
  - there is no local clan to write changes to
  - a machine from a remote flake needs to be built and run
  - no users and no secrets need to be or can be managed (no flake to write files to)
2023-10-06 19:15:25 +02:00
DavHau
4f9fa94e46 clan-cli: improve debug logging 2023-10-05 17:37:33 +02:00
DavHau
9e4c5cadf1 zerotier: fix: find free port without collissions 2023-10-05 17:03:01 +02:00
lassulus
cc7f96961e tests: add fixtures to test_vms_cli 2023-10-05 15:56:15 +02:00
DavHau
b8da1a8e08 clan-cli: unset LD_LIBRARY_PATH
This prevents problems with mixed glibc versions that might occur when the cli is called through a browser built against another glibc
2023-10-05 13:44:08 +02:00
lassulus
ee76a78aed machines update: add --target-host 2023-10-04 23:28:15 +02:00
lassulus
528d0ee45a secrets upload: skip on exit 23, cleanup 2023-10-04 21:29:19 +02:00
clan-bot
718deb9c70 Merge pull request 'test_secrets_password_store: create gpghome with save permissions' (#407) from Mic92-main into main 2023-10-04 17:59:18 +00:00
Jörg Thalheim
5180b6655e test_secrets_password_store: create gpghome with save permissions 2023-10-04 19:56:18 +02:00
DavHau
e6f1ba9291 clan join: init 2023-10-04 18:53:59 +02:00
clan-bot
a64c3b7525 Merge pull request 'webui: drop deadcode' (#405) from Mic92-main into main 2023-10-04 16:20:23 +00:00
Jörg Thalheim
8d423cc5f1 task_manager: log stdout/stderr correctly for processes 2023-10-04 18:17:30 +02:00
Jörg Thalheim
876e79d7a6 drop dead daemonize code 2023-10-04 18:17:30 +02:00
lassulus
7a224c0130 test_vms_api: supply age key for secret creation 2023-10-04 18:13:25 +02:00
lassulus
9457a0f4b9 vms: support secrets and fix cross compilation 2023-10-04 18:04:27 +02:00
lassulus
b46aaac568 tests test_flake: disable dhcp 2023-10-04 17:52:06 +02:00
lassulus
0ed50d994b task_manager: fix race conditions 2023-10-04 17:52:06 +02:00
DavHau
a2f729fb2a webui: open browser in new window
This gets closer to an app like feeling
2023-10-04 17:26:55 +02:00
clan-bot
4a72889bd3 Merge pull request 'improve task manager to report exceptions better' (#402) from Mic92-main into main 2023-10-04 14:51:41 +00:00
Jörg Thalheim
b0b680c39d improve task manager to report exceptions better 2023-10-04 16:49:58 +02:00
lassulus
67ff04b1f9 vm.create: define tmpdir 2023-10-04 16:46:30 +02:00
lassulus
01087e2da8 clan_cli: refactor secrets code into Machine class 2023-10-04 16:41:16 +02:00
lassulus
1b9ea830c9 clan-cli: add machines install 2023-10-04 16:34:37 +02:00
DavHau
41a0884acb clan-cli devShell: add editable install 2023-10-04 11:39:31 +02:00
clan-bot
4c61c02506 Merge pull request 'rename test_basic to test_create_flake' (#396) from Mic92-main into main 2023-10-04 09:04:09 +00:00
Jörg Thalheim
e3e486b2fd rename test_basic to test_create_flake 2023-10-04 11:01:12 +02:00
DavHau
7b157b279f clan-cli: stop propagating build inputs, remove wrapper 2023-10-04 10:36:39 +02:00
Jörg Thalheim
eaf7f62e26 don't register global logger, this interferes currently with that we have in ssh.py 2023-10-04 08:08:06 +02:00
Jörg Thalheim
6ffe39a915 make vm test also work in ci 2023-10-03 18:50:14 +02:00
Jörg Thalheim
c5b0787034 also test that updating a group works 2023-10-03 16:15:36 +00:00
lassulus
251a67ae9e clan_cli.secrets.groups: update keys if members are added/removed 2023-10-03 16:15:36 +00:00
Jörg Thalheim
f8e5f261f9 task_manager: return task directly instead of uuid 2023-10-03 17:48:56 +02:00
Jörg Thalheim
e27efd4035 add test for vm cli 2023-10-03 17:24:08 +02:00
Jörg Thalheim
844ed6dddd clan-cli/tests: skip tests if has no /dev/kvm 2023-10-03 17:24:08 +02:00
Jörg Thalheim
df6962d316 add missing e2fsprogs to runtime inputs 2023-10-03 17:24:08 +02:00
Jörg Thalheim
c03effed54 move out vm logic out of controller 2023-10-03 17:24:08 +02:00
Qubasa
6de1aeebb9 nix fmt 2023-10-03 15:22:41 +02:00
Qubasa
abd78293fc Fixed upload_secrets_test 2023-10-03 15:14:50 +02:00
Qubasa
d60205ea56 Fixed upload_secrets_test 2023-10-03 15:10:22 +02:00
Qubasa
5628475345 Fixing PYTHONPATH in secrets/generate test 2023-10-03 15:01:13 +02:00
Qubasa
499c42fd20 nix fmt 2023-10-03 14:39:29 +02:00
Qubasa
76943ac7ee Added newlines against buffering for log streaming. Fixed cli 2023-10-03 14:38:51 +02:00
Qubasa
98b5befa0e Added newlines against buffering 2023-10-03 14:36:15 +02:00
Qubasa
f1d5cacd76 Added better logging 2023-10-03 14:16:07 +02:00
Qubasa
42d81230c4 Merge branch 'Qubasa-main' of git.clan.lol:clan/clan-core 2023-10-03 13:24:31 +02:00
Qubasa
f5bead7403 API: Added test for inspect_flake 2023-10-03 13:19:20 +02:00
Qubasa
c78af6243c Fixed failing tests 2023-10-03 13:15:01 +02:00
Qubasa
3a8ce96b43 CLI: Restructured TaskManager and log collection 2023-10-03 13:15:01 +02:00