Octopus automatic variables validation

Hello,

Does Octopus validate variable sets when we are creating new release and deploying it automatically to development environment?

Thanks for answers,
Monika Kelpsaite

Hi Monika,

Thanks for getting in touch! We are eager to help but a bit unsure what you mean when you say validate variable sets. Could you please provide some more information to help us understand what you require here?

Looking forward to helping you out here!

Regards,
Daniel

Hi Daniel,

Octopus allows to create duplicates, for example, we can create a variable “a” with value “2”, scope “Development” in project variable set. Also we can have the same variable in a Library which can be added to that project. The other problem is that all variables which are defined in cscfg file must be defined in project variable set or libraries which are added. So, does Octopus ensure that there are no duplicates or missing variables?

Thanks,
Monika

Hi Daniel,

Octopus allows to create duplicates, for example, we can create a variable “a” with value “2”, scope “Development” in project variable set. Also we can have the same value in a Library which can be added to that project. The other problem is that all variables which are defined in cscfg file must be defined in project variable set or libraries which are added. So, does Octopus ensure that there are no duplicates or missing variables?

Thanks,
Monika

Hello Daniel,

Octopus allows to create duplicates, for example, we can create a variable “a” with value “2”, scope “Development” in project variable set. Also we can have the same value in a Library which can be added to that project. The other problem is that all variables which are defined in cscfg file must be defined in project variable set or libraries which are added. So, does Octopus ensure that there are no duplicates or missing variables?

Thanks,
Monika

From: Daniel Fischer [mailto:tender2+d06fc97a7c@tenderapp.com]
Sent: Thursday, August 11, 2016 5:54 AM
To: Monika Kelpsaite - Intern Monika.Kelpsaite@bentley.com
Subject: Re: Octopus automatic variables validation [Questions #8815]

//

Hi Monika,

Thanks for getting back with that information! Unfortunately this is something Octopus has have considered doing but determined not feasible. Because of where Octopus variables can be used, Octopus cannot know if a variable is used or needed or available until a full deployment is run. Implementing a way to check these could potentially add another step for users that may provide false positives.

Regards,
Daniel