Using Environment parameters as Project parameters











up vote
1
down vote

favorite












Our Change Approval team is trying to get us to use Octopus to deploy SSIS packages to our Production environment. The problem is that the tool (Azure DevOps) we use to generate the build for Octopus doesn't create or populate Project parameters when it deploys a project. It does, however, create and populate Environment parameters.



Up to now we have not used Environment parameters at all because we don't use multiple environments on any one server.



The CA team is suggesting that we work around the inability to deploy Project parameters by converting them to Environment parameters, and create one Environment per project.



This feels wrong to me, but I haven't been able to come up with a reason we can't do this, nor have I found one anywhere on the internet so far. On the other hand, I also haven't found anybody saying that they are doing this and it's working fine, either.



So, does anybody have any arguments for or against using Environment parameters to replace Project parameters per se?



Assume that I don't have to worry about any possible future need for multiple environments on a server.










share|improve this question
























  • That's our setup, we don't use Octopus, we do project deployments and once deployed to the server we have a minimum of one environment per project, but can have more, majority don't. The project variables are deployed, but are reconfigured to point to environment variables. By default all project variables have a corresponding environment variable. all that sort of stuff is very specific to your setup.
    – Tim Mylott
    Nov 9 at 16:52










  • One question though, if Octupus does create project variables, how is that even referenced in the project itself? Meaning I have a SSIS package using project variable. When deployed, in your case, that isn't created on the server? In our case it's deployed, just reconfigured to point to the environment variable. Just curious.
    – Tim Mylott
    Nov 9 at 16:54












  • In our specific situation one of the main reasons is better/easier visibility into all of those configuration values. Have have a lot of code deployed across hundreds on instances. When needing do dependency checks, etc, we can just query the environment tables in SSISDB to find what projects/packages could be using a certain file path, connection string, etc, those items we have standardized as Project/environment variables.
    – Tim Mylott
    Nov 9 at 17:03












  • @TimMylott I'm getting a demonstration as to how it works in a couple of hours, but I would assume that the package would have to be reconfigured to associate its parameters with Environment variables instead of Project variables. I'm also assuming that Octopus is going to do this automatically. So, if you're not using Octopus, why are you setting up your Environments this way?
    – Tab Alleman
    Nov 9 at 18:50












  • @TabAlleman Not trying to be nit-picky, but when you say project variables, do you mean project parameters? I'm not familiar with "project variables" and just want to make sure it's not something I just have never encountered. We use Team City to build SSIS projects and Octopus to deploy. When our dev ops team sets up a new SSIS project in Octopus, we provide a mapping of Project Parameters to Environment Variables. Octopus does not create or populate the Environment Variables. That can be done through the SSMS gui or with scripts. I'd be glad to try to describe it in more detail if need be.
    – Jeremy J.
    Nov 9 at 19:15















up vote
1
down vote

favorite












Our Change Approval team is trying to get us to use Octopus to deploy SSIS packages to our Production environment. The problem is that the tool (Azure DevOps) we use to generate the build for Octopus doesn't create or populate Project parameters when it deploys a project. It does, however, create and populate Environment parameters.



Up to now we have not used Environment parameters at all because we don't use multiple environments on any one server.



The CA team is suggesting that we work around the inability to deploy Project parameters by converting them to Environment parameters, and create one Environment per project.



This feels wrong to me, but I haven't been able to come up with a reason we can't do this, nor have I found one anywhere on the internet so far. On the other hand, I also haven't found anybody saying that they are doing this and it's working fine, either.



So, does anybody have any arguments for or against using Environment parameters to replace Project parameters per se?



Assume that I don't have to worry about any possible future need for multiple environments on a server.










share|improve this question
























  • That's our setup, we don't use Octopus, we do project deployments and once deployed to the server we have a minimum of one environment per project, but can have more, majority don't. The project variables are deployed, but are reconfigured to point to environment variables. By default all project variables have a corresponding environment variable. all that sort of stuff is very specific to your setup.
    – Tim Mylott
    Nov 9 at 16:52










  • One question though, if Octupus does create project variables, how is that even referenced in the project itself? Meaning I have a SSIS package using project variable. When deployed, in your case, that isn't created on the server? In our case it's deployed, just reconfigured to point to the environment variable. Just curious.
    – Tim Mylott
    Nov 9 at 16:54












  • In our specific situation one of the main reasons is better/easier visibility into all of those configuration values. Have have a lot of code deployed across hundreds on instances. When needing do dependency checks, etc, we can just query the environment tables in SSISDB to find what projects/packages could be using a certain file path, connection string, etc, those items we have standardized as Project/environment variables.
    – Tim Mylott
    Nov 9 at 17:03












  • @TimMylott I'm getting a demonstration as to how it works in a couple of hours, but I would assume that the package would have to be reconfigured to associate its parameters with Environment variables instead of Project variables. I'm also assuming that Octopus is going to do this automatically. So, if you're not using Octopus, why are you setting up your Environments this way?
    – Tab Alleman
    Nov 9 at 18:50












  • @TabAlleman Not trying to be nit-picky, but when you say project variables, do you mean project parameters? I'm not familiar with "project variables" and just want to make sure it's not something I just have never encountered. We use Team City to build SSIS projects and Octopus to deploy. When our dev ops team sets up a new SSIS project in Octopus, we provide a mapping of Project Parameters to Environment Variables. Octopus does not create or populate the Environment Variables. That can be done through the SSMS gui or with scripts. I'd be glad to try to describe it in more detail if need be.
    – Jeremy J.
    Nov 9 at 19:15













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Our Change Approval team is trying to get us to use Octopus to deploy SSIS packages to our Production environment. The problem is that the tool (Azure DevOps) we use to generate the build for Octopus doesn't create or populate Project parameters when it deploys a project. It does, however, create and populate Environment parameters.



Up to now we have not used Environment parameters at all because we don't use multiple environments on any one server.



The CA team is suggesting that we work around the inability to deploy Project parameters by converting them to Environment parameters, and create one Environment per project.



This feels wrong to me, but I haven't been able to come up with a reason we can't do this, nor have I found one anywhere on the internet so far. On the other hand, I also haven't found anybody saying that they are doing this and it's working fine, either.



So, does anybody have any arguments for or against using Environment parameters to replace Project parameters per se?



Assume that I don't have to worry about any possible future need for multiple environments on a server.










share|improve this question















Our Change Approval team is trying to get us to use Octopus to deploy SSIS packages to our Production environment. The problem is that the tool (Azure DevOps) we use to generate the build for Octopus doesn't create or populate Project parameters when it deploys a project. It does, however, create and populate Environment parameters.



Up to now we have not used Environment parameters at all because we don't use multiple environments on any one server.



The CA team is suggesting that we work around the inability to deploy Project parameters by converting them to Environment parameters, and create one Environment per project.



This feels wrong to me, but I haven't been able to come up with a reason we can't do this, nor have I found one anywhere on the internet so far. On the other hand, I also haven't found anybody saying that they are doing this and it's working fine, either.



So, does anybody have any arguments for or against using Environment parameters to replace Project parameters per se?



Assume that I don't have to worry about any possible future need for multiple environments on a server.







ssis octopus-deploy






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 9 at 20:53

























asked Nov 9 at 16:33









Tab Alleman

25.1k52440




25.1k52440












  • That's our setup, we don't use Octopus, we do project deployments and once deployed to the server we have a minimum of one environment per project, but can have more, majority don't. The project variables are deployed, but are reconfigured to point to environment variables. By default all project variables have a corresponding environment variable. all that sort of stuff is very specific to your setup.
    – Tim Mylott
    Nov 9 at 16:52










  • One question though, if Octupus does create project variables, how is that even referenced in the project itself? Meaning I have a SSIS package using project variable. When deployed, in your case, that isn't created on the server? In our case it's deployed, just reconfigured to point to the environment variable. Just curious.
    – Tim Mylott
    Nov 9 at 16:54












  • In our specific situation one of the main reasons is better/easier visibility into all of those configuration values. Have have a lot of code deployed across hundreds on instances. When needing do dependency checks, etc, we can just query the environment tables in SSISDB to find what projects/packages could be using a certain file path, connection string, etc, those items we have standardized as Project/environment variables.
    – Tim Mylott
    Nov 9 at 17:03












  • @TimMylott I'm getting a demonstration as to how it works in a couple of hours, but I would assume that the package would have to be reconfigured to associate its parameters with Environment variables instead of Project variables. I'm also assuming that Octopus is going to do this automatically. So, if you're not using Octopus, why are you setting up your Environments this way?
    – Tab Alleman
    Nov 9 at 18:50












  • @TabAlleman Not trying to be nit-picky, but when you say project variables, do you mean project parameters? I'm not familiar with "project variables" and just want to make sure it's not something I just have never encountered. We use Team City to build SSIS projects and Octopus to deploy. When our dev ops team sets up a new SSIS project in Octopus, we provide a mapping of Project Parameters to Environment Variables. Octopus does not create or populate the Environment Variables. That can be done through the SSMS gui or with scripts. I'd be glad to try to describe it in more detail if need be.
    – Jeremy J.
    Nov 9 at 19:15


















  • That's our setup, we don't use Octopus, we do project deployments and once deployed to the server we have a minimum of one environment per project, but can have more, majority don't. The project variables are deployed, but are reconfigured to point to environment variables. By default all project variables have a corresponding environment variable. all that sort of stuff is very specific to your setup.
    – Tim Mylott
    Nov 9 at 16:52










  • One question though, if Octupus does create project variables, how is that even referenced in the project itself? Meaning I have a SSIS package using project variable. When deployed, in your case, that isn't created on the server? In our case it's deployed, just reconfigured to point to the environment variable. Just curious.
    – Tim Mylott
    Nov 9 at 16:54












  • In our specific situation one of the main reasons is better/easier visibility into all of those configuration values. Have have a lot of code deployed across hundreds on instances. When needing do dependency checks, etc, we can just query the environment tables in SSISDB to find what projects/packages could be using a certain file path, connection string, etc, those items we have standardized as Project/environment variables.
    – Tim Mylott
    Nov 9 at 17:03












  • @TimMylott I'm getting a demonstration as to how it works in a couple of hours, but I would assume that the package would have to be reconfigured to associate its parameters with Environment variables instead of Project variables. I'm also assuming that Octopus is going to do this automatically. So, if you're not using Octopus, why are you setting up your Environments this way?
    – Tab Alleman
    Nov 9 at 18:50












  • @TabAlleman Not trying to be nit-picky, but when you say project variables, do you mean project parameters? I'm not familiar with "project variables" and just want to make sure it's not something I just have never encountered. We use Team City to build SSIS projects and Octopus to deploy. When our dev ops team sets up a new SSIS project in Octopus, we provide a mapping of Project Parameters to Environment Variables. Octopus does not create or populate the Environment Variables. That can be done through the SSMS gui or with scripts. I'd be glad to try to describe it in more detail if need be.
    – Jeremy J.
    Nov 9 at 19:15
















That's our setup, we don't use Octopus, we do project deployments and once deployed to the server we have a minimum of one environment per project, but can have more, majority don't. The project variables are deployed, but are reconfigured to point to environment variables. By default all project variables have a corresponding environment variable. all that sort of stuff is very specific to your setup.
– Tim Mylott
Nov 9 at 16:52




That's our setup, we don't use Octopus, we do project deployments and once deployed to the server we have a minimum of one environment per project, but can have more, majority don't. The project variables are deployed, but are reconfigured to point to environment variables. By default all project variables have a corresponding environment variable. all that sort of stuff is very specific to your setup.
– Tim Mylott
Nov 9 at 16:52












One question though, if Octupus does create project variables, how is that even referenced in the project itself? Meaning I have a SSIS package using project variable. When deployed, in your case, that isn't created on the server? In our case it's deployed, just reconfigured to point to the environment variable. Just curious.
– Tim Mylott
Nov 9 at 16:54






One question though, if Octupus does create project variables, how is that even referenced in the project itself? Meaning I have a SSIS package using project variable. When deployed, in your case, that isn't created on the server? In our case it's deployed, just reconfigured to point to the environment variable. Just curious.
– Tim Mylott
Nov 9 at 16:54














In our specific situation one of the main reasons is better/easier visibility into all of those configuration values. Have have a lot of code deployed across hundreds on instances. When needing do dependency checks, etc, we can just query the environment tables in SSISDB to find what projects/packages could be using a certain file path, connection string, etc, those items we have standardized as Project/environment variables.
– Tim Mylott
Nov 9 at 17:03






In our specific situation one of the main reasons is better/easier visibility into all of those configuration values. Have have a lot of code deployed across hundreds on instances. When needing do dependency checks, etc, we can just query the environment tables in SSISDB to find what projects/packages could be using a certain file path, connection string, etc, those items we have standardized as Project/environment variables.
– Tim Mylott
Nov 9 at 17:03














@TimMylott I'm getting a demonstration as to how it works in a couple of hours, but I would assume that the package would have to be reconfigured to associate its parameters with Environment variables instead of Project variables. I'm also assuming that Octopus is going to do this automatically. So, if you're not using Octopus, why are you setting up your Environments this way?
– Tab Alleman
Nov 9 at 18:50






@TimMylott I'm getting a demonstration as to how it works in a couple of hours, but I would assume that the package would have to be reconfigured to associate its parameters with Environment variables instead of Project variables. I'm also assuming that Octopus is going to do this automatically. So, if you're not using Octopus, why are you setting up your Environments this way?
– Tab Alleman
Nov 9 at 18:50














@TabAlleman Not trying to be nit-picky, but when you say project variables, do you mean project parameters? I'm not familiar with "project variables" and just want to make sure it's not something I just have never encountered. We use Team City to build SSIS projects and Octopus to deploy. When our dev ops team sets up a new SSIS project in Octopus, we provide a mapping of Project Parameters to Environment Variables. Octopus does not create or populate the Environment Variables. That can be done through the SSMS gui or with scripts. I'd be glad to try to describe it in more detail if need be.
– Jeremy J.
Nov 9 at 19:15




@TabAlleman Not trying to be nit-picky, but when you say project variables, do you mean project parameters? I'm not familiar with "project variables" and just want to make sure it's not something I just have never encountered. We use Team City to build SSIS projects and Octopus to deploy. When our dev ops team sets up a new SSIS project in Octopus, we provide a mapping of Project Parameters to Environment Variables. Octopus does not create or populate the Environment Variables. That can be done through the SSMS gui or with scripts. I'd be glad to try to describe it in more detail if need be.
– Jeremy J.
Nov 9 at 19:15

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229729%2fusing-environment-parameters-as-project-parameters%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229729%2fusing-environment-parameters-as-project-parameters%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Schultheiß

Liste der Kulturdenkmale in Wilsdruff

Android Play Services Check