Azure / Azure/azure-powershell

webapp: Cancel a "Swap with Preview" deployment swap after ApplyConfig

Open
#10,723 6 comments 0 reactions 1 assignee Claimed by @Kotasudhakarreddy View on GitHub
act-observability-squad App Services customer-reported feature-request Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

## Description of the new feature
From #3667. I'd like to be able to cancel a "Swap with Preview" deployment swap after the -ApplyConfig step. This does not appear to be supported with Azure Powershell.

My deployment process is:
1) Create a new deployment slot
2) Deploy to deployment slot
3) Apply production config to deployment slot (swap with preview)
4) Wait for deployment slot to become healthy **
5) Complete deployment slot swap

If step 4 fails, my automated process is stuck. I have to log into Azure Portal and manually Complete Swap -> Cancel Swap.

** I use this method because app startup often takes 4 minutes for my app which prevents me from using the non-preview swap which has (I think) a 90 second timeout.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.