Karmile S
Karmile S

Reputation: 19

Automatic deployment of multiple workflows to empty standard logicapp using azure devops pipelines

Here as you can see i have 2 sample different workflows in my repo.
image.png
In this release pipeline i am using arm template deploy and i am able to add this sample workflow configuration
image.png

after release i am able to see this sample workflow in my destination empty consumption logic app. But what if i have multiple sample workflows in my repo, am i need to go to every time release pipeline and do i need to change every time this template configuration.
Is there any way to automatic this like, if i upload multiple different workflows in git repo then pipeline automatically trigger and create those multiple workflows in single empty standard logic app.

  1. Is this possible automatically create different workflows to single empty consumption logic app, whenever I uploaded different multiple workflows to git repo with out changing template configuration every time.

2.https://stackoverflow.com/questions/77250036/automatically-migrate-azure-logic-workflow-using-azure-devops-pipeline-to-empty this will work for consumption what if my destination empty logic app is standard and i want to add multiple workflows to this empty standard logicapp.What changes do i need in my git repo file and pipeline

As shown in images whenever i uploaded new workflows to git repo it asking for template configuartion in release pipeline.

Upvotes: -1

Views: 357

Answers (1)

Kevin Lu-MSFT
Kevin Lu-MSFT

Reputation: 35514

I am afraid that there is no method can automatically update the release configuration for the ARM templates deployment.

When we use the ARM template deployment task in Release Pipeline, the path of the workflow.json file used needs to be set manually in advance, and it cannot automatically obtain the newly added workflow file.

At the same time, the ARM template deployment task can only deploy one workflow json file each time it is run.

Therefore, when you upload multiple workflow files, you need to manually change the Release Pipeline configuration before you can successfully deploy.

For more detailed information, you can refer to this doc about Azure Resource Manager (ARM) Template Deployment Task

Upvotes: 1

Related Questions