Commit Graph

2183 Commits

Author SHA1 Message Date
DavHau
2fafc9a38b api/machines: init put_machine replacing create_machine and set_machine_config
This allows creating and configuring a machine in one single step.
2023-11-13 20:25:52 +07:00
DavHau
0dae746bed task_manager.py: fix index out of range bug 2023-11-13 20:21:51 +07:00
DavHau
52af144135 commit_file: fix diff computation
previously computed diff over all files
2023-11-13 19:59:20 +07:00
DavHau
3745709449 chore: remove unnecessary comment 2023-11-12 07:57:48 +07:00
DavHau
1e2e37880c api/machines: ensure name is valid hostname 2023-11-12 07:57:48 +07:00
ui-asset-bot
0faeca7ad4 update ui-assets.nix 2023-11-11 14:30:55 +00:00
Johannes Kirschbauer
eab4a41734 fix type errors 2023-11-11 15:27:57 +01:00
Johannes Kirschbauer
76328c2196 merge main 2023-11-11 15:11:06 +01:00
Johannes Kirschbauer
e3750db235 clean up join workflow 2023-11-11 15:01:18 +01:00
Johannes Kirschbauer
ebed5ab618 add & configure machine: added formular integration 2023-11-11 10:08:39 +01:00
Jörg Thalheim
706e7970f4 vms/create: drop extra flake argument and make it work with local flakes 2023-11-10 13:43:14 +01:00
Jörg Thalheim
6c2daab266 rename luispkgs to nixpkgs-for-deal 2023-11-10 13:14:06 +01:00
Jörg Thalheim
ba305a946e dirs: opportuniscally create directories 2023-11-10 12:55:46 +01:00
Jörg Thalheim
2924e3e912 drop unused clan_data_dir 2023-11-10 12:55:46 +01:00
Jörg Thalheim
48d7968cf9 move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS 2023-11-10 12:50:51 +01:00
Jörg Thalheim
cb2145be65 drop unused ClanDataPath 2023-11-10 12:46:15 +01:00
Jörg Thalheim
6ef5dab65d breakpoint_shell: make work_dir optional 2023-11-10 12:40:51 +01:00
Jörg Thalheim
2e939bedd6 moving deal dependencies to tests only 2023-11-10 12:39:24 +01:00
clan-bot
aa15bebb0c Merge pull request 'zerotier: allow to persist zerotier identities/ips/meshnames for non-controller' (#482) from zerotier into main 2023-11-10 10:59:48 +00:00
Jörg Thalheim
e436fef13d allow to persist zerotier identities/ips/meshnames for non-controller 2023-11-10 11:56:54 +01:00
DavHau
170d29a15a api/schema: return list of missing modules 2023-11-10 15:07:15 +07:00
DavHau
da32031eda api/schema: don't crash on eval error 2023-11-10 14:27:03 +07:00
Jörg Thalheim
679b70bb34 also override XDG_DATA_HOME in tests
otherwise tests will fail if XDG_DATA_HOME is set by a user
2023-11-09 17:45:24 +01:00
Jörg Thalheim
5d972ed4a4 clan: use .local/share as default for XDG_DATA_HOME 2023-11-09 17:45:24 +01:00
Jörg Thalheim
d025902aac fix error message if clan flake does not exist 2023-11-09 17:44:44 +01:00
ui-asset-bot
fe6088afa9 update ui-assets.nix 2023-11-09 08:34:03 +00:00
DavHau
fc1591a0a8 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
Qubasa
4ff9990054 Fixed wrong examples 2023-11-08 21:40:17 +01:00
Qubasa
d7b563bbb7 Added deal as python dependency 2023-11-08 20:14:32 +01:00
Qubasa
93c6270386 Added deal contract framework and testing documentation 2023-11-08 19:56:07 +01:00
Qubasa
e565c0527c Added schemathesis dependency 2023-11-08 19:56:05 +01:00
Qubasa
dbe32b5e72 Flake: Added python package deal as dependency 2023-11-08 19:55:11 +01:00
Jörg Thalheim
c796bc4a8b package meshnamed 2023-11-08 14:32:49 +01:00
DavHau
6e281dd7c3 api/machines: better input/output validation
Also move contents tof 'config' to the top-level
2023-11-06 17:56:27 +07:00
lassulus
efafe6f0e3 clan-cli secrets: flake_name -> flake_dir 2023-11-05 16:58:48 +01:00
ui-asset-bot
fd6b5a57bd update ui-assets.nix 2023-11-04 14:13:47 +00:00
clan-bot
db7aa564a7 Merge pull request 'add error handling' (#467) from feat/configure-modules into main 2023-11-04 14:12:27 +00:00
Johannes Kirschbauer
37533aa00d add error handling
prevent the user to go into next step if schema cannot be retrieved
2023-11-04 15:10:37 +01:00
ui-asset-bot
61d8bd8c0b update ui-assets.nix 2023-11-04 13:58:39 +00:00
clan-bot
ab483d409b Merge pull request 'style & explanation text' (#466) from feat/configure-modules into main 2023-11-04 13:57:20 +00:00
Johannes Kirschbauer
46cd25cc0d style & explanation text 2023-11-04 14:55:32 +01:00
ui-asset-bot
096a14fb41 update ui-assets.nix 2023-11-04 13:05:01 +00:00
Johannes Kirschbauer
93f0f2141a format stuff 2023-11-04 14:02:32 +01:00
Johannes Kirschbauer
b8c5419dba select modules.Prefetched schema depends only on modules 2023-11-04 13:53:30 +01:00
ui-asset-bot
48fb4f7550 update ui-assets.nix 2023-11-04 08:58:19 +00:00
Johannes Kirschbauer
aed41a8fbf fix changed api imports 2023-11-04 09:55:53 +01:00
Johannes Kirschbauer
376aee57e9 disable lint rule 2023-11-04 09:46:14 +01:00
Johannes Kirschbauer
1ff5595dbc format 2023-11-04 09:16:37 +01:00
Johannes Kirschbauer
3696ecbae5 merge main 2023-11-04 09:15:15 +01:00
ui-asset-bot
cb385b2e3c update ui-assets.nix 2023-11-03 21:45:18 +00:00