Commit Graph

173 Commits

Author SHA1 Message Date
74fbb7890c fixed cors issues
All checks were successful
checks-impure / test (pull_request) Successful in 30s
checks / test (pull_request) Successful in 1m15s
2024-01-07 14:56:06 +01:00
6535422148 Fixed mypy complaints 2024-01-07 14:02:23 +01:00
bd30682092 Stash changes 2024-01-07 13:35:22 +01:00
aa664dfce1 Added working python generator in tests 2024-01-05 16:50:27 +01:00
0c9a8349a6 Added exclude **/tests/openapi_client/** to nix fmt 2024-01-05 13:44:42 +01:00
633055010b Generate python client for tests 2024-01-05 13:18:46 +01:00
5fad1e678f Rename producer to service and consumer to client 2024-01-04 22:40:10 +01:00
sara-pervana
8ee14f1a7b Before Milestone Meeting Final Changes (#40)
Some checks failed
checks-impure / test (push) Successful in 28s
checks / test (push) Successful in 1m13s
assets1 / test (push) Failing after 52s
some final fixes before the demo

Co-authored-by: Luis-Hebendanz <consulting@qube.email>
Reviewed-on: #40
Co-authored-by: sara-pervana <saramakishti@gmail.com>
Co-committed-by: sara-pervana <saramakishti@gmail.com>
2023-12-12 23:00:37 +01:00
b12201c559 Added resolution endpoint. Added delete endpoints. Added tests for new endpoints
All checks were successful
checks-impure / test (pull_request) Successful in 29s
checks / test (pull_request) Successful in 1m17s
2023-12-09 20:57:05 +01:00
4e0346d0a0 nix fmt
Some checks failed
checks-impure / test (pull_request) Successful in 29s
checks / test (pull_request) Failing after 1m29s
2023-12-09 18:57:55 +01:00
a93e6019c5 clan_cli: Added automated database population. Fixed incorrect error handling in backend 2023-12-09 18:57:20 +01:00
Georg-Stahn
ef74a557e8 add formatting
All checks were successful
checks-impure / test (pull_request) Successful in 31s
checks / test (pull_request) Successful in 3m12s
2023-12-03 14:17:20 +01:00
Georg-Stahn
0a902a843d add commit push fail
Some checks failed
checks-impure / test (pull_request) Successful in 29s
checks / test (pull_request) Failing after 1m56s
2023-12-02 14:55:12 +01:00
Georg-Stahn
6f435df7e9 added c2 and more services +4 2023-12-02 14:27:59 +01:00
Georg-Stahn
8325d80d39 added c2 and more services +4 2023-12-02 14:26:59 +01:00
Georg-Stahn
51913f015b Georg-Stahn-georgs (#25)
All checks were successful
checks-impure / test (push) Successful in 29s
checks / test (push) Successful in 1m18s
assets1 / test (push) Successful in 22s
Co-authored-by: sara-pervana <saramakishti@gmail.com>
Co-authored-by: ui-asset-bot <ui-asset-bot@gchq.icu>
Co-authored-by: Onur Arslan <runoxa@hotmail.com>
Co-authored-by: Arslan, Erdem <erdem.arslan@valtech.com>
Co-authored-by: Luis-Hebendanz <consulting@qube.email>
Reviewed-on: #25
Co-authored-by: Georg-Stahn <g.stahn@campus.tu-berlin.de>
Co-committed-by: Georg-Stahn <g.stahn@campus.tu-berlin.de>
2023-12-02 12:57:44 +01:00
d053d4fba4 Fixing broken CI 2023-10-23 03:23:57 +02:00
a659800cb8 Fixing broken CI 2023-10-23 03:17:57 +02:00
805efb7ec7 Working base cli webui 2023-10-23 01:18:58 +02:00
c7c47b6527 Befor fixing linting problem 2023-10-22 21:03:06 +02:00
6def19b4c8 Added new type FlakeName 2023-10-14 15:17:58 +02:00
718f647774 Added flake_name:str argument everywhere, nix fmt doesn't complain anymore 2023-10-14 14:57:36 +02:00
740e5e2ebc Added state directory. 2023-10-13 19:56:10 +02:00
4ab4832d41 API: Added Path validators. api/flake/create inits git repo. Fixed vscode interpreter problem 2023-10-12 22:46:32 +02:00
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
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
lassulus
bdb0a6484a tests: add fixtures to test_vms_cli 2023-10-05 15:56:15 +02:00
Jörg Thalheim
41106a67e2 test_secrets_password_store: create gpghome with save permissions 2023-10-04 19:56:18 +02:00
lassulus
99433ac290 test_vms_api: supply age key for secret creation 2023-10-04 18:13:25 +02:00
lassulus
e8c9f27515 tests test_flake: disable dhcp 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
Jörg Thalheim
04ba80f614 improve task manager to report exceptions better 2023-10-04 16:49:58 +02:00
Jörg Thalheim
1575e4a391 rename test_basic to test_create_flake 2023-10-04 11:01:12 +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
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
Qubasa
cb2815c4d0 nix fmt 2023-10-03 14:39:29 +02:00
Qubasa
8e98c50ccd Merge branch 'Qubasa-main' of git.clan.lol:clan/clan-core 2023-10-03 13:24:31 +02:00
Qubasa
da72ec18ad API: Added test for inspect_flake 2023-10-03 13:19:20 +02:00
Qubasa
c1c68ee1d8 Fixed failing tests 2023-10-03 13:15:01 +02:00
Qubasa
167533d9ee API: Added test for inspect_flake 2023-10-03 12:50:47 +02:00
Qubasa
653ad99b22 Fixed failing tests 2023-10-03 11:51:31 +02:00
Johannes Kirschbauer
16f44900a3 Beyoncé rule 2023-10-03 11:21:34 +02:00
Qubasa
ce7ae81a35 API: Added endpoint & test for /api/flake/attrs 2023-10-01 12:50:54 +02:00
Qubasa
f224deace9 API: Improved vm_status and added some tests. Skip vm tests in VM 2023-09-30 11:08:42 +02:00
lassulus
6e3f2b1ce2 tests: add test_secrets_password_store 2023-09-29 20:05:35 +02:00
lassulus
89b7ffce6c clan-cli secrets upload: secrets are populated into tmpdir 2023-09-29 20:05:35 +02:00
Jörg Thalheim
739d3b3578 zerotier: document mdns ports; drop duplicate udp firewall rules
the nixos module already opens the zerotier port
2023-09-28 17:58:42 +02:00
Jörg Thalheim
be6592c82c also generate zerotier secret for vm 2023-09-28 17:57:44 +02:00