# 💎 Breakout: Deploy the backend services of the sample application 💎
# Here is what you will learn 🎯
⏲️ Est. time to complete: 30 min. ⏲️
In Challenge 3 we already created the needed Azure AD
applications to integrate the sample application into Azure AD. The frontend is
already deployed to a dev
and test
environment on Azure. In this breakout
session we will deploy the backend services in the dev
and test
environment.
# Table of content
# Pull latest changes and create a new branch
Since we made changes in the master branch, we first need to pull these changes:
git checkout master
git pull
Next, we create a new feature branch to prepare the needed changes in the workflows for the backend services:
git checkout -b cicd/backend-day5
# Prepare the workflows
Open the VS Code workspace day5.code-workspace
for day5.
Open the following workflows and replace the organization name in each job condition with your organization's name:
- day5-scm-contactsapi.yml
- day5-scm-resourcesapi.yml
- day5-scm-searchapi.yml
- day5-scm-visitreports.yml
Commit and push your changes:
git add .
git commit -m "deploy backend services"
git push --set-upstream origin cicd/backend-day5
# Start the deployments
Next, do the following:
- Create a Pull request to merge the changes into the master branch
- Wait until all status checks are successful
- Merge the Pull request
- Wait until all services are deployed to the
dev
environment - Test the application in the
dev
environment - Approve all deployments to the
test
environment - Test the application in the
test
environment
# Wrap-Up
🎉 Congratulations 🎉
You've done it. There is nothing more to add, just test the application and enjoy your success 🥳