Search code examples
azure-devopsazure-service-fabricoctopus-deploy

Deploy Service Fabric through Azure DevOps and manage environment variables in Octopus


I have a Service Fabric CI/CD in Azure DevOps working fine. Now I want to be able to manage and separate my variables by environment, and someone pointed out Octopus like this:

Octopus Dashboard

I'm a bit lost with this. Should I install the Octopus extension in Azure DevOps to be able to manage my variables in there while keeping my existing Azure DevOps CI/CD pipelines, or do I need to ditch Azure DevOps and do an entirely new thing in Octopus? Would someone have a detailed explanation of what I need to do in my case? Thanks.


Solution

  • You have release variables in Azure Devops, not point in adding octopus to the mix if you only need release variables. They can be scoped to a release environment pretty much like the octopus ones.

    https://learn.microsoft.com/en-us/azure/devops/pipelines/release/variables?view=azure-devops&tabs=batch#custom-variables

    Example from my pipeline:
    enter image description here

    Each entry in that picture is tied to a single environment (like test and production are 2 different environments in your screenshot).