Bucket of release tasks helping you to deploy to all environments in Episerver DXP (a.k.a DXC) from Azure DevOps. The release tasks use the Deployment API. There are some developers out there that want/need help with deployment to the Episerver DXP enviroment. And that is why this deployment extension is created.
Install the extension to your Azure DevOps project: https://marketplace.visualstudio.com/items?itemName=epinova-sweden.epinova-dxp-deploy-extension. Click on the green "Get it free" button and follow the instructions.
Microsoft has general information on how to install an Azure DevOps extension: https://docs.microsoft.com/en-us/azure/devops/marketplace/install-extension
In the end of that page, there also a link to how to manage extension permission. https://docs.microsoft.com/en-us/azure/devops/marketplace/how-to/grant-permissions
Take a NuGet package from your drop folder in Azure DevOps and upload it to your Episerver DXP project and start a deployment to the specified environment.
Deploy NuGet package documentation
Do the same thing like the "Deploy to =>" button in the portal. It moves the deployed code from one environment to another.
Can also be used for Content syncdown. With the IncludeBlob and IncludeDb you can now sync/deploy both ways.
Deploy to documentation
Both "Deploy nuget package (Episerver DXP)" and "Move deploy (Episerver DXP)" tasks deploy a packe to a environment. That will deploy the package to a slot. The task "Complete deploy (Episerver DXP)" will complete the deploy and move the packe from slot to the real environment.
Complete deploy documentation
This task smoke test a slot and decide if we should continue the release or reset the environment slot because something is not working as expected. The smoke test is a simple check if one or many specified URLs returns HTTPStatus = 200 (OK).
Smoke test if fail reset documentation
Reset a specifed environment if the status for the environment is in status "AwaitingVerification".
Reset deploy documentation
Export database as a bacpac file from specified environment.
Export DB documentation
More detailed description how you can setup and use these tasks in different scenarios. Both with YAML and manual setup.
Setup senarios
A collection of problems that has been found and how to fix it.
Problems