Hello there,
I have a git repo in Azure DevOps containing a Azure Resource Group project used to develop and manage our Logic App templates - and only logic apps.
The project will, as time goes, have more and more logic app templates and when each of those are approved, I want them deployed in our production environment with as little human interaction as possible. When a pull request gets completed, I want it to automatically deployed into production.
My question is whether or not this is possible with only 1 pipeline? Since I have to choose the ARM template and parameter file beforehand in the pipeline task, I'm wondering if the template filename can be set at the time of creating the pull request and pass it to the pipeline as a variable?
I was first thinking about providing the template filename as a tag for the pull request and use that throughout the pipelines, but I can't find a way to do that and it seems way to error prone.
I've then thought about doing it the two following ways, but they are suboptimal compared to what I really want.
1) To have the template filename manually set, after the pull request has been completed, during the creation of a release or
2) To create a new pipeline for each logic app in the project.
Thanks!
Regards - Anders