9381d78feb
clan-cli/vms: add option --publish to forward ports from host to guest
2024-08-04 15:28:51 +07:00
0fdfbf99e6
Merge pull request 'tests: improve testing framework for impure vm tests' ( #1846 ) from DavHau/clan-core:DavHau-vars into main
2024-08-04 06:43:44 +00:00
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
b93aa1896e
Merge pull request 'build-clan: fix specialArgs not passed' ( #1845 ) from DavHau/clan-core:DavHau-dave into main
2024-08-04 06:10:37 +00:00
d7475bef37
build-clan: fix specialArgs not passed
2024-08-04 13:06:51 +07:00
a9f0e90d12
Merge pull request 'devshell: remove dependency on clan-cli' ( #1844 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 15:42:27 +00:00
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
337a2ea883
Merge pull request 'Add build-clan module' ( #1843 ) from hsjobeki/clan-core:hsjobeki-flake-parts into main
2024-08-03 11:38:18 +00:00
15ba9b8bfb
Fix: type test
2024-08-03 13:14:08 +02:00
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
79e15bff24
Add: legacy support for implicitly creating machines through creating a directory
...
This will be deprecated as soon as the tests dont rely on this behavior anymore
2024-08-03 12:05:09 +02:00
5d12154f96
Forward clan name for vm test compatibility
2024-08-03 12:05:09 +02:00
ac6b7f84e0
Fix wrong unit tests
2024-08-03 12:05:09 +02:00
ef58bea020
Fix wrong default for imports
2024-08-03 12:05:09 +02:00
d51508656f
Add flake-parts module
2024-08-03 12:05:09 +02:00
8fd09b8403
Add build-clan module
2024-08-03 12:05:09 +02:00
f6daaf79a7
Merge pull request 'vars: simplify tests' ( #1842 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 08:51:39 +00:00
d3542cf1c8
vars: simplify tests
2024-08-03 15:47:35 +07:00
844c219348
Merge pull request 'vars: introduce share flag' ( #1841 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 08:33:38 +00:00
8086f70b79
clan-cli/tests: improve test helpers for VMs
2024-08-03 15:26:53 +07:00
cc9c828598
vars: introduce share flag
2024-08-03 15:26:53 +07:00
a40ddd2b24
Merge pull request 'clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid. formatter.nix: Add deno as formatter' ( #1839 ) from Qubasa/clan-core:Qubasa-Qubasa-main into main
2024-08-02 17:02:32 +00:00
58a36a5c12
formatter.nix: Add prettier
2024-08-02 18:56:53 +02:00
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
e2bdf22f78
Merge pull request 'formatter: remove broken vale configuration' ( #1835 ) from kenji/clan-core:clan/rm-broken-vale into main
...
Reviewed-on: clan/clan-core#1835
Reviewed-by: Luis Hebendanz <consulting@qube.email>
2024-07-31 17:04:54 +00:00
c7c6012bcc
formatter: remove broken vale configuration
...
Removes the broken and uncommented value configuration for vale.
While vale can be a valuable tool, we need a working configuration if we
want to use it. Keeping a broken configuration on main is not a
sustainable model.
We can fix it and reintroduce it cleanly at a later stage.
2024-07-31 18:42:16 +02:00
b3af929490
Merge pull request 'clan: remove config subcommand' ( #1828 ) from kenji/clan-core:clan/remove-config into main
...
Reviewed-on: clan/clan-core#1828
2024-07-31 16:35:36 +00:00
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
26edcb8562
Merge pull request 'Deserializer: add Literal; Annotated fields' ( #1833 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-31 11:06:48 +00:00
6c5f9ca6db
Deserializer: add Literal; Annotated fields
2024-07-31 13:00:28 +02:00
0894ee95c8
Merge pull request 'Deserializer: replace pydantic' ( #1826 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-30 12:36:08 +00:00
350d565ddd
Merge pull request 'clan: remove flatpak check' ( #1831 ) from kenji/clan-core:clan/rm-flatpak into main
...
Reviewed-on: clan/clan-core#1831
2024-07-30 12:34:19 +00:00
4b2d1b7923
Deserializer: add Nullable fields
2024-07-30 14:26:13 +02:00
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
2d4cd0c9be
Merge pull request 'merge-after-ci: use nix fmt
' ( #1823 ) from kenji/clan-core:feat/merge-after-ci into main
...
Reviewed-on: clan/clan-core#1823
2024-07-30 11:43:40 +00:00
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
f11ddf92e9
Merge pull request 'checks/mumble: improve dependency closure' ( #1827 ) from kenji/clan-core:mumble-improve-closure into main
...
Reviewed-on: clan/clan-core#1827
2024-07-30 11:40:13 +00:00
9f6f754606
checks/mumble: improve dependency closure
2024-07-30 13:11:50 +02:00
03f87b24d3
Merge pull request 'clan/secrets: improve naming of secret key' ( #1825 ) from kenji/clan-core:kenji-cli-change-wording into main
...
Reviewed-on: clan/clan-core#1825
Reviewed-by: Mic92 <joerg@thalheim.io>
2024-07-30 10:58:45 +00:00
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
e21bfbc257
Deserializer: replace pydantic
2024-07-30 12:26:16 +02:00
f3c909b563
Merge pull request 'gitignore: add .nixos-test-history
' ( #1822 ) from kenji/clan-core:kenji-git/add-nixos-test into main
...
Reviewed-on: clan/clan-core#1822
2024-07-30 09:27:30 +00:00
b357b545d3
gitignore: add .nixos-test-history
...
Add the artifacts created by nixos tests to gitignore.
2024-07-30 09:27:30 +00:00
915b2fbe73
Merge pull request 'mumble: init clan-module' ( #1821 ) from kenji/clan-core:init/mumble-module into main
...
Reviewed-on: clan/clan-core#1821
2024-07-30 09:21:00 +00:00
13c70168a4
mumble: init clan-module
...
This adds the `mumble` clan-module.
This allows for voice chatting in a true peer-to-peer network.
Every machine that has the module enabled is a potential host and
client - every participant has the same role.
It doesn't matter who in the network is online - as long as one of the
machines is up, one server is up and people can start their voice chat.
2024-07-30 10:55:08 +02:00
99a87a6120
Merge pull request 'better visual seperation between flake/non-flake version' ( #1817 ) from facter into main
...
Reviewed-on: clan/clan-core#1817
2024-07-29 15:56:51 +00:00
c037ec2eeb
better visual seperation between flake/non-flake version
2024-07-29 15:56:51 +00:00
65c03ecf96
Merge pull request 'blog: grammar fixes for introducing nixos-facter' ( #1820 ) from brianmcgee/clan-core:fix/blog-nixos-facter-grammmer into main
...
Reviewed-on: clan/clan-core#1820
2024-07-29 15:56:37 +00:00
d04d5b2c3b
blog: grammar fixes for introducing nixos-facter
2024-07-29 16:51:00 +01:00
ded91c308a
Merge pull request 'clan-vm-manager: Fix regression' ( #1818 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-29 15:37:02 +00:00