From: Dave Wallace Date: Wed, 24 Jul 2024 22:16:33 +0000 (-0400) Subject: fix(vpp): install vpp dependencies in checkstyle job X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F41297%2F3;p=ci-management.git fix(vpp): install vpp dependencies in checkstyle job - ensure correct version of clang-format is installed Change-Id: Ieb944e8368076ca44bdc3a0060bfdd0252a71844 Signed-off-by: Dave Wallace --- diff --git a/jjb/scripts/vpp/checkstyle.sh b/jjb/scripts/vpp/checkstyle.sh index 00fc8bdb8..7feae3980 100755 --- a/jjb/scripts/vpp/checkstyle.sh +++ b/jjb/scripts/vpp/checkstyle.sh @@ -34,9 +34,9 @@ if git show --stat | grep -q "$MATRIX_FILE" ; then fi fi -if [ -n "$(grep -E '^checkstyle:' Makefile)" ] +if grep -qE '^checkstyle:' Makefile then - make checkstyle + make UNATTENDED=yes install-deps checkstyle else - echo "Can't find checkstyle target in Makefile - skipping checkstyle" + echo "Can't find checkstyle target in Makefile - skipping checkstyle" fi