Tenanted deployments with untenanted deployments

andrew deakins's Avatar

andrew deakins

27 Feb, 2018 01:33 PM

Hi there, I need a suggestion as to the best practice for untenanted deployments with the tenanted deployments.

We have a development website which has a deployment target with multiple version of the same site for different feature branches so we have set up tenants. On our higher environments, e.g. UAT and Production, we dont have tenants we just want to click "Deploy to UAT" and off it goes. Our issue is with the variables used in the steps. We use tenanted variables for each of the websites for our dev environment but we are forced down creating a tenant for UAT and Production. Is there a better way to do this? we can use default project variables but you cant specify that per environment (there is only one default value) just wondering if this is the best way or not?


  1. Support Staff 1 Posted by Nick Josevski on 28 Feb, 2018 05:40 AM

    Nick Josevski's Avatar

    Hi Andrew,
    Thanks for getting in touch. We had a chat about this as a team, and we thought the use of Tenants may not be the right approach. Did you consider using channels and different lifecycles to achieve this? If you had a channel to replace each tenant, then you could scope variables to the channels? It could be combined with Prompted Variables.

    We have some great and detailed documentation on channels and solving problems with them, have a read see if it makes sense:

    https://octopus.com/docs/deployment-process/channels and https://octopus.com/docs/deployment-process/variables/prompted-vari...


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac