You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ability to batch yaml pipeline by all event triggers
Describe your feature request here
Current Behaviour
Currently when ymal pipeline triggers are configured for multiple tags, if multiple tags are pushed at the same time to the same commit and branch, multiple builds will be triggered even if batch: true. This is because batch only batches builds triggered by the same event type.
Add some sort of configuration that would allow for broader batching of a pipelines builds across all triggers. If 2 or more tags are pushed to the same commit at the same time, only one build of the pipeline should be run. e.g.
# maintains current behaviourtrigger:
batch: true
perhaps extend current configuration to allow for something like
# Batches all pipeline event triggers so a single build for the entire pipeline only happens at a time.trigger:
batch:
- tags
- branches
Why is this needed
I have a deployment pipeline for an application that consists on multiple sub libraries (infra, k8s charts, app, api etc.). Each of these are versioned and tagged so that docker builds etc are versioned correctly. Whenever each of these components/ tags are updated, I only need to trigger the associated pipeline once to ensure the current deployment is synced to the current verison for all sub libraries.
There is no way to make it so that the pipeline is only run once if multiple tags are updated and pushed to a single commit.
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days
Task name
Add ability to batch yaml pipeline by all event triggers
Describe your feature request here
Current Behaviour
Currently when ymal pipeline triggers are configured for multiple tags, if multiple tags are pushed at the same time to the same commit and branch, multiple builds will be triggered even if
batch: true
. This is because batch only batches builds triggered by the same event type.Proposal
Add some sort of configuration that would allow for broader batching of a pipelines builds across all triggers. If 2 or more tags are pushed to the same commit at the same time, only one build of the pipeline should be run. e.g.
perhaps extend current configuration to allow for something like
Why is this needed
I have a deployment pipeline for an application that consists on multiple sub libraries (infra, k8s charts, app, api etc.). Each of these are versioned and tagged so that docker builds etc are versioned correctly. Whenever each of these components/ tags are updated, I only need to trigger the associated pipeline once to ensure the current deployment is synced to the current verison for all sub libraries.
There is no way to make it so that the pipeline is only run once if multiple tags are updated and pushed to a single commit.
The text was updated successfully, but these errors were encountered: