From 3239812c3d92c60f241477b1d7f0232324d424f7 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 18 Nov 2021 13:58:27 +0100 Subject: [PATCH] build: 5s delay + note when binary images are used We deprecate binary images during Yoga cycle and drop in Z one. Reminding users on each run to make sure they notice. Change-Id: I62148b95e226711cbc70ab2a411774114f9dd7b1 --- kolla/image/build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kolla/image/build.py b/kolla/image/build.py index 510f57e55c..76cd1a859b 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -681,6 +681,12 @@ class KollaWorker(object): "due to lack of packages for other architectures.") sys.exit(1) + if self.install_type == 'binary': + LOG.info("Building binary images is now deprecated. Consider " + "switching to source ones.") + LOG.info("Build will continue in 5 seconds.") + time.sleep(5) + self.image_prefix = self.base + '-' + self.install_type + '-' if self.conf.infra_rename: self.infra_image_prefix = self.base + '-infra-'