summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2017-09-25 20:59:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-25 20:59:31 +0000
commit6f488fb6b767d72ca1089d0720928fefce357fab (patch)
treeda4861586c325293998de1a9cee702479cc9bba3 /jjb
parent1b4a9451bbb39caf636e9ffa1b10feba3c3e2c7a (diff)
parent6f02dc4002fae02f3e991084a1c8090b856fb18d (diff)
Merge "securedlab: Use Pharos git sub for PDF validation"
Diffstat (limited to 'jjb')
-rwxr-xr-xjjb/securedlab/check-jinja2.sh9
-rw-r--r--jjb/securedlab/check-jinja2.yml14
2 files changed, 6 insertions, 17 deletions
diff --git a/jjb/securedlab/check-jinja2.sh b/jjb/securedlab/check-jinja2.sh
deleted file mode 100755
index 4c1927d77..000000000
--- a/jjb/securedlab/check-jinja2.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-set +x
-set -o errexit
-for lab_configs in $(find labs/ -name 'pod*.yaml'); 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 '*.j2')
-done
diff --git a/jjb/securedlab/check-jinja2.yml b/jjb/securedlab/check-jinja2.yml
index 430ced560..36d5e3a4e 100644
--- a/jjb/securedlab/check-jinja2.yml
+++ b/jjb/securedlab/check-jinja2.yml
@@ -1,5 +1,5 @@
########################
-# Job configuration to validate jninja2 files
+# Job configuration to validate jinja2 files
########################
- project:
@@ -14,7 +14,7 @@
- master:
branch: '{stream}'
disabled: false
- - danube:
+ - euphrates:
branch: 'stable/{stream}'
disabled: false
@@ -65,11 +65,9 @@
branch-pattern: '**/{branch}'
file-paths:
- compare-type: ANT
- pattern: 'utils/generate_config.yml'
- - compare-type: ANT
- pattern: '**/*.jinja2'
- - compare-type: ANT
pattern: '**/*.yaml'
+ - compare-type: ANT
+ pattern: 'check-jinja2.sh'
skip-vote:
successful: true
failed: true
@@ -82,5 +80,5 @@
- builder:
name: check-jinja
builders:
- - shell:
- !include-raw-escape: ./check-jinja2.sh
+ - shell: |
+ $WORKSPACE/check-jinja2.sh