jkaluza / freshmaker

Forked from freshmaker 7 years ago
Clone

b97780e Add handler for brew build container task state change event

Authored and Committed by qwan 6 years ago
    Add handler for brew build container task state change event
    
    In BrewSignRpmHandler, we record all the planned Docker image builds
    into database. They have the state PLANNED and they have the
    ArtifactBuild.dep_on set properly according to dependencies between
    these images.
    
    When the build container task state is changed in brew, we should update
    the build state in db, and if the task closed successfully, we should
    rebuild containers that depends on it. At this moment, we only log the
    builds which need to be rebuilt.
    
        
file modified
+2 -0
file modified
+18 -0