From 78bbd8fd0d54c8203ced7d81c32bdd421849ceee Mon Sep 17 00:00:00 2001 From: Martin André Date: Mon, 3 Jul 2017 18:02:35 +0200 Subject: 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 --- kolla/common/config.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kolla/common') 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, -- cgit v1.2.3