tamagokun / pomander

Deploy your PHP with PHP. Inspired by Capistrano and Vlad.
http://tamagokun.github.io/pomander/
MIT License
199 stars 18 forks source link

How to upload on several servers? #57

Closed odombrovskyi-dev closed 10 years ago

odombrovskyi-dev commented 10 years ago

I have code like this: $env->user('user'); $env->repository('repo'); $env->scm('svn'); $env->deploy_to('/var/web'); $env->key_path("key"); $env->app(array('server1.com','server2.com'));

When i run deploy:update this command perform deploy only on the first server in the list. It there some additional options that enables deploying process on multiple servers?

tamagokun commented 10 years ago

Specifying multiple hosts in $env->app() will attempt to deploy to all of those servers. Can you provide more information? Or the output from deploy:update ?

tamagokun commented 10 years ago

Acutally, you may have stumbled onto a bug! Multiple app and db endpoints are not currently in the test bed. Let me take a look and see if they are indeed working.

odombrovskyi-dev commented 10 years ago

There is no any specific output information task start upload to the first server and after that deploy:update ends. That is all.

tamagokun commented 10 years ago

@farwless yep, this was broken. Patch coming up!

tamagokun commented 10 years ago

In release 0.4.4

odombrovskyi-dev commented 10 years ago

thanks a lot. Works well