serokell / deploy-rs

A simple multi-profile Nix-flake deploy tool.
Other
1.33k stars 101 forks source link

Parallelize (only) build stage when remote build is used #243

Closed ykis-0-0 closed 10 months ago

ykis-0-0 commented 10 months ago

Since we now have the option remoteBuild, I think it would be rather feasible to parallelize the build of the profiles on hosts.

It may be better to keep activation serial, however for building the profiles, since doesn't cause any dependency issues, I suppose it'll beneficial to parallelize the builds when built on remote hosts.

rvem commented 10 months ago

This idea was expressed already in https://github.com/serokell/deploy-rs/issues/46#issuecomment-1712552174 :) I agree that it'd be useful to have. Perhaps, we'll get to it eventually, but sadly I can't give any estimates at the moment

ykis-0-0 commented 10 months ago

Oh, sorry for raising the redundant issue, I shall close this in favor for the more general discussion