aboutsummaryrefslogtreecommitdiff
path: root/kolla/common
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-09-21 12:27:34 +0000
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-09-21 12:31:07 +0000
commite40bf80f98ec470f4358fe9511d3bea968f2a25f (patch)
tree2b80f857bf9f4df770719513e50013aa0d32fc1e /kolla/common
parent87730f8f7c02e5d295ccde2925c8b7b14e4ef693 (diff)
downloadkolla-e40bf80f98ec470f4358fe9511d3bea968f2a25f.tar.gz
kolla-e40bf80f98ec470f4358fe9511d3bea968f2a25f.zip
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
Diffstat (limited to 'kolla/common')
-rwxr-xr-xkolla/common/config.py4
1 files changed, 3 insertions, 1 deletions
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 = [