Why is my publish_adf branch empty?

7a7a 1 Reputation point
2021-08-30T08:54:05.817+00:00

Hello,

I created a branch named X in my Azure Data Factory (first branch).

Initially my factory contained multiple pipelines and datasets that were created in live mode.
The newly created branch (X) had those components. I also added other datasets and pipelines.
When I click on publish, my updates get uploaded to X branch on Git but never on adf_publish branch.

Result: my adf_publish is almost empty:

127490-image.png

Compared to X branch:

127591-image.png

Is this behaviour normal ? I was expecting to have in adf_publish all published updates from other branches.

Thank you.

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

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,432 Reputation points Microsoft Employee
    2021-08-31T05:21:05.337+00:00

    Hi @7a7a ,

    Welcome to Microsoft Q&A forum and thanks for reaching out.

    Yes this is normal. adf_publish branch is generated when you actually publish your production ready code from your collaboration branch ( main or master branch) to Data factory service. This branch doesn't contain the same files as that of your collaboration branch instead it contains the ARM templates of those artifacts that you have published to Data factory service from your collaboration branch.

    When you published all the work, then the adf_publish branch should contains ARM template files as shown below.

    127793-image.png

    • ARMTemplateForFactory.json – This is the ARM template file that consists of ALL the resources that you have in the ADF pipeline.
    • ARMTemplateParameterForFactory.json – The parameters that the ARM Template would need. The parameter files contains all the names and configurations of the services that are environment specific.

    If you would want to make sure that your changes are published successfully then you can open ARMTemplateForFactory.json file and search with any ADF artifact name (pipeline/dataset name) that you have published recently and you should be able to see it.

    Hope this clairifes.

    ----------

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.