Challenge 08
May 5, 2023 · View on GitHub
< Previous Challenge - Home - Next Challenge >
Introduction
In DevOps after we automate our build process, we want to automate our release process, we do this with a technique called Continuous Delivery (CD). Please take a moment to review this brief article talking about why this is important.
Description
In this challenge, we will use GitHub Actions to deploy our container image to the dev environment.
OPTIONAL: Use your code editor (VS Code) to update your workflow file locally on your machine. Remember to commit and push any changes.
Extend the workflow you created in Challenge #7 to:
-
Configure your
devenvironment to pull the latest container image from ACR. -
Make a small change to your application (i.e.,
/Application/aspnet-core-dotnet-core/Views/Home/Index.cshtml), commit, push, monitor the workflow and see if the change shows up on the dev instance of the website. -
Configure your workflow to deploy to your
testandprodenvironments and after a manual approval for each environment.
Success Criteria
- A small change to
/Application/aspnet-core-dotnet-core/Views/Home/Index.cshtmlautomatically shows up on the website running in thedevenvironment (i.e.,<prefix>devops-dev.azurewebsites.net). - Manual approval is required to deploy to the
testandprodenvironments.