diff options
author | 2017-04-27 14:53:05 +0200 | |
---|---|---|
committer | 2017-04-27 14:53:05 +0200 | |
commit | 44a833d58c54e9ba56fe165733611efc60514d3f (patch) | |
tree | 0b41cad1207b63914eab809ea021c39628052c9d /jjb | |
parent | 7cdada380082c3df0d5a19eb0d002c67ca303584 (diff) |
Check all jinja templates against all lab files
Dont use zte files as they are not valid yaml
(ill fix that later)
Change-Id: I5a21edb774a64ef134dd3f49c552f33b0d13f01e
Signed-off-by: agardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/securedlab/check-jinja2.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/jjb/securedlab/check-jinja2.yml b/jjb/securedlab/check-jinja2.yml index 7b5b6c013..164e049ec 100644 --- a/jjb/securedlab/check-jinja2.yml +++ b/jjb/securedlab/check-jinja2.yml @@ -75,6 +75,11 @@ name: validate-jnija-templates builders: -shell: | + set +x set -o errexit - ./utils/generate_config.py -y labs/intel/pod5/pod.yaml -j - installers/joid/labconfig.jinja2 + for lab_configs in $(find labs/ -name 'pod.yaml' | grep -v zte); do + while IFS= read -r jinja_templates; do + echo "./utils/generate_config.py -y $lab_configs -j $jinja_templates" + ./utils/generate_config.py -y $lab_configs -j $jinja_templates + done < <(find installers/ -name '*.jinja2') + done |