Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit pipeline parallel execution per-branch #4809

Open
3 tasks done
lafriks opened this issue Feb 3, 2025 · 0 comments
Open
3 tasks done

Limit pipeline parallel execution per-branch #4809

lafriks opened this issue Feb 3, 2025 · 0 comments
Labels
feature add new functionality

Comments

@lafriks
Copy link
Contributor

lafriks commented Feb 3, 2025

Clear and concise description of the problem

Currently there is no way to reliability limit same pipeline with different commits not to be executed in parallel. This can be problematic if pipelines are used to do deployments and canceling running executing pipeline is not an option as that could break deployment.

Suggested solution

Allow to specify either in pipeline or in repo settings that pipelines for each branch are exclusive/should be queued (similarly how that it is possible to set cancel executing pipelines)

Additional context

In our use case if canceling helm deploy in k8s can result in broken deployment state

Validations

  • Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
@lafriks lafriks added the feature add new functionality label Feb 3, 2025
@lafriks lafriks changed the title Limit pipeline parallel execution Limit pipeline parallel execution per-branch Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature add new functionality
Projects
None yet
Development

No branches or pull requests

1 participant