Question: A team is running CI / CD processes using Azure DevOps. Recently, they decided to move to the microservices architecture, where each microservice is built

A team is running CI/CD processes using Azure DevOps. Recently, they decided to move to the microservices architecture, where each microservice is built and library modules. The team needs to ensure efficient build/release processes without duplicate builds for these shared modules. What is the best way to optimize CI/CD processes in Azure for this architecture?
Pick ONE option
A)
Set up a separate build pipeline for each microservice and the shared modules.
Use pipeline triggers to start the microservice build every time there is a change in its code or the shared modules.
B)
Merge all microservice repositories into a monorepo.
Set up a single build pipeline for the entire monorepo, triggering a build for all microservices even if only one service or shared module changes.
C)
Create a build pipeline for the shared modules and produce artifacts.
For each microservice, set up individual build pipelines that consume the shared module artifacts. Use pipeline triggers only when there is a change in the specific microservice code.
D)
Avoid setting up any build pipelines.
Instead, rely on manual builds by developers in their local environment and then push the compiled code to the deployment pipeline

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!