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

buildman: fix multiple build retries phase (PROJQUAY-3281) #1139

Merged
merged 2 commits into from Feb 23, 2022

Conversation

kleesc
Copy link
Member

@kleesc kleesc commented Feb 23, 2022

Allow the build to move forward if it is already in the desired
phase/state. When a build fails, ang gets retried from the queue, its
phase doesn't get updated back to WAITING. So it is possible that it
is already in a phase such as SCHEDULED, which could prevent the
buildman from marking the new attempt as scheduled, as there would be
no aparent changes made to the build phase.

@kleesc kleesc requested a review from syed February 23, 2022 15:36
Allow the build to move forward if it is already in the desired
phase/state. When a build fails, ang gets retried from the queue, its
phase doesn't get updated back to WAITING. So it is possible that it
is already in a phase such as SCHEDULED, which could prevent the
buildman from marking the new attempt as scheduled, as there would be
no aparent changes made to the build phase.
syed
syed previously approved these changes Feb 23, 2022
@kleesc kleesc merged commit a044334 into quay:master Feb 23, 2022
@kleesc kleesc deleted the buildman-job-phase-bug branch February 23, 2022 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants