Honor --debug for buildah builder
Fix debug logging for buildah bud Pass the application debug option to the called build process as well Co-authored-by: Bogdan Dobrelya <bdobreli@redhat.com> Change-Id: Ic671e38fd4f07828174e908a28f564cacf8ded97
This commit is contained in:
parent
0aded9ecb1
commit
501fea0dad
@ -145,7 +145,7 @@ testscenarios===0.4
|
||||
testtools==2.2.0
|
||||
tooz==1.58.0
|
||||
traceback2==1.4.0
|
||||
tripleo-common==12.6.0
|
||||
tripleo-common==12.7.0
|
||||
ujson==1.35
|
||||
unittest2==1.1.0
|
||||
validations-libs==1.0.0
|
||||
|
@ -14,7 +14,7 @@ simplejson>=3.5.1 # MIT
|
||||
six>=1.10.0 # MIT
|
||||
osc-lib>=1.8.0 # Apache-2.0
|
||||
websocket-client>=0.44.0 # LGPLv2+
|
||||
tripleo-common>=12.6.0 # Apache-2.0
|
||||
tripleo-common>=12.7.0 # Apache-2.0
|
||||
cryptography>=2.1 # BSD/Apache-2.0
|
||||
ansible-runner>=1.4.5 # Apache 2.0
|
||||
validations-libs>=1.0.0
|
||||
|
@ -242,7 +242,8 @@ class BuildImage(command.Command):
|
||||
utils.get_from_cfg(kolla_cfg, "namespace"),
|
||||
utils.get_from_cfg(kolla_cfg, "registry"),
|
||||
utils.getboolean_from_cfg(kolla_cfg, "push"),
|
||||
build_timeout=parsed_args.build_timeout)
|
||||
parsed_args.build_timeout,
|
||||
self.app.options.debug)
|
||||
bb.build_all()
|
||||
elif parsed_args.list_dependencies:
|
||||
deps = json.loads(result)
|
||||
|
@ -651,7 +651,8 @@ class Build(command.Command):
|
||||
push_containers=parsed_args.push,
|
||||
volumes=parsed_args.volumes,
|
||||
excludes=list(set(excludes)),
|
||||
build_timeout=parsed_args.build_timeout
|
||||
build_timeout=parsed_args.build_timeout,
|
||||
debug=self.app.options.debug
|
||||
)
|
||||
try:
|
||||
bb.build_all()
|
||||
|
Loading…
x
Reference in New Issue
Block a user