From e40bf80f98ec470f4358fe9511d3bea968f2a25f Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Mon, 21 Sep 2020 12:27:34 +0000 Subject: Create 'infra' type of images If image is always built same way then it is considered 'infra'. BINARY_SOURCE_IMAGES variable lists toplevel binary/source images. There is a switch "--infra-rename" to enable renaming of infrastructure images. Disabled by default to keep compatibility (will be enabled in future patch). Implements: blueprint infra-images Change-Id: Ib5235e3576ef0eae3efab9559ef44227c928067c --- kolla/common/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'kolla/common') diff --git a/kolla/common/config.py b/kolla/common/config.py index 4ccf8d626..9925d5843 100755 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -254,7 +254,9 @@ _CLI_OPTS = [ cfg.BoolOpt('enable-unbuildable', default=False, help='Enable images marked as unbuildable'), cfg.BoolOpt('summary', default=True, - help='Show summary at the end of build') + help='Show summary at the end of build'), + cfg.BoolOpt('infra-rename', default=False, + help='Rename infrastructure images to infra') ] _BASE_OPTS = [ -- cgit v1.2.3