Is it possible to create a pipeline in Azure DevOps that simply runs two or more independent pipelines (in parallel or in series) and does nothing else?
I have an application consisting of five independent microservices, each of which can be built and deployed separately via its individual build pipeline (YAML). However, it is often convenient for us to build and deploy them all together; e.g., when tagging the resulting artefacts as part of a new release. I've scoured the official docs but found nothing on how to do this. Pipeline triggers don't help me because I need to keep these pipelines decoupled, as they are frequently run individually. What I need is something like this (wishful pseudo-code):
trigger: none
pr: none
stages:
- stage: Pipeline 1
jobs:
- job: Pipeline 1
displayName: 'Pipeline 1'
pool:
vmImage: 'ubuntu-16.04'
steps:
// custom script to run Pipeline 1
- script: dotnet run pipeline1
displayName: 'Run Pipeline 1 through a script'
// or, alternatively, an in-built task to do it
- task: RunPipeline@4
displayName: 'Run Pipeline 1 through a task'
inputs:
PipelineName: 'Pipeline 1'
etc.: ...
- stage: Pipeline 2
jobs:
- job: Pipeline 2
...
Or it could be separate jobs within a single stage, or even separate steps within a single job - it doesn't matter. I just want an overarching "master pipeline" that will fire off all the individual pipelines and build all the services at the touch of a button.