From 0de8a57f9e5659f13db97bfe27ea5b0c7d452454 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 22 Apr 2020 14:39:12 +0200 Subject: 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 --- kolla/image/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kolla/image/build.py b/kolla/image/build.py index 915fa30cb..10225400e 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -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 -- cgit v1.2.3