I’m not sure how most people use this type of configuration, but I’ll try my best to explain the way we have set up Octopus. We have many different release branches of the software that we deploy using Octopus, and these different releases are deployed to different tenants. So we have configured multiple channels, each with a different version filter in order to easily create the correct release for the channel.
We have also created a Customer tenant tag, which allows us to scope each channel to a list of tenants that are allowed to receive releases from this channel.
Now the problem we face, is that when you go to deploy a particular release from a particular channel, the default Octopus behaviour is that when you select the desired environment to be deployed to, these Customer tenant tags are all included for this deployment, so we may have 10 matching tenants, and if these are not de-selected, then all 10 will be deployed to at the same time, which is NOT what we are intending, and unfortunately we have had occasions where our users have accidentally deployed a release to multiple tenants at once.
The way we would like to see this work, is that the tenant tags used to restrict the deployment of a channel would instead make up the list of tags available on the release deployment screen to be deployed to, so rather than all of them being automatically selected, when you initially select the deployment environment, NO tenants are included by default. Then the user could select the desired tenant either by using the Tenants drop-down, or selecting from the available tenant tags. This way they could then either just select the one to deploy to, or multiple if that is what is desired, rather than having all of them automatically selected by default.
At the moment on the deployment screen, not only can we select the tenant tags used to restrict the channel, we can also select any of the other tenant tags which are pointless, as they are not able to receive the release from this channel. I’ve attached an example of this that shows 6 of the Customer tenant tags selected, but there are only 3 matching tenants, which are the ones included on the channel restrictions. This tenant tag should be filtered to restrict selections to only those defined on the channel.
It’s confusing to try and get this across in words, but what are your thoughts on this approach? Is this not how most people would intend to use this type of configuration?