lserman / capistrano-elbas

Deploy Rails apps to AWS AutoScale groups
MIT License
96 stars 67 forks source link

Can I separate instance roles? #23

Closed cycorld closed 5 years ago

cycorld commented 7 years ago

I want to specify the role on the first instance in order to run scheduled works once.

The example is here: https://github.com/mchicote/capistrano3-autoscaling-deploy#how-this-works

How do you think? I wish you develop this function soon or I can help you to implement it.

frederikspang commented 7 years ago

Would also be great for migrations, if you're only running one scale-group as your server. Wouldn't db:migrate run on them all? (I haven't tried yet - Just setting this gem up for the first time).

lserman commented 5 years ago

Fixed in 3.0.2 via bf38a877737dbc31700b10c17526297d95e14284