Merge "build: 5s delay + note when binary images are used"

This commit is contained in:
Zuul 2021-12-05 16:09:16 +00:00 committed by Gerrit Code Review
commit 0443cee223
1 changed files with 6 additions and 0 deletions

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