aboutsummaryrefslogtreecommitdiff
path: root/kolla/common
diff options
context:
space:
mode:
authorMartin André <m.andre@redhat.com>2017-07-03 18:02:35 +0200
committerMartin André <m.andre@redhat.com>2017-07-05 10:34:00 +0200
commit78bbd8fd0d54c8203ced7d81c32bdd421849ceee (patch)
treebfa3cc05504f6542251e01a6357525b407c6c558 /kolla/common
parentf26b1ba0b362e9091141f0fad2f7b91edc40ac11 (diff)
downloadkolla-78bbd8fd0d54c8203ced7d81c32bdd421849ceee.tar.gz
kolla-78bbd8fd0d54c8203ced7d81c32bdd421849ceee.zip
Add new --skip-existing option to kolla-build
This new option allows to skip images that are already present in the docker cache. Change-Id: I202c70864f8aa86abd882240beb7f6525963e625 Closes-Bug: #1694302
Diffstat (limited to 'kolla/common')
-rwxr-xr-xkolla/common/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index 2eb8960eb..4c227913b 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -189,6 +189,8 @@ _CLI_OPTS = [
help='Turn on debugging log level'),
cfg.BoolOpt('skip-parents', default=False,
help='Do not rebuild parents of matched images'),
+ cfg.BoolOpt('skip-existing', default=False,
+ help='Do not rebuild images present in the docker cache'),
cfg.DictOpt('build-args',
help='Set docker build time variables'),
cfg.BoolOpt('keep', default=False,