Fast feedback with pull request deployments
summary
Shows a working PR-deploy pipeline that builds artifacts, versions them with a PR suffix, and pushes a unique deployment per PR: front end, backend API, and a dedicated Azure SQL database all running in a namespaced cluster. Uses Azure DevOps CI/CD, Helm charts on Azure Kubernetes Service, SSDT-based DB migrations, a service principal for least-privilege deploys, automated UI/API regression tests and recorded test videos, and an incoming webhook cleanup that destroys resources when the PR is merged or abandoned.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 2:20Demo of PR deployments
- 6:18Why PR deployments matter
- 8:46Benefits of failing fast
- 12:36Production-like environments
- 14:42What you need to set up
- 17:28CI build artifacts
- 18:32Permissions for PR deployments
- 21:04Pipeline design basics
- 23:54Branch policies and checks
- 26:01Versioning for PRs
- 27:48Adding status checks
- 29:58CD pipeline setup
- 31:26Resource naming and cleanup
- 34:14Cleaning up PR resources
- 38:09Database deployments as code
- 39:35Deployment strategies
- 43:26Recap and key takeaways
