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

[feature request] Support Auto Cancellation #1132

Open
gaocegege opened this issue Jun 11, 2019 · 2 comments
Open

[feature request] Support Auto Cancellation #1132

gaocegege opened this issue Jun 11, 2019 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@gaocegege
Copy link
Contributor

Is this a BUG REPORT or FEATURE REQUEST?:

/kind feature

Auto Cancellation allows you to only run builds for the latest commits in the queue. This setting can be applied to builds for Branch builds and Pull Request builds separately. Builds will only be cancelled if they are waiting to run, allowing for any running jobs to finish.

I think if we support auto cancellation for PRs, then we could save many resources.

@caicloud-bot caicloud-bot added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 11, 2019
@supereagle
Copy link
Member

@gaocegege Thanks for this good feature request, I think it is necessary to support intelligent policy for auto triggers(both PRs and cron), we will consider this in next version.

@gaocegege
Copy link
Contributor Author

gaocegege commented Jun 12, 2019

Thanks, I think we could avoid the situation that some frequent changes in one PR consumes all resources in the Cyclone with the feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants