added success logging

This commit is contained in:
2022-02-19 19:44:04 +01:00
parent 270889bf5c
commit 65f3247d20

View File

@@ -204,6 +204,8 @@ func (b *BuildManager) buildQueue(queue []*ProtoPackage, ctx context.Context) er
if err != nil { if err != nil {
log.Warningf("error building package %s->%s->%s in %s: %s", pkg.March, pkg.FullRepo, pkg.Pkgbase, dur, err) log.Warningf("error building package %s->%s->%s in %s: %s", pkg.March, pkg.FullRepo, pkg.Pkgbase, dur, err)
b.repoPurge[pkg.FullRepo] <- []*ProtoPackage{pkg} b.repoPurge[pkg.FullRepo] <- []*ProtoPackage{pkg}
} else {
log.Infof("Build successful: %s (%s)", pkg.Pkgbase, dur)
} }
}(pkg) }(pkg)
} }