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
This commit is contained in:
Marcin Juszkiewicz 2021-11-18 13:58:27 +01:00
parent dc683fa1cc
commit 3239812c3d

View File

@ -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-'