Is there anyway to deploy to multiple servers using ssh runner? I found that i can add only one server in the ssh pipeline. However, if i want to deploy to more than one server, How i can do?
I am also in need of something like this. Now I always resort to appleboy/drone-ssh plugin, but it seems unnecessary to create a kubernetes runner for a multi-host SSH pipeline.
Is there anyway to deploy to multiple servers using ssh runner?
This sounds like a good use case for creating a new drone plugin [1] for the docker or kubernetes runner using something like pssh [2]
I think this comment is somewhat relevant:
I created the ssh runner so that Drone could easily execute pipelines on operating systems that did not support containers. For example, we used the ssh runner to execute pipelines on bsd and to execute pipelines on windows (before windows supported containers).
I think the docker runner (or kubernetes runner) with a multi-ssh plugin is going to be the best solution to this problem.
[1] https://docs.drone.io/plugins/overview/
[2] https://github.com/robinbowes/pssh