Step Template : Chain Deployment

usability
server
known
(Anu K) #1

As a part of the step template, https://library.octopus.com/step-template/actiontemplate-chain-deployment, is it possible to explain how do we include the multiple tenants as part of the execution for Parameter Tenants.

Below is the documentation provided as part of the template:

Tenants

Chain_Tenants

Leave blank to perform an untenanted deployment

A list of tenants & tenant tags to deploy. Tenant Tags are specified in Canonical Name format:

Tag Set Name/Tag Name

Individual tenants can be listed in addition to tags
Tenant Name

(Kenneth Bates) #3

Hi @Anu_K,

Thanks for getting in touch! You can specify multiple tenants with this Chain Deployment step by line-separating multiple tenant names in the step. I’ll attach a screenshot below showing my test setup.

Alternatively, a solution to avoid having to update this list when you want to change which tenants to deploy to would be to use the built-in Deploy a Release step template. This will automatically deploy the “child” project to the same target tenants that the “parent” project is deploying to.

I hope this helps! Don’t hesitate to reach out if I can help with anything else. :slight_smile:

Best regards,

Kenny