summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/global/releng-macros.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml
index 7647a35d3..5b7ef5065 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -366,6 +366,9 @@
set -o xtrace
export PATH=$PATH:/usr/local/bin/
+ # install python packages
+ pip install "yamllint==1.6.0"
+
# generate and upload lint log
echo "Running yaml code on $PROJECT ..."
@@ -375,8 +378,6 @@
# Get number of yaml violations. If none, this will be an
# empty string: ""
find . \
- -path './releng_yamllint' -prune -o \
- -path './.tox' -prune -o \
-type f -name "*.yml" -print \
-o -name "*.yaml" -print | \
xargs yamllint > yaml-violation.log || true