Johannes Kirschbauer
5acd9aabf3
UI: init update machine
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
4940767fcc
Serde: extend deserializer to accept anything
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
ce560e05cd
API: init machine update
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
016b3e846d
Machine update: fix upload sources from machine flake, instead of current directory
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
e2c3f31fe0
Clan-app: move expert field into advanced form
2024-08-15 12:26:43 +02:00
Jörg Thalheim
8e1b96aea5
fixtures_flake: avoid fileinput
...
it seems that the inplace argument in some cases picks up output from
unrelated functions. Since the file is relativly small, we can just
replace the content in one go.
2024-08-14 16:56:44 +02:00
Johannes Kirschbauer
c86b14d34d
Clan-app: generate hw spec via ssh
2024-08-14 16:28:43 +02:00
Johannes Kirschbauer
6709d47ae5
Clan-cli: remove unused show machine
2024-08-14 16:18:43 +02:00
Johannes Kirschbauer
8897f2907d
Clan-app: dynamic router concept
2024-08-14 13:16:14 +02:00
DavHau
ee031094e3
pkgs/yagna: init at pre-rel-v0.16.0-preview.deposits.3
2024-08-13 22:14:39 +02:00
Johannes Kirschbauer
7aa279a4fd
Clan-app: adapt overall appearance & layout
2024-08-13 21:08:52 +02:00
clan-bot
d2aebb193b
Merge pull request 'UI: add deploy feature, for initial machine deployment' ( #1878 ) from hsjobeki/clan-core:hsjobeki-ui into main
2024-08-13 17:36:14 +00:00
clan-bot
3d3ea5da23
Merge pull request 'API: init setter for service instance config.' ( #1879 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-13 17:36:02 +00:00
clan-bot
3459628b5d
Merge pull request 'Serializer: filter None fields, to avoid conflicts with nix module system' ( #1880 ) from hsjobeki/clan-core:hsjobeki-serde into main
2024-08-13 17:36:01 +00:00
Johannes Kirschbauer
d5a0a349db
API: add keyfile arg
2024-08-13 19:29:28 +02:00
Johannes Kirschbauer
dfbe03bf6b
Serializer: filter None fields, to avoid conflicts with nix module system
2024-08-13 19:27:59 +02:00
Johannes Kirschbauer
2cf949783a
API: init setter for service instance config.
2024-08-13 19:27:16 +02:00
Johannes Kirschbauer
8e211fb715
UI: add deploy button, for initial machine deployment
2024-08-13 19:24:53 +02:00
Johannes Kirschbauer
887c5ecb0a
Webview: use importNpmLock
2024-08-13 19:15:23 +02:00
Johannes Kirschbauer
824dc34eb8
API: init install machine
2024-08-13 18:58:20 +02:00
DavHau
75328beb06
vars: add test for deployment
2024-08-13 15:29:51 +02:00
Qubasa
7f0604f86e
clan-cli: Add --show-trace to nix build and nixos-rebuild commands
2024-08-12 22:27:54 +02:00
Qubasa
85a47a6dcd
clan-cli: Add --wifi option to set wifi credentials. clan-app: Add wifi settings form to flash view
2024-08-07 21:35:06 +02:00
Qubasa
83c6945e39
clanModule: Init wifi iwd clan module, with which you can predefine wifi network credentials
2024-08-07 15:50:30 +02:00
Qubasa
edf0f9106a
clan-app: Initial move to process based api calling instead of thread based
2024-08-07 15:49:39 +02:00
Johannes Kirschbauer
e55b0fea2e
Clan-cli: remove unused debug flag in list machine
2024-08-07 12:17:32 +02:00
Johannes Kirschbauer
fc634016b6
Clan-app: Flash improve form & file input
2024-08-07 12:16:06 +02:00
Johannes Kirschbauer
e69d6b22f0
Clan-app: Add loading animations & improve async data handling
2024-08-06 22:29:11 +02:00
Johannes Kirschbauer
6158e82f43
Clan-app: refine create machine workflow via query operation
2024-08-06 16:04:21 +02:00
Johannes Kirschbauer
a4bbdcb010
Clan-core: Rename clanName within Machines
2024-08-06 12:21:46 +02:00
Johannes Kirschbauer
e0d7a423b4
Clan-app: show nixos machines and inventory machines
2024-08-06 10:44:31 +02:00
DavHau
9381d78feb
clan-cli/vms: add option --publish to forward ports from host to guest
2024-08-04 15:28:51 +07:00
DavHau
b2646aa0fe
tests: improve testing framework for impure vm tests
...
Also fix computet sops secret paths for vars
2024-08-04 13:40:12 +07:00
DavHau
c5b8948509
devshell: remove dependency on clan-cli
...
This stops the devshell from being re-built constantly, when the source code changes.
Based on a new feature in treefmt-nix: https://github.com/numtide/treefmt-nix/pull/208
2024-08-03 22:37:03 +07:00
Johannes Kirschbauer
15ba9b8bfb
Fix: type test
2024-08-03 13:14:08 +02:00
Johannes Kirschbauer
91397adbfc
Fix: regression list_machines. Split into multiple functions
...
list_inventory_machines, list_nixos_machine, list_sops_machines
The caller of the function should specify which machines they wants to see
2024-08-03 12:43:35 +02:00
Johannes Kirschbauer
8fd09b8403
Add build-clan module
2024-08-03 12:05:09 +02:00
DavHau
d3542cf1c8
vars: simplify tests
2024-08-03 15:47:35 +07:00
DavHau
8086f70b79
clan-cli/tests: improve test helpers for VMs
2024-08-03 15:26:53 +07:00
DavHau
cc9c828598
vars: introduce share flag
2024-08-03 15:26:53 +07:00
Qubasa
58a36a5c12
formatter.nix: Add prettier
2024-08-02 18:56:53 +02:00
Qubasa
f1d124dabd
clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid.
2024-08-02 17:51:45 +02:00
a-kenji
a465ad8638
clan: remove config subcommand
...
This removes the `config` subcommand from the cli and the documentation
to keep the api surface small.
While this functionality was convenient it doesn't need to be surfaced
by the clan cli.
The remaining `config` python module should be ported to the `clan-app`
in a follow up pr. Because the functionality is currently only used by
the `clan-app`.
Ideally together with: #1830 .
2024-07-31 16:35:36 +00:00
Johannes Kirschbauer
6c5f9ca6db
Deserializer: add Literal; Annotated fields
2024-07-31 13:00:28 +02:00
clan-bot
0894ee95c8
Merge pull request 'Deserializer: replace pydantic' ( #1826 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-30 12:36:08 +00:00
Johannes Kirschbauer
4b2d1b7923
Deserializer: add Nullable fields
2024-07-30 14:26:13 +02:00
a-kenji
acb5560de8
clan: remove flatpak check
...
This check logs, if the cli is started inside a flatpak environment.
2024-07-30 14:21:15 +02:00
a-kenji
d360cf86cb
merge-after-ci: use nix fmt
...
Use `nix fmt` instead of `treefmt` directly, since `treefmt` depends on
the cached devshell. This can lead to confusing errors.
2024-07-30 11:43:40 +00:00
a-kenji
ccdfd0c6fc
clan/secrets: improve naming of secret key
...
Change the secret key help wording to: `secret-name`,
to convey that it is the key and not the value.
Fixes : #1696
2024-07-30 12:54:22 +02:00
Johannes Kirschbauer
e21bfbc257
Deserializer: replace pydantic
2024-07-30 12:26:16 +02:00