Order of deployment in environment

I have a big environment with tens of machines and as some of them depend on each other they should be updated in an ordered manner. Is there a way to tell Octopus the order in which the machines should be updated? Can this be done if updating in batches of 2 or 3 at a time?

Hi Tomas,

Thanks for reaching out.

If those machines really depend on steps being executed on other machines to end successfully, you should separate them into different steps. That’s the only way to make sure things would get done in the right order with Octopus.

You can add different roles like 1,2 and 3 to your machines and set step one to run onle on machines with role 1, then another step for machines with role 2 and so on. Each step would only run if the previous was successful.

Hope that helps,