DavHau
cd940abc4e
clan config: refactor - reorder functions
2023-10-24 15:27:19 +01:00
DavHau
7ddd624e8e
clan-cli/shell.nix: rename repo_root -> source
2023-10-23 16:15:46 +01:00
clan-bot
a650d9c341
Merge pull request 'machines/install: call correct upload function' ( #426 ) from Mic92-main into main
2023-10-14 14:06:59 +00:00
Jörg Thalheim
c82a4df9f9
machines/install: call correct upload function
2023-10-14 15:56:04 +02:00
lassulus
3dad667f97
vms.create: don't generate secrets if clan is remote
2023-10-11 12:01:42 +02:00
Qubasa
b49433958b
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
9c74c4d661
CLI: Fixed bug in firefox opening addon page because of new profile
2023-10-08 14:39:31 +02:00
DavHau
ceb6bdd474
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
f885c877bc
clan-cli: improve debug logging
2023-10-05 17:37:33 +02:00
DavHau
dbf80595fd
zerotier: fix: find free port without collissions
2023-10-05 17:03:01 +02:00
lassulus
bdb0a6484a
tests: add fixtures to test_vms_cli
2023-10-05 15:56:15 +02:00
DavHau
6abbf4bacd
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
4af74ee5a5
machines update: add --target-host
2023-10-04 23:28:15 +02:00
lassulus
3fb36b3ac1
secrets upload: skip on exit 23, cleanup
2023-10-04 21:29:19 +02:00
clan-bot
dfed8fdcb2
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
41106a67e2
test_secrets_password_store: create gpghome with save permissions
2023-10-04 19:56:18 +02:00
DavHau
bdd4cfc7d8
clan join: init
2023-10-04 18:53:59 +02:00
clan-bot
a2597717b3
Merge pull request 'webui: drop deadcode' ( #405 ) from Mic92-main into main
2023-10-04 16:20:23 +00:00
Jörg Thalheim
d0c1eddf79
task_manager: log stdout/stderr correctly for processes
2023-10-04 18:17:30 +02:00
Jörg Thalheim
d156218775
drop dead daemonize code
2023-10-04 18:17:30 +02:00
lassulus
99433ac290
test_vms_api: supply age key for secret creation
2023-10-04 18:13:25 +02:00
lassulus
bc36ec4c1a
vms: support secrets and fix cross compilation
2023-10-04 18:04:27 +02:00
lassulus
e8c9f27515
tests test_flake: disable dhcp
2023-10-04 17:52:06 +02:00
lassulus
fe1a3f0541
task_manager: fix race conditions
2023-10-04 17:52:06 +02:00
DavHau
544322ee6e
webui: open browser in new window
...
This gets closer to an app like feeling
2023-10-04 17:26:55 +02:00
clan-bot
018590d30b
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
04ba80f614
improve task manager to report exceptions better
2023-10-04 16:49:58 +02:00
lassulus
966a33e711
vm.create: define tmpdir
2023-10-04 16:46:30 +02:00
lassulus
b25af9f0f4
clan_cli: refactor secrets code into Machine class
2023-10-04 16:41:16 +02:00
lassulus
ffb7c63640
clan-cli: add machines install
2023-10-04 16:34:37 +02:00
DavHau
e6d22e6426
clan-cli devShell: add editable install
2023-10-04 11:39:31 +02:00
clan-bot
5e1a26df1a
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
1575e4a391
rename test_basic to test_create_flake
2023-10-04 11:01:12 +02:00
DavHau
017221febb
clan-cli: stop propagating build inputs, remove wrapper
2023-10-04 10:36:39 +02:00
Jörg Thalheim
80e37483a3
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
4abb7d7bf0
make vm test also work in ci
2023-10-03 18:50:14 +02:00
Jörg Thalheim
b2ef8bf1a3
also test that updating a group works
2023-10-03 16:15:36 +00:00
lassulus
6f7109dab6
clan_cli.secrets.groups: update keys if members are added/removed
2023-10-03 16:15:36 +00:00
Jörg Thalheim
b23d2b65e1
task_manager: return task directly instead of uuid
2023-10-03 17:48:56 +02:00
Jörg Thalheim
2502422bc1
add test for vm cli
2023-10-03 17:24:08 +02:00
Jörg Thalheim
361ad990ab
clan-cli/tests: skip tests if has no /dev/kvm
2023-10-03 17:24:08 +02:00
Jörg Thalheim
b1d045131a
add missing e2fsprogs to runtime inputs
2023-10-03 17:24:08 +02:00
Jörg Thalheim
ff11340507
move out vm logic out of controller
2023-10-03 17:24:08 +02:00
Qubasa
dbe289f702
nix fmt
2023-10-03 15:22:41 +02:00
Qubasa
8fa241a36b
Fixed upload_secrets_test
2023-10-03 15:14:50 +02:00
Qubasa
7dde66c0df
Fixed upload_secrets_test
2023-10-03 15:10:22 +02:00
Qubasa
be9d3d43bf
Fixing PYTHONPATH in secrets/generate test
2023-10-03 15:01:13 +02:00
Qubasa
cb2815c4d0
nix fmt
2023-10-03 14:39:29 +02:00
Qubasa
d8b69ec883
Added newlines against buffering for log streaming. Fixed cli
2023-10-03 14:38:51 +02:00
Qubasa
d25c3a0940
Added newlines against buffering
2023-10-03 14:36:15 +02:00