Code Docs

CI/CD for Microservices using Azure DevOps and SonarQube

Welcome Note!


Introduction:

This project focuses on setting up an automated CI/CD pipeline using Azure DevOps and SonarQube for deploying a microservice to an Azure Kubernetes Service (AKS) cluster. The primary goal is to streamline the development and deployment process, ensuring code quality and efficient delivery.

Objectives:

  1. Automate the build, test, and deployment processes.
  2. Ensure code quality through static analysis with SonarQube.
  3. Containerize the application using Docker.
  4. Deploy the application to a Kubernetes cluster in Azure.

Architecture Diagram:

Architecture.png

What is an Agent in DevOps?

An agent in DevOps is a program that runs on a computer and performs tasks like building code, running tests, and deploying applications. It carries out the steps defined in your CI/CD pipeline to automate these processes.

What is a Self-Hosted Agent?

A self-hosted agent is an agent that you set up and manage on your own machines (either on-premises or in the cloud), instead of using agents provided by Microsoft.

SonarQube as a Self-Hosted Agent

SonarQube is a tool that analyzes code for quality and security issues. When using a self-hosted agent, you can install and configure SonarQube on the same machine to perform code analysis as part of your CI/CD pipeline.

<aside> 💡 This project references the YouTube channel [DevOps Shack] https://www.youtube.com/watch?v=mA9FXfxMOao

The GitHub repository: https://github.com/jaiswaladi246/10-MicroService-Appliction

</aside>

Table of Contents


https://1drv.ms/x/c/8585aad75fca945a/EQaYv5K5Qw9MpPBCZcqGwUoBTsAwddMq-Gx2rjnpCWgvEg