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.
How to publish only some pipelines in adf using cicd azure devops
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
2 answers
Sort by: Most helpful
-
Jagan Rajagopal 0 Reputation points
2024-01-15T10:35:39.05+00:00 -
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.mdhttps://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 onAccept answer
button. Thankyou