basquiatraphaeu
basquiatraphaeu

Reputation: 667

Publish ADF files to specific folder within project

How can I have all files generated by the publishing within a specific folder on an Azure DevOps repo?

I've tried to specify the relative path on the Root folder property on the Git repository configuration as follows:


enter image description here


But it keeps duplicating the files at the root of the project

enter image description here

Upvotes: 0

Views: 1095

Answers (2)

basquiatraphaeu
basquiatraphaeu

Reputation: 667

It turns out that it was a misconfiguration on my end. Indeed the proper way to deploy ADF metadata within a specific folder is declaring the relative path on the Root folder property.

Upvotes: 0

AnnuKumari
AnnuKumari

Reputation: 563

Whenever we hit the publish button from main branch in adf, adf_publish branch is generated where you actually publish your production ready code from your collaboration branch ( main or master branch) to Data factory service. This branch contains the ARM templates of those artifacts that you have published to Data factory service from your collaboration branch in the form of these .json files:

  1. ARMTemplateForFactory.json – This is the ARM template file that consists of ALL the resources that you have in the ADF pipeline.

  2. 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.

This is the default behavior when we publish our changes in ADF. As it is auto-generated branch, it's not editable.

Upvotes: -1

Related Questions