From 90e2b5ea413edb1f12d0f6fbcc58e7c68b2aaa57 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 12 Jan 2018 22:27:26 +0100 Subject: [PATCH] [PDF] check-jinja: Disable check against template 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 --- config/utils/check-jinja2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/utils/check-jinja2.sh b/config/utils/check-jinja2.sh index 8a966e52..f23d389c 100755 --- a/config/utils/check-jinja2.sh +++ b/config/utils/check-jinja2.sh @@ -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' -- 2.16.6