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

Implement something like Quiet Period from Jenkins. #392

Open
dumptruckman opened this issue Sep 28, 2022 · 0 comments
Open

Implement something like Quiet Period from Jenkins. #392

dumptruckman opened this issue Sep 28, 2022 · 0 comments

Comments

@dumptruckman
Copy link

I am requesting that an option be added that would allow the resource to not immediately return new versions found. Basically, if this option is set, after a new version is found, the resource will wait for a specified period of time before indicating that there is a new version.

We currently have a GitHub action that updates the version in a package.json when commits are made to master. Sometimes that results in 2 concourse builds (1 from the initial commit to master, 1 from the automated commit bumping the version) but sometimes it only results in 1 concourse build (from the automated commit). This is of course because when checks are made every minute it may occur after the initial commit but before the automated commit from the action.

I'm not entirely sure how this would work, but I could imagine that the process that does the check for a new version could simply wait for the specified period of time before returning what it found. It could periodically check for newer commits and grab those instead for what gets returned when the quiet period expires.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant