Commit Graph

4619 Commits

Author SHA1 Message Date
a-kenji
9414bcc1fd docs: Update documentation for clan machines install --target-host 2024-11-10 18:18:51 +01:00
a-kenji
23d0e2f115 pkgs/cli: Query target-host for machines install from configuration
Query `target-host` for `clan machines install` from the nixos
configuration (deployment.json), if possible.

Remove `TARGET_HOST` option and introduce `--target-host` command
line flag.

This brings the installation subcommand in line with the update
subcommand - improving consistency and usability.

Closes: #2309
2024-11-10 18:18:51 +01:00
clan-bot
f76a5cacc5 Merge pull request 'pkgs/cli: Group dynamic completer with the correct parser for clarity' (#2354) from kenji/clan-core:kenji-group-completer into main 2024-11-10 14:56:18 +00:00
clan-bot
d8f0770cb3 Merge pull request 'pkgs/cli: Improve error message on clan machines update' (#2353) from kenji/clan-core:kenji-improve-error-message-cli into main 2024-11-10 14:54:41 +00:00
a-kenji
3e1bbd53d2 pkgs/cli: Group dynamic completer with the correct parser for clarity 2024-11-10 15:48:41 +01:00
a-kenji
4b67d9fa71 pkgs/cli: Improve error message on clan machines update 2024-11-10 15:47:21 +01:00
clan-bot
f00d6b8a94 Merge pull request 'pkgs/cli: Apply naming standards to help strings in clan machines update' (#2352) from kenji/clan-core:kenji-cli-fix-help into main 2024-11-10 14:42:58 +00:00
a-kenji
96f66a3810 pkgs/cli: Apply naming standards to help strings in clan machines update 2024-11-10 15:37:41 +01:00
clan-bot
e8f6786d95 Merge pull request 'pkgs/cli: Fix help string of clan machines create' (#2350) from kenji/clan-core:kenji-fix-naming-create into main 2024-11-10 13:21:53 +00:00
clan-bot
4156df78d0 Merge pull request 'pkgs/cli: Add --target-host to clan machines create' (#2349) from kenji/clan-core:kenji-add-deploy into main 2024-11-10 13:20:30 +00:00
a-kenji
aa1ca9ba59 pkgs/cli: Fix help string of clan machines create 2024-11-10 14:15:34 +01:00
a-kenji
0c7f18da12 pkgs/cli: Add --target-host to clan machines create
Add the `--target-host` flag to `clan machines create`.
This allows setting the `deploy.targetHost` for the newly created
machine via the inventory.

Closes: #2339
2024-11-10 14:13:39 +01:00
clan-bot
c7927d3a25 Merge pull request 'pkgs/cli: Improve tense of message in machines create' (#2348) from kenji/clan-core:kenji-improve-confusing-message into main 2024-11-10 00:25:05 +00:00
a-kenji
182ea02c46 pkgs/cli: Improve tense of message in machines create
Change the log message tense from present to continuous for improved clarity.
The message "Add file" has been changed to "Adding file" to provide a clear
indication that the file addition is an ongoing process, not a
command (for the user).
2024-11-10 01:14:40 +01:00
clan-bot
855161088f Merge pull request 'pkgs/cli: Fix grammar in inventory doc comment' (#2344) from kenji/clan-core:kenji-fix-grammar into main 2024-11-09 23:57:08 +00:00
a-kenji
f96020809c pkgs/cli: Improve grammar in inventory doc comment 2024-11-10 00:51:21 +01:00
a-kenji
8eab08be8b pkgs/cli: Fix grammar in inventory doc comment 2024-11-10 00:48:54 +01:00
clan-bot
49c95a40c8 Merge pull request 'pkgs/cli: Remove superfluous comment string' (#2343) from kenji/clan-core:kenji-remove-superfluous-comment into main 2024-11-09 23:40:57 +00:00
a-kenji
c7ad5e1928 pkgs/cli: Remove superfluous comment string 2024-11-10 00:35:41 +01:00
clan-bot
df20c16174 Merge pull request 'templates/minimal-flake-parts: add formatter' (#2342) from kenji/clan-core:kenji-add-formatter into main 2024-11-09 22:13:59 +00:00
a-kenji
acf97df754 templates/minimal-flake-parts: add formatter 2024-11-09 23:08:14 +01:00
clan-bot
06724b4ab4 Merge pull request 'flake/inputs: Group inputs together' (#2341) from kenji/clan-core:kenji-flake/inputs-group into main 2024-11-09 19:21:23 +00:00
a-kenji
689b2e7560 flake/inputs: Group inputs together 2024-11-09 20:13:15 +01:00
clan-bot
4110404f30 Merge pull request 'Inventory: init inventory.tags for globally defined static and dynamic tags' (#2328) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-08 15:01:07 +00:00
Johannes Kirschbauer
46836496aa Clan-ts-api: filter out reserved tags from typescript, library generates invalid types 2024-11-08 15:55:37 +01:00
clan-bot
4e26b74a9b Merge pull request 'don't show stacktrace if an update fail' (#2333) from deployment into main 2024-11-08 14:48:57 +00:00
Jörg Thalheim
eb1daad08d vars: update message if vars are up-to-date 2024-11-08 15:43:10 +01:00
Jörg Thalheim
d3abedafa9 don't show stacktrace if update fail 2024-11-08 15:43:10 +01:00
Mic92
4da648bf0a Merge pull request 'Add inventory module for zerotier' (#2108) from init/zerotier-inventory into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2108
2024-11-08 14:10:23 +00:00
Jörg Thalheim
94f0d86432 zerotier-members: improve ux of console output 2024-11-08 14:10:23 +00:00
Jörg Thalheim
91ff83c3c0 zerotier-members: make output better 2024-11-08 14:10:23 +00:00
Jörg Thalheim
671effe3c3 clanModules/zerotier: add documentation 2024-11-08 14:10:23 +00:00
Jörg Thalheim
5b4badab10 clanCore/zerotier: quote "or" keyword in attrset 2024-11-08 14:10:23 +00:00
a-kenji
60d7c5d82c add clanModule for zerotier inventory 2024-11-08 14:10:23 +00:00
clan-bot
d653859a91 Merge pull request 'templates: Add all basic supported systems to the minimal-flake-parts template' (#2332) from kenji/clan-core:kenji-template-add-default-systems into main 2024-11-08 14:02:38 +00:00
a-kenji
45c0a4a4cd templates: Add all basic supported systems to the minimal-flake-parts tempalte 2024-11-08 14:38:31 +01:00
clan-bot
557c209565 Merge pull request 'pkgs/cli: Fix dynamic completions for update-hardware-config and it's flags' (#2330) from kenji/clan-core:kenji-update-hardware-config-fix-completions into main 2024-11-08 13:29:20 +00:00
a-kenji
e0cebd005a pkgs/cli: Fix dynamic completions for update-hardware-config and it's flags
Fix dynamic completions for `update-hardware-config` and it's flags.

Now `update-hardware-config` correctly suggests machines as well as for
example `--backend` suggests correctly their respective flags.
2024-11-08 14:23:11 +01:00
Johannes Kirschbauer
a67f42ee7a Jsonschema: clean up tests 2024-11-08 13:22:58 +01:00
Johannes Kirschbauer
16b0592d0f Classgen: forward item types for array types 2024-11-08 13:20:45 +01:00
clan-bot
1ee61283ea Merge pull request 'flake/templates: Add minimal-flake-parts template' (#2329) from kenji/clan-core:kenji-minimal-template into main 2024-11-08 12:13:05 +00:00
a-kenji
985ab11808 flake/templates: Add minimal-flake-parts template 2024-11-08 13:07:27 +01:00
Johannes Kirschbauer
4994b5acb5 Inventory: init inventory.tags for globally defined static and dynamic tags 2024-11-08 12:48:03 +01:00
clan-bot
98884c1b71 Merge pull request 'pkgs/cli: Add minimal-flake-parts to create' (#2327) from kenji/clan-core:kenji-minimal-flake-parts into main 2024-11-08 11:40:39 +00:00
a-kenji
552fb7e54a pkgs/cli: Add minimal-flake-parts to create 2024-11-08 12:34:30 +01:00
clan-bot
fbf4252e8c Merge pull request 'templates: prefer non-shallow clones' (#2326) from kenji/clan-core:kenji-no-shallow into main 2024-11-08 11:29:24 +00:00
a-kenji
97f63205d2 templates: prefer non-shallow clones 2024-11-08 12:23:04 +01:00
clan-bot
01df2dcf39 Merge pull request 'templates: add a minimal flake-parts template' (#2324) from kenji/clan-core:kenji-templates-flake-parts into main 2024-11-08 10:55:00 +00:00
a-kenji
d2e70e17e5 templates: add a minimal flake-parts template 2024-11-08 11:47:13 +01:00
Johannes Kirschbauer
34873828ed buildClan: add empty default 2024-11-08 10:43:05 +01:00