October 20, 2022
New feature: Concurrent pipeline runs
This week we welcome a massive improvement for all DevOps engineers and project managers aiming to keep the CI process clear and efficient: concurrent pipeline executions. Not to confuse with parallelism considered as running several pipelines/actions at the same time, the feature allows you to run the same pipeline in non-sequential mode. In other words, instead for waiting for its turn, each commit is processed concurrently within one pipeline.
Previously, all runs in a pipeline were executed sequentially. To test multiple branches at the same time, you had to create a separate pipeline for each branch. Thanks to this new feature, it is now possible for a single pipeline to execute multiple runs at the same time.
The two most common cases are:
- running the same tests on every commit pushed to the repository
- building Docker images for every branch in the repository
To activate concurrent pipeline runs, check the option in the Runtime section of the pipeline settings:
How it works
When a pipeline is in progress and another execution is triggered, the pipeline filesystem is duplicated to serve this execution. The generated artifacts are then produced to each filesystem respectively.
The slots are labeled with the ID of the execution and can be browsed independently in the Filesystem tab of the pipeline. Here's how it looks for a pipeline run concurrently for master and staging branches:
The number of concurrent executions / filesystem slots a pipeline can be undergoing depends on the number of runners in your plan.
As the feature is currently in Beta, we strongly advise against using it for production pipelines. We do, however, ask to send any feedback that you'd like to share: from bug reports to feature requests specific for your type of workflow.
You can further optimize pipeline management by seeding pipeline parameters with YAML templates.
Buddy is 100% customer-driven. Let us know what integrations you need to take your automation game to the next level! If there’s a feature or integration you miss, talk to us on the live chat or drop us a line at email@example.com.
Customer Success Manager