Add support for groups #10

Closed
opened 2022-03-02 17:08:52 +00:00 by Kranzes · 2 comments
Kranzes commented 2022-03-02 17:08:52 +00:00 (Migrated from github.com)

it would be very helpful if you could great a group of hosts that can then be deployed at once.

Nix code example:

nixinate = {
  group.production.hosts = [ "hetznix" "swordfish" ];
  group.production.buildOn = "remote"; # available options are "remote", "local" or a specific host
};
it would be very helpful if you could great a group of hosts that can then be deployed at once. Nix code example: ```nix nixinate = { group.production.hosts = [ "hetznix" "swordfish" ]; group.production.buildOn = "remote"; # available options are "remote", "local" or a specific host }; ```
mrVanDalo commented 2023-09-08 07:56:09 +00:00 (Migrated from github.com)

I use parallel to run deployments in parallel

parallel --tag nix run ".#apps.nixinate.{1}" ::: machine1 machine2 machine3

and created aliases like alias deploy-prodction= ...

I use `parallel` to run deployments in parallel ``` parallel --tag nix run ".#apps.nixinate.{1}" ::: machine1 machine2 machine3 ``` and created aliases like `alias deploy-prodction= ... `

Closed due to fork migration, feel free to reopen.

Closed due to fork migration, feel free to reopen.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tristan/nixinate#10
No description provided.