How to publish only some pipelines in adf using cicd azure devops

Ksenija Saulic 0 Reputation points
2024-01-15T09:35:12.7266667+00:00

Is there an option to modify build.yml file to take only some pipelines in CICD process for ADF using Azure Devops?

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

2 answers

Sort by: Most helpful
  1. Jagan Rajagopal 0 Reputation points
    2024-01-15T10:35:39.05+00:00

    you need to modify the build.yml file in Azure DevOps to specify which pipelines to include in the CI/CD process for Azure Data Factory (ADF). This customization allows you to control which parts of your ADF are deployed, based on your CI/CD requirements . Selective Triggers: You can set up triggers in the YAML file to specify which branches should initiate the CI/CD pipeline. For example, you might want to trigger the pipeline only when changes are made to a specific branch like adf_publish. Pipeline Resources: You can define resources in your YAML file to specify which pipelines to include. This can be done by listing the pipelines you want to trigger under the resources section.


  2. AnnuKumari-MSFT 34,556 Reputation points Microsoft Employee Moderator
    2024-01-17T09:39:43.63+00:00

    Hi Ksenija Saulic ,

    Welcome to Microsoft Q&A platform and thanks for posting your query here.

    As per my understanding you want to know if selective publishing or selective deployment is possible in ADF or not .

    By design, Data Factory doesn't allow cherry-picking of commits or selective publishing of resources. Publishes will include all changes made in the data factory.

    • Data factory entities depend on each other. For example, triggers depend on pipelines, and pipelines depend on datasets and other pipelines. Selective publishing of a subset of resources could lead to unexpected behaviors and errors.
    • On rare occasions when you need selective publishing, consider using a hotfix. For more information, see Hotfix production environment.

    Reference documents:
    https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/data-factory/continuous-integration-delivery.md

    https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/data-factory/continuous-integration-delivery-hotfix-environment.md
    https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/data-factory/tutorial-control-flow-portal.md Hope it helps. Kindly accept the answer by clicking on Accept answer button. Thankyou

    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.