Hi am reading through the archives at the moment and am missing some good examples of how to actually use multistage.
I realized that I have no idea what to do further other defining my stages. Regards On Jan 23, 3:12 pm, Gerhardus Geldenhuis <[email protected]> wrote: > Hi > I have been doing some reading about how to implement multistaging but > I am not sure which route I should be following. I would really > appreciate some advice/thoughts. > > I have found > Multistage:http://weblog.jamisbuck.org/2007/7/23/capistrano-multistage > > and another possible methodhttp://www.egtheblog.com/?p=that just sets a env > variable and then > sets your server list based on this variable. This is the method I > like most at the moment... > > We have demo, development, production and load testing environments. > The method of deploying new applications does not differ between > environment, except for the different parameters that download the > applications. I also want to implement sequential implementation in > production at a later stage. We have a number of different > applications but all of them use the same deployment technique. > > I am unsure how I should be mapping this out with roles etc on my > tasks, I want all roles to be able to run task A but I don't want task > A to run for all roles when I don't specify the environment. > > I guess multistage could be used here and defining stages in the > following way: > Demo-AppA > Demo-AppB > Prod-AppA > Prod-AppB > etc... > > I like the fact that multstage will prompt you if you don't specify a > environment which makes a lot safer for me. > > Generally applications run on a dedicated server but there will be > some server sharing between applications. > > I would appreciate any thoughts, tips, caveats or source examples. > This email is also serving as a way for me to formalize my thoughts a > bit more. > > Regards --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
