Do not try to build skipped/unbuildable images
When build is done with logging to separate files we have a lot of files with logs like this: INFO:kolla.common.utils.mongodb:Skipping mongodb This patch stops that. Builds will be a bit faster as we do not push skipped or unbuildable images into build queue anymore. Change-Id: Id8198451e77669d1472f3a21fd3a97f0e6e67cd8
This commit is contained in:
parent
d318e5c1a1
commit
0de8a57f9e
@ -420,7 +420,8 @@ class BuildTask(DockerTask):
|
||||
])
|
||||
if self.image.children and self.success:
|
||||
for image in self.image.children:
|
||||
if image.status == STATUS_UNMATCHED:
|
||||
if image.status in (STATUS_UNMATCHED, STATUS_SKIPPED,
|
||||
STATUS_UNBUILDABLE):
|
||||
continue
|
||||
followups.append(BuildTask(self.conf, image, self.push_queue))
|
||||
return followups
|
||||
|
Loading…
x
Reference in New Issue
Block a user