0
votes

So unfortunately we haven't upgraded from Azure Cloud Service to App Service yet. But I'm wondering how to automatically swap the Staging slot to Production slot with a Release Task.

The automated Release sequence is something like: 1) deploy to staging, 2) manual confirmation to swap staging to production slot, and 3) (after manual confirmation received) swap slots and delete staging instance.

1
azure powershell? - 4c74356b41
Yeah that looks like it should work. Found this: gallery.technet.microsoft.com/scriptcenter/… - Sean

1 Answers

1
votes

Yes so the script from here works to swap Staging and Production slots:

https://gallery.technet.microsoft.com/scriptcenter/Swap-the-Deployments-f588a811

However, I had to set the Azure Powershell task to use an older version and classic resources.

Screen shots:

Azure Powershell Task Version

Azure Powershell Version