Skip to content

Commit 3239812

Browse files
committed
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
1 parent dc683fa commit 3239812

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kolla/image/build.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,12 @@ def __init__(self, conf):
681681
"due to lack of packages for other architectures.")
682682
sys.exit(1)
683683

684+
if self.install_type == 'binary':
685+
LOG.info("Building binary images is now deprecated. Consider "
686+
"switching to source ones.")
687+
LOG.info("Build will continue in 5 seconds.")
688+
time.sleep(5)
689+
684690
self.image_prefix = self.base + '-' + self.install_type + '-'
685691
if self.conf.infra_rename:
686692
self.infra_image_prefix = self.base + '-infra-'

0 commit comments

Comments
 (0)