Qubasa
a98463e3b9
Enabled logging DEBUG in pytest
2024-01-11 22:14:55 +01:00
Qubasa
6647c38417
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Qubasa
038aa769aa
cmd.py: Fixing bug: missing output because of forgotten flush() call
2024-01-11 21:11:49 +01:00
Qubasa
3ed58de082
Fixed missing log.BOTH and error_msg at prev refactors
2024-01-11 21:11:49 +01:00
Qubasa
13ba1440bd
cmd.py refactor part 4
2024-01-11 21:11:49 +01:00
clan-bot
0179cec841
Merge pull request 'make zerotier name configureable' ( #711 ) from Mic92-zerotier into main
2024-01-11 17:05:54 +00:00
Jörg Thalheim
656d94ed4d
schema-check: set clanName dummy
2024-01-11 18:02:50 +01:00
Jörg Thalheim
bb26c85573
drop deadcode
2024-01-11 18:00:42 +01:00
Jörg Thalheim
ca0749c76f
drop runSchemaTests/runMockApi from checks
2024-01-11 17:53:06 +01:00
Jörg Thalheim
163abdb311
schema: set also clanName
...
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
Jörg Thalheim
5dd222eb69
zerotier: set interface altname
2024-01-11 15:51:34 +01:00
clan-bot
5ed1db4f1e
Merge pull request 'zerotier-members: add ipv6 to list display' ( #712 ) from lassulus-zerotier-list into main
2024-01-11 14:49:28 +00:00
lassulus
babf69af4e
zerotier-members: add ipv6 to list display
2024-01-11 15:46:26 +01:00
Jörg Thalheim
449b884231
zerotier: use configuration file instead to set the network name
2024-01-11 14:57:00 +01:00
Jörg Thalheim
7e644a2054
make zerotier name configureable
2024-01-11 14:57:00 +01:00
clan-bot
b8bda773c4
Merge pull request 'zerotier: delete old networks' ( #709 ) from Mic92-zerotier into main
2024-01-11 12:29:09 +00:00
Jörg Thalheim
ab381dfb75
zerotier: delete old networks
2024-01-11 13:24:00 +01:00
Mic92
8bc16b0f87
Merge pull request 'meshnamed: mark networkmanager interfaces as unmanaged' ( #708 ) from zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/708
2024-01-11 11:47:59 +00:00
Jörg Thalheim
0a5b5e9b5c
meshnamed: mark networkmanager interfaces as unmanaged
2024-01-11 12:17:44 +01:00
clan-bot
7ce276c25c
Merge pull request 'cmd.py part 3 refactor' ( #706 ) from Qubasa-main into main
2024-01-10 17:57:51 +00:00
Qubasa
25e6f90b01
Improved error message. Fixed incorrect ret code check in git.py
2024-01-10 18:54:34 +01:00
Qubasa
50781d6cf0
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
Qubasa
513f48bab1
cmd.py part 3 refactor
2024-01-10 18:39:19 +01:00
Mic92
7bb78ce5a6
Merge pull request 'open up zerotier ports' ( #705 ) from Mic92-wayland-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/705
2024-01-10 17:24:41 +00:00
Jörg Thalheim
eb42320d14
open up zerotier ports
2024-01-10 17:24:41 +00:00
clan-bot
726ba6147f
Merge pull request 'Added ClanCmdError. cmd.run now returns this error' ( #704 ) from Qubasa-main into main
2024-01-10 17:02:08 +00:00
Qubasa
cbc4c966f1
Added ClanCmdError. cmd.run now returns this error
2024-01-10 17:58:39 +01:00
clan-bot
e75b4ac6e6
Merge pull request 'Refactor subprocess to cmd.py part 2' ( #685 ) from Qubasa-main into main
2024-01-10 16:34:38 +00:00
Qubasa
2f9195b779
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
Qubasa
715ed10e59
nix fmt
2024-01-10 17:19:33 +01:00
Qubasa
cc6f9e67fa
nix fmt
2024-01-10 17:19:12 +01:00
Qubasa
6f27cd8b6a
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
clan-bot
22b1438c37
Merge pull request 're-anble pulseaudio in qemu' ( #703 ) from Mic92-wayland-update into main
2024-01-10 14:36:25 +00:00
Mic92
65b3657eac
Merge branch 'main' into Mic92-wayland-update
2024-01-10 14:33:55 +00:00
Jörg Thalheim
d72bb17878
re-anble pulseaudio in qemu
2024-01-10 15:32:37 +01:00
Qubasa
7049573d28
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
clan-bot
98fff1f390
Merge pull request 'state: declare /home as state by default' ( #702 ) from DavHau-main into main
2024-01-10 10:40:36 +00:00
DavHau
49eca79751
state: declare /home as state by default
2024-01-10 17:37:40 +07:00
clan-bot
940f2fc68b
Merge pull request 'state: move options clanCore.state to a separate file' ( #701 ) from DavHau-main into main
2024-01-10 10:13:13 +00:00
DavHau
9f6af4129a
state: move options clanCore.state to a separate file
2024-01-10 17:10:10 +07:00
clan-bot
9f4e38fcf0
Merge pull request 'cmd: rework redirecting stdout/stderr' ( #700 ) from Mic92-wayland-update into main
2024-01-09 16:39:19 +00:00
Jörg Thalheim
b476f6386d
cmd: rework redirecting stdout/stderr
2024-01-09 17:34:43 +01:00
clan-bot
11cc850bed
Merge pull request 'VMs: ensure state dirs don't collide between clans' ( #699 ) from DavHau-main into main
2024-01-09 10:25:39 +00:00
DavHau
368931c5af
VMs: ensure state dirs don't collide between clans
2024-01-09 17:22:48 +07:00
clan-bot
2426094aad
Merge pull request 'VMs: port vm_persistence test to python' ( #698 ) from DavHau-main into main
2024-01-09 07:50:31 +00:00
DavHau
5cdd9a1817
VMs: port vm_persistence test to python
2024-01-09 14:47:33 +07:00
clan-bot
b26ab00edb
Merge pull request 'zerotier-members: print authorized state on list' ( #697 ) from lassulus-member_list_auth into main
2024-01-08 21:32:00 +00:00
lassulus
ae774353c1
zerotier-members: print authorized state on list
2024-01-08 22:28:13 +01:00
clan-bot
b092743ddd
Merge pull request 'VMs: persist state folders on host' ( #696 ) from DavHau-main into main
2024-01-08 11:42:19 +00:00
DavHau
4bdf769075
VMs: persist state folders on host
...
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders
TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00