kolla/kolla/cmd
Marcin Juszkiewicz a21ab86ca6 build: handle template syntax errors better
Before:

(venv-for-kolla) 15:35 (s) hrw@puchatek:kolla$ ./tools/build.py --template-only
INFO:kolla.common.utils:Found the docker image folder at /home/hrw/devel/linaro/kolla/docker
Traceback (most recent call last):

[.. here goes 100 lines of Jinja2 traceback ..]

jinja2.exceptions.TemplateSyntaxError: unexpected '}', expected ']'

After:

(venv-for-kolla) 15:44 (s) hrw@puchatek:kolla$ ./tools/build.py --template-only
INFO:kolla.common.utils:Found the docker image folder at /home/hrw/devel/linaro/kolla/docker
ERROR:kolla.common.utils:Syntax error in template: ironic-inspector/Dockerfile.j2
ERROR:kolla.common.utils:unexpected '}', expected ']'
INFO:kolla.common.utils:Dockerfiles are generated in /tmp/kolla-2019-03-13_15-44-28_0ovk4xu_/docker

Change-Id: Iaa899f0b81f6698aa86b15977c39af3269d31e9a
2019-03-26 10:08:46 +01:00
..
__init__.py Make Kolla installable via PIP 2015-08-24 16:08:49 -07:00
build.py build: handle template syntax errors better 2019-03-26 10:08:46 +01:00