Hello @H_Gozo
You would like to use CI/CD process for monorepo software development strategy in Azure Devops.
Your Project Structure and YAML files could be organized in following way:
In Azure DevOps repository you will have 2 different pipeline files:
- azure-pipelines-a.yml
- azure-pipelines-b.yml
These YAML files will have triggers and paths. Example for azure-pipelines-a.yml
trigger:
branches:
include:
- develop
- master
paths:
include:
- service-a
- azure-pipelines-a.yml
pr:
branches:
include:
- '*'
paths:
include:
- service-a
- azure-pipelines-a.yml
When you create a new DevOps pipeline, select the repository and on the “Configure your pipeline” page, select “Existing Azure Pipelines YAML file”, which will open up this overlay on the right:
https://julie.io/writing/monorepo-pipelines-in-azure-devops/
https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema%2Cparameter-schema#push-trigger