I have an application hosted on Azure, which uses the pipeline `atlassian/azure-web-apps-deploy`. I'd like to use Azure slots to achieve blue/green deployment.
I see I can set a repository variable of SLOT, but this seems to be fixed.
What I'd like is:
- deploy the application to the "blue" slot
- route all requests to the "blue" slot
- next deploy will go to the "green" slot
- run some tests on the "green" slot
- route all requests to the "green" slot
- next deploy will go to the "blue" slot
- run some tests on the "blue" slot
- repeat from step 2
How can I construct a pipeline that will work in this way?