diff options
author | agardner <agardner@linuxfoundation.org> | 2017-04-27 15:57:14 +0200 |
---|---|---|
committer | agardner <agardner@linuxfoundation.org> | 2017-04-27 15:57:56 +0200 |
commit | 860c4d14afacf267139a020907d1a804ee62c4e7 (patch) | |
tree | 6862b7bec343192efabc51c09be4e4388b0d10e5 /jjb | |
parent | 51a00693d31015c58507cb8719de2030d61cf0dd (diff) |
need to escape <, so move to include raw and shell script
Change-Id: I7b54d303bffcbc2fefce6db135ad9efefa0e9ed3
Signed-off-by: agardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/securedlab/check-jinja2.sh | 9 | ||||
-rw-r--r-- | jjb/securedlab/check-jinja2.yml | 11 |
2 files changed, 11 insertions, 9 deletions
diff --git a/jjb/securedlab/check-jinja2.sh b/jjb/securedlab/check-jinja2.sh new file mode 100755 index 000000000..be4d951ed --- /dev/null +++ b/jjb/securedlab/check-jinja2.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set +x +set -o errexit +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 diff --git a/jjb/securedlab/check-jinja2.yml b/jjb/securedlab/check-jinja2.yml index f6bb066cb..1e85536e7 100644 --- a/jjb/securedlab/check-jinja2.yml +++ b/jjb/securedlab/check-jinja2.yml @@ -76,12 +76,5 @@ - builder: name: check-jinja builders: - - shell: | - set +x - set -o errexit - 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 + - shell: + !include-raw-escape: ./check-jinja2.sh |