summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-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 ce307e691..10835f6a3 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -363,6 +363,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 ..."
@@ -372,8 +375,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