Changes for code review
This commit is contained in:
parent
3438c1bfad
commit
ed84835d23
4 changed files with 25 additions and 15 deletions
|
@ -892,6 +892,13 @@ class BUILD_PHASE(object):
|
|||
phase == cls.CANCELLED)
|
||||
|
||||
|
||||
class TRIGGER_DISABLE_REASON(object):
|
||||
""" Build trigger disable reason enum """
|
||||
BUILD_FALURES = 'successive_build_failures'
|
||||
INTERNAL_ERRORS = 'successive_build_internal_errors'
|
||||
USER_TOGGLED = 'user_toggled'
|
||||
|
||||
|
||||
class QueueItem(BaseModel):
|
||||
queue_name = CharField(index=True, max_length=1024)
|
||||
body = TextField()
|
||||
|
|
Reference in a new issue