Azure DevOps Organization & Project Setup involves creating an organization
to manage users, permissions, and billing, followed by setting up a project to organize repositories,
pipelines, boards, and artifacts. The organization acts as a top-level container, while projects help
separate work by application or team. You can define access roles, configure version control (Git), and
enable CI/CD pipelines. This setup ensures structured collaboration, secure access, and efficient project
management across teams.
Git Repos, Branch Policies & PR Automation help maintain code quality and
team collaboration. Git Repos store and manage source code with version control, while branch policies
enforce rules like mandatory reviews and successful builds before merging. Pull Request (PR) automation
triggers checks such as CI builds, tests, and code analysis. This ensures secure, reviewed, and high-quality
code integration into main branches.
CI Pipelines with YAML define automated build and test processes using a
YAML configuration file stored in the repository. The pipeline runs automatically on code commits or pull
requests, ensuring early detection of errors. YAML-based pipelines are version-controlled, reusable, and
easy to maintain. They provide consistent, reliable builds and improve overall development efficiency.
CD Release Pipelines & Environments automate the deployment of applications
to different stages like development, testing, and production. Release pipelines ensure code is deployed in
a controlled and repeatable manner after successful builds. Environments allow approvals, gates, and
validations before moving to the next stage. This setup reduces deployment risks and ensures reliable,
consistent releases.
Infrastructure Deployment with ARM/Bicep enables automated provisioning of
Azure resources using Infrastructure as Code. ARM templates and Bicep define resources like virtual
machines, networks, and storage in declarative files. These deployments are repeatable, version-controlled,
and environment-consistent. Using ARM/Bicep reduces manual errors and simplifies infrastructure management.
Security, Compliance & Cost Management ensure Azure resources are protected,
governed, and optimized for spending. Security controls like role-based access, policies, and threat
detection safeguard applications and data. Compliance tools help meet organizational and regulatory
standards through audits and policies. Cost management monitors usage, sets budgets, and identifies
optimizations to avoid overspending.
Lab Activities
Create an end-to-end pipeline to build, test and deploy a .NET Core application to Azure App Service with
automated approvals.