FFFffff
FFFffff

Reputation: 1070

Approval in Azure Devops YAML pipeline without virtual machine

Let's say I have a YAML pipeline, releasing to dev and prod, and I want to set an approval before releasing to production. Currently, this can be done via Environments approvals (MS Docs - Define approvals and checks).

However, this seems to work only for virtual machines.

How can I set an approval when releasing to Azure PaaS components, e.g. Azure function or Azure App Service?

Upvotes: 0

Views: 734

Answers (2)

Vince Bowdren
Vince Bowdren

Reputation: 9208

In your pipeline you need to define a deployment job, specifying an Environment which is configured to require an Approval.

Upvotes: 0

FFFffff
FFFffff

Reputation: 1070

To achieve this, go to service connection that is used to connect to cloud env, and set the approval there.

Project settings -> service connections -> select your connection (prod) -> click the three dots -> approvals and checks.

Upvotes: 1

Related Questions