From 860c4d14afacf267139a020907d1a804ee62c4e7 Mon Sep 17 00:00:00 2001 From: agardner Date: Thu, 27 Apr 2017 15:57:14 +0200 Subject: need to escape <, so move to include raw and shell script Change-Id: I7b54d303bffcbc2fefce6db135ad9efefa0e9ed3 Signed-off-by: agardner --- jjb/securedlab/check-jinja2.sh | 9 +++++++++ jjb/securedlab/check-jinja2.yml | 11 ++--------- 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100755 jjb/securedlab/check-jinja2.sh (limited to 'jjb/securedlab') 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 -- cgit 1.2.3-korg