New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy all hosts asynchronously rather than synchronously #3827
Comments
From the doc:
This should be the default. Are you saying this doesn’t work for you? can you check -vvv? |
It seems to take a long time. 41 minutes to deploy to around 20 - 25 hosts |
Please try
then you see wether it works parallel or not. |
This is a feature of Deployer ʕっ•ᴥ•ʔっ Deployer tried to keep all deployment hosts in sync (as Deployer does not know if it is save to deploy only to one host and allow other to fail). This feature was requested a few times and I think it will be nice to add a simple API to configure deploy to run deploys not in sync. Right now you can do:
dep deploy host1 &
dep deploy host2 &
dep deploy host3 & |
How do I know if parallel deploying is working with that flag? |
I'm using the latest version of Deployer to deploy my Nuxt JS project to multiple ipv6 hosts. If I were to deploy one host individually, it wouldn't take no more than 5 minutes. But when defining multiple hosts, it seems that it deploys synchronously through each one, I'd like to be able to configure it to deploy to all at the same time because it takes over an hour right now, additionally, if something fails, then deployments to all hosts fail and are locked which is quite frustrating.
What are your thoughts?
This is my deployment hosts:
And I deploy running:
The text was updated successfully, but these errors were encountered: