This is a design question. I am not sure this is the right place. We have multiple microservices deployed using a blue/green pattern in Azure DevOps pipelines.
What I am trying to achieve is I want to deploy (trigger pipeline) services based on the service version.
As an example, let's say we have three services A
, B
and C
which have an internal dependency graph, and different versions, i.e. A@1.2
If I want to deploy, say service A@1.2
and for that to work we want service B@2.1
and service C@1.1
.
So when I decide I want to deploy service A@1.2
automatically I want to trigger the pipeline for service B@2.1
and service C@1.1
.
So, we want to deploy exact version of those services on a set of events, such as upgrading the underlying k8s cluster, or similar changes.
I tried to trigger pipeline from one pipeline to other(pipeline trigger), but I am not able to pass the exact same version what the dependency service needs to be deployed