How to pass variables( like Storage accounts key, or SFTP Location)from ADF pipelines config.file to Azure Devops Release Pipeline

Madhu R 0 Reputation points
2024-01-24T10:08:12.1633333+00:00

How to pass variables( like Storage accounts key, or SFTP Location)from ADF pipelines config.file to Azure Devops Release Pipeline

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,646 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2024-01-24T10:08:12.1666667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To pass variables from an Azure Data Factory (ADF) pipeline configuration file to an Azure DevOps release pipeline, you can use variable groups in Azure DevOps. Variable groups store values and secrets that can be passed into a YAML pipeline or made available across multiple pipelines. You can share and use variable groups in multiple pipelines in the same project.

    To create a new variable group in Azure DevOps:

    1. Go to the Pipelines section and select Library.
    2. Select + Variable group.
    3. Enter a name for the variable group.
    4. Add the variables you want to use in the release pipeline, such as Storage accounts key or SFTP location.
    5. Save the variable group.

    To use the variable group in the release pipeline:

    1. Go to the release pipeline and select Edit.
    2. Select Variables.
    3. Select Link variable group.
    4. Select the variable group you created earlier.
    5. Save the changes.

    With this setup, the variables defined in the ADF pipeline configuration file can be passed to the Azure DevOps release pipeline through the linked variable group.


    References:

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.