[PDF] check-jinja: Disable check against template 29/50529/3
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 12 Jan 2018 21:27:26 +0000 (22:27 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 14 Jan 2018 16:55:56 +0000 (17:55 +0100)
config/pdf/pod1*yaml files are not valid PDFs, but only templates.
Trying to expand said files against installer adapters would lead
to funky results, since most fields are expressed as '{val1|val2}'
in the template files.

Change-Id: Ieec4d596d0b5246aa506239183a31463951403e7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
config/utils/check-jinja2.sh

index 8a966e5..f23d389 100755 (executable)
@@ -52,7 +52,7 @@ while IFS= read -r lab_config; do
         done < <(find "${adapter}" -name '*.j2')
         SUMMARY+="${pdf_yaml_pass}/${pdf_inst_pass}/${pdf_inst};"
     done
-done < <(find 'config' 'labs' -name 'pod*.yaml')
+done < <(find 'labs' -name 'pod*.yaml')
 
 rm -f "${TMPF}"
 echo -e '\n\nNOTE: tuple fmt: (valid YAML output/sucessful parse/templates).\n'