-
Bug
-
Resolution: Done
-
Normal
-
None
-
quay-3.7
-
False
-
None
-
False
-
Documentation (Ref Guide, User Guide, etc.)
-
-
-
0
This is more of an issue with the Quay documentation.
The documentation provides a sample config that is not working [1]
If you set an empty value to MINIMUM_RETRY_THRESHOLD key as reported in the sample config, Quay will report the following error:
builder stdout | 2022-11-23 12:12:44,239 [60] [ERROR] [buildman.manager.ephemeral] Exception when scheduling job xxxxxxxxxxxxxxxxxxxxxxxxxxxx: '>' not supported between instances of 'NoneType' and 'int' builder stdout | Traceback (most recent call last): builder stdout | File "/quay-registry/buildman/manager/ephemeral.py", line 915, in _work_checker builder stdout | schedule_success, retry_timeout = self.schedule(build_id) builder stdout | File "/quay-registry/buildman/manager/ephemeral.py", line 659, in schedule builder stdout | if executor.minimum_retry_threshold > build_job.retries_remaining: builder stdout | TypeError: '>' not supported between instances of 'NoneType' and 'int'
We should clarify that is not possible to leave MINIMUM_RETRY_THRESHOLD with an empty value and also the sample config should reflect this.