1
0
forked from clan/clan-core
Commit Graph

62 Commits

Author SHA1 Message Date
0481746198 drop meshnamed from repository
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00
ed653fa8b9 fix pyproject syntax, ignore E731 2024-03-03 06:20:08 +01:00
81fc60eef8 encrypt backups by default 2024-02-22 15:03:22 +01:00
b39c860379 fix borgbackup check
we need to switch to the classical test environment again, because borg
was complaining otherwise
2024-02-12 12:59:32 +01:00
eebd9d0b4a allow passing of extra_config into machines 2024-02-11 08:40:41 +01:00
38cadd0ab2 Added --debug flag clan command in nix tests 2024-02-05 13:37:35 +07:00
3538cf2e46 rename deployment address to target address
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
abaa218e27 clan-cli install: use new Machine interface, fix mypy error 2024-01-24 15:49:24 +01:00
3284224440 clan-cli backups: use new machine class for eval 2024-01-24 15:49:12 +01:00
3271e4b6b6 don't garbage collect in nix vm tests
Otherwise we loose our build inputs
2024-01-19 15:02:25 +01:00
78cd5b3fec zt-tcp-relay: add clan module + test 2024-01-12 14:25:31 +01:00
c86e465e35 drop qemu-rutabaga patches 2024-01-12 12:20:29 +01:00
f7c6ab5888 Working test_secrets_generate 2024-01-11 21:48:39 +01:00
72409a800a schema-check: set clanName dummy 2024-01-11 18:02:50 +01:00
8d63bb8fd1 drop deadcode 2024-01-11 18:00:42 +01:00
32ec520fa5 drop runSchemaTests/runMockApi from checks 2024-01-11 17:53:06 +01:00
17390fc392 VMs: port vm_persistence test to python 2024-01-09 14:47:33 +07:00
c29e0086a4 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
cb06353451 pytest: Removed -s flag for CI 2023-12-26 18:20:41 +01:00
142fe15e80 checks: add test-installation 2023-12-18 23:41:31 +01:00
bbc55743a6 checks backups: remove debug output 2023-12-18 23:41:31 +01:00
a4075510c8 flake: define option for clanInternals
We need this to define test machines in different flake modules
2023-12-18 23:41:31 +01:00
ae6f3fa7d7 checks: move ssh_keys to lib/ssh 2023-12-16 22:52:18 +01:00
cc3701f22f checks backup: limit to linux systems 2023-12-16 22:02:36 +01:00
5c1cf947ab checks: add backup test 2023-12-16 21:46:19 +01:00
9dfc3f9613 add wayland-proxy-virtwl module 2023-12-15 14:14:20 +01:00
ff3b8f1db0 init: syncthing module
Assumes one `introducer` peer, which can AutoShare configured folders,
with peers that know the `deviceID` of the introducer.
2023-12-07 14:10:15 +01:00
0b772668a8 Merge pull request 'backups: add clanCore backup & clan borgbackup module' (#605) from lassulus-backups into main 2023-12-04 16:51:33 +00:00
e772d29f44 implement backup cli for borgbackup 2023-12-04 17:47:23 +01:00
4fd84d1c48 disallow variable shadowing 2023-11-30 14:31:37 +01:00
780ffb9c8f make type checking more strict 2023-11-30 14:31:37 +01:00
f1b223d0a1 modernisation for python 3.11 2023-11-29 13:29:45 +00:00
26e3e3872c enable more linting 2023-11-29 13:29:45 +00:00
640430075a backups: add clanCore backup & clan borgbackup module 2023-11-23 18:12:49 +01:00
48f0381fb5 schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue 2023-11-20 17:14:12 +01:00
8cda86d34c
integrated meshnamed with systemd-resolved 2023-11-15 07:21:26 +01:00
bdc8ef63ed add module for meshnamed 2023-11-14 12:58:15 +01:00
2a6e329e40 api/schema: get schema without having a machine
Also done:
- add @pytest.mark.with_core indicating that a test depends on clan-core and cannot be cached
- separate unit tests into two derivations, ones that can be cached and ones that cannot.
- fix frontend typescript code
2023-11-09 15:30:25 +07:00
7240727b26 Added deal contract framework and testing documentation 2023-11-08 19:56:07 +01:00
557a0db7d1 deltachat: import module from clanModules 2023-11-03 14:02:07 +01:00
b92052dbfb container-driver: fix eval 2023-11-03 14:01:43 +01:00
5cb4019942 switch from black to ruff for formatting 2023-11-03 13:38:13 +01:00
f71e56b111 add deltachat module 2023-11-03 10:39:51 +00:00
5753f32930 add container test driver 2023-10-25 13:16:13 +00:00
89b7ffce6c clan-cli secrets upload: secrets are populated into tmpdir 2023-09-29 20:05:35 +02:00
9242b3d118 also evaluate for aarch64-darwin 2023-09-28 16:01:42 +02:00
9825c179a8 impure-tests: migrate bash to pytest and fix stuff 2023-09-22 18:32:28 +02:00
17520e2553 fix impure tests 2023-09-21 18:29:18 +02:00
18c360f729 make all pytest dependencies also available to impure tests 2023-09-21 17:25:32 +02:00
0ee6de86af checks: run impure pytest tests in CI pipeline 2023-09-19 16:46:46 +02:00