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
[Feature] Builds auto cancellation #1980
Comments
I'll have a look at this |
Got updates from @bradrydzewski , quote here
Our user case and my reply:
Build Job in our pipeline tasks about 20 minutes, with this feature, It will save a lot of time for developers. I'd like to have this feature as an option which I can define to switch it on or off. |
How far is the feature from release? |
Any update of this feature? |
we do not have any updates to share. if / when we have updates to share we will comment on the issue accordingly. |
we have an initial implementation of this feature available in release 1.6.x and higher. You can automatically cancel pending push or pull requests if a newer build is scheduled. You can configure this behavior from the command line using the following:
note that we do not cancel running builds. I know this was mentioned above, however, this is not something we plan to implement. If you need this feature, you can implement a custom webhook to handle canceling running builds. https://github.com/drone/boilr-webhook |
As discussion in:
http://discourse.drone.io/t/feature-build-auto-cancel/401
It'll be good to have a feature to automatically cancel the builds on a single branch or pull request, this can really help to save resources on CI cluster when a user is keep committing or changing something especially on GitHub web GUI since they can't work on multiple fine at a single time, may trigger 5~10 builds or even more, which can cause a huge resource wasting(especially on the builds having huge building works or on the fat repo like @cdnjs).
The text was updated successfully, but these errors were encountered: