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