#318 Ignore Brew builds for already failed/completed events.
Merged 6 months ago by jkaluza. Opened 6 months ago by jkaluza.
jkaluza/freshmaker ignore-failed-events  into  master

@@ -62,6 +62,9 @@ 

  

          if found_build is not None:

              self.set_context(found_build)

+             if found_build.event.state not in [EventState.INITIALIZED.value,

+                                                EventState.BUILDING.value]:

+                 return

              # update build state in db

              if event.new_state == 'CLOSED':

                  # if build is triggered by an advisory, verify the container

no initial comment

Pull-Request has been merged by jkaluza

6 months ago
Metadata