Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use pipeline azure-web-apps-deploy for blue/green deployment to slots?

Neil Padgen
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 26, 2024

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:

  1. deploy the application to the "blue" slot
  2. route all requests to the "blue" slot
  3. next deploy will go to the "green" slot
  4. run some tests on the "green" slot
  5. route all requests to the "green" slot
  6. next deploy will go to the "blue" slot
  7. run some tests on the "blue" slot
  8. repeat from step 2

How can I construct a pipeline that will work in this way?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events