Use pharos submodule for PDF validation
[securedlab.git] / check-jinja2.sh
1 #!/bin/bash
2 set +x
3 set -o errexit
4 git submodule update --init --remote 2>/dev/null
5 GEN_CFG="./pharos/config/utils/generate_config.py"
6 for lab_configs in $(find labs/ -name 'pod*.yaml'); do
7     while IFS= read -r jinja_templates; do
8         echo "$GEN_CFG -y $lab_configs -j $jinja_templates"
9         $GEN_CFG -y $lab_configs -j $jinja_templates
10     done < <(find pharos/config/installers/ -name '*.j2')
11 done