In one of our Projects we have a big ammount of Variables witch are Different for each Enviroment.
Now I would like to define an Template for these so i dont forget one when specifing them for each Enviroment.
There was an Feature-Request in the Early 2015. But i think its not implemented yet.
What would be the best/ a good Practice to deal with this?
Hi Kai,
Thanks for getting in touch! Unfortunately, adding a new environment to your project with its own set of pre-made variables is not an option in Octopus. I had a couple of thought about what you could do to achieve a similar result though.
The first would be to check out our Library Variable Sets options. This will let you build up sets of variables that can be plugged into any project you need them in.
For more information you can check out our documentation: http://docs.octopus.com/display/OD/Library+variable+sets
The next option would be to check out Tenants. With Tenants, you are able to set up a Tenant with some Tenant specific variables, from there you could manage each the variables that are a part of your different projects. We have a lot of information and guides surrounding Tenants and how you can set them up / use them. I will link to some documentation that can explain it better.
And for the Tenant specific variables.
Let me know if that helps. If you have any questions at all, please don’t hesitate to let me know.
Best regards,
Daniel
Hi Daniel,
thank you for the fast response. I will give both variants a try and reply with my results soon.