I have 4 target roles: Server1, Server2, Server3 & Server4.
I have dozens of projects that are scoped to each deploy to one of the target roles.
To make deployment easier, I have 4 parent projects, 1 per target role, which contain ‘Deploy a Release’ steps for the child projects.
In some rare cases, I have projects that target all 4 roles e.g. FooApp.
How do I let a deployment of FooApp target all 4 roles (needed for CI reasons), whilst limiting a simultaneous deployment of the parent 4 projects to deploying only once per target role?
a) Is there a way to specify that deploying the Server1 parent project only deploys FooApp to Server1 role instead of all the target roles?
b) Is there a way to ensure only 1 child deployment of FooApp happens when all 4 parent projects are deployed? I know you can do that by changing the deployment condition to “If the selected release is not the current in the environment”, however, it means I can’t redeploy the same release repeatedly, so hoping there’s a more elegant deployment condition I haven’t thought of.
c) Is there another way I haven’t thought of?
Thanks in advance!