Ignore datafactory pipelines and datasets while deploying from Dev to Test and Prod

Krishnamohan Nadimpalli 401 Reputation points
2023-05-24T04:24:29.7433333+00:00

Hi All

We have 3 data factory instances(Dev, Test and Prod) and there is a CI/CD setup through YAML Deployment. But now there are some projects where we do not want to migrate to Test and Prod. Is there a sample YAML code available for data factory where we can ignore some pipelines , data flows, datasets? So that they do not migrate from Dev to Test and Prod.

Regards

Krishna

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

1 answer

Sort by: Most helpful
  1. BhargavaGunnam-MSFT 26,136 Reputation points Microsoft Employee
    2023-05-31T00:45:19.07+00:00

    Hello @Krishnamohan Nadimpalli,

    I tried following up with my internal team and have not received the expected response.

    But here is my understanding of your ask.

    You need to delete the artifacts from the arm template and configure the deployment task. Here, if you select "delete artifacts not in template" option, any artifact in the target workspace that doesn't belong to the ARM template generation from the source will be automatically deleted.

    release pipeline:

    User's image

    yaml pipeline:

    image

    Please let me know if you have any further questions.

    I am looking forward to hearing from you.

    0 comments No comments