Commit graph

518 commits

Author SHA1 Message Date
94b1a11326
feat: create colmena library 2024-10-10 21:04:01 +02:00
e956ae403b
feat: connectionOptions -> connectionUri & removed useless options 2024-10-06 01:32:25 +02:00
c53d80aa08
feat: Oui 2024-10-03 18:42:52 +02:00
71200e5c17
feat(generic): Implemented every function of Host to GenericHost 2024-09-26 12:30:14 +02:00
ab8d8b0321
feat(generic): Added first generic host 2024-08-23 17:57:14 +02:00
596a40020b
feat(activation): Added activation program
TODO: customize activation command to launch activation program
2024-08-23 14:22:42 +02:00
c959d643db Merge pull request 'feat: custom evaluation' (#1) from custom-activation into main
Reviewed-on: DGNum/colmena#1
2024-05-24 20:56:11 +02:00
470a0c360a feat: generic registry and custom evaluation
This PR bring custom evaluation, but does not offer yet custom
activation.

Therefore, you can evaluate your systems and refer to each of them, but
you cannot ask Colmena to build them for you.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-05-24 20:55:31 +02:00
76865b3293 feat: disable key management modules
Let the user opt-in… !

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
2024-05-24 20:55:31 +02:00
Zhaofeng Li
cd65ef7a25
Merge pull request #199 from Janik-Haag/hive-module
make eval.nix more convnient to use for non-flake user
2024-03-25 11:05:53 -06:00
Janik H.
bb642e43f9
make eval.nix more convnient to use for non-flake user 2024-03-24 03:51:58 +01:00
Zhaofeng Li
7997ab7187
Merge pull request #197 from minhuw/main
Support adding extra ssh options on node configurations
2024-03-23 14:05:35 -06:00
minhuw
afa7439c58 Support adding extra ssh options on node configurations 2024-03-09 13:54:21 +08:00
Zhaofeng Li
c84ccd0a7a
Merge pull request #191 from pkel/main
Set exit code > 0 when colmena exec fails
2024-01-28 23:21:51 -07:00
Patrik Keller
bf690423ea Set error code > 0 when colmena exec fails 2024-01-15 15:02:20 +01:00
Zhaofeng Li
665603956a Fix lint 2023-11-05 01:05:28 -07:00
Zhaofeng Li
15a95d6de5 Fix shell completion generation
Generating shell completions shouldn't require any Hive config.
Now `colmena gen-completions` gets included in the completions which
will be fixed later.
2023-11-05 01:00:05 -07:00
Zhaofeng Li
3538f18b30
Merge pull request #169 from i1i1/clap-derive
Switch to clap derive
2023-10-24 12:51:57 +02:00
i1i1
95ded7fddb Add node filter to build and upload-keys 2023-10-23 14:31:30 -06:00
i1i1
495fc56f6e Remove some commands on some profiles and add default goal for apply 2023-10-23 14:31:30 -06:00
i1i1
fc5c6d4544 Fix --nix-option flag 2023-10-23 14:31:30 -06:00
i1i1
5e17c629b2 Remove todo for deprecated alias (aliases are hiddin by default) 2023-10-23 14:23:06 -06:00
i1i1
303cf14fc6 Remove empty options for subcommands 2023-10-23 14:23:06 -06:00
i1i1
c79a872438 Enable troubleshooting 2023-10-23 14:23:06 -06:00
i1i1
765a5d2ef3 Fix build and upload-keys 2023-10-23 14:23:06 -06:00
i1i1
935aa77e53 Initial support for clap derive up to the top 2023-10-23 14:23:06 -06:00
i1i1
1ad9301c62 Fix panic with hive path parsing and use value parser 2023-10-23 14:23:06 -06:00
i1i1
ce0782ccac Fix upload-keys command 2023-10-23 14:23:06 -06:00
i1i1
ed23d1da67 Convert repl arguments to type-safe clap derive 2023-10-23 14:23:06 -06:00
i1i1
d55555c1ed Convert nix-info arguments to type-safe clap derive 2023-10-23 14:23:06 -06:00
i1i1
367c253a47 Convert exec arguments to type-safe clap derive 2023-10-23 14:23:06 -06:00
i1i1
5b8611744b Convert eval arguments to type-safe clap derive 2023-10-23 14:23:06 -06:00
i1i1
cdfc1f15a1 Convert build arguments to type-safe clap derive 2023-10-23 14:23:06 -06:00
i1i1
87f4e3a676 Convert apply arguments to type-safe clap derive 2023-10-23 14:23:06 -06:00
i1i1
b80b57cb48 Convert apply-local arguments to type-safe clap derive 2023-10-23 14:23:06 -06:00
i1i1
1e38582451 Parse value for NodeFilter with clap 2023-10-23 14:23:06 -06:00
i1i1
21df0ac5a5 Use clap for parsing Hive arguments 2023-10-23 14:23:06 -06:00
i1i1
9ddc53136a Add trait implementations for Goal 2023-10-23 14:23:06 -06:00
i1i1
197010c492 Remove lazy-static 2023-10-18 15:41:54 -06:00
Zhaofeng Li
8d92dadb32 cargo clippy --all-targets --fix
Suggested in #169, I just ran it myself.

Co-authored-by: i1i1 <vanyarybin1@live.ru>
2023-10-18 15:41:54 -06:00
Zhaofeng Li
82c8c7044a .github: Bump nix-installer-action 2023-10-18 15:41:54 -06:00
Zhaofeng Li
85e5303557 job: Remove unneeded mut 2023-10-18 15:41:54 -06:00
Zhaofeng Li
f11e3c77ee flake: Update nixpkgs 2023-10-18 15:41:54 -06:00
Zhaofeng Li
4e9b52bdbc
Merge pull request #172 from ldicarlo/patch-1
chore: dead link
2023-09-28 12:40:52 -06:00
Luca Di Carlo
df61f1793a
chore: dead link 2023-08-20 13:48:03 +02:00
Zhaofeng Li
19384f3ee2
Merge pull request #155 from oddlama/fix-overridden-nodes 2023-07-01 09:13:13 -06:00
oddlama
c6f42e447d fix: allow specialArgs and nodeSpecialArgs to override name and nodes
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
2023-07-01 09:07:17 -06:00
Zhaofeng Li
c61bebae1d
Merge pull request #156 from emilylange/nix3-copy-substitution 2023-05-26 23:03:00 -06:00
emilylange
beb157dcb6
ssh: fix substitution when using experimental nix copy 2023-05-23 15:49:52 +02:00
Zhaofeng Li
caf33af7d8 .github: Update latest stable API version 2023-05-14 23:12:07 -06:00