Home > Enterprise >  How can you create review apps in Azure Devops
How can you create review apps in Azure Devops

Time:05-23

Im very new to review apps but have been asked to create review apps in Azure devops? Any guides to how to do this ? The source code is in Github and they were using Herouku previously but now want to use Azure

CodePudding user response:

The new Review Apps feature in Azure Pipelines, currently available in public preview, works by deploying every pull request (PR) from your Git repository to a dynamically-created enter image description here

Once you have configured review app you will have a working Pipeline YAML in your Git repository Now you can:

  1. Create a new branch for changes you want to commit
  2. Start a Pull Request (PR) so other team members can review the code changes
  3. A Review App is created with latest changes in the pull request deployed to a dynamically created environment resource
  4. For each commit to the same branch, changes are deployed again. The PR will have the details of deployments done
  5. Once the PR has been reviewed and accepted, the feature branch is merged into master where it’s deployed to a staging environment
  6. After been approved in staging, the changes that were merged into master are deployed to production

The key is in constantly updating these dynamically-created review environment resources as you continue to work. With this in place, you get the preview of every branch pull request. This is perfect for complex changes, especially in a micro-services scenario, where static code review and/or unit testing is not enough.

If you are using Azure Kubernetes Service (AKS) with Azure Dev Spaces and Azure Pipelines, you can easily test your PR code in the context of the broader application running in AKS. As a bonus, team members such as product managers and designers can become part of the review process during early stages of development.

So please try out Review Apps.

  • Related