From: Guillaume Abrioux Date: Fri, 28 Sep 2018 13:06:18 +0000 (+0200) Subject: ceph-ansible: don't check for capital letter in meta directories X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1138%2Fhead;p=ceph-build.git ceph-ansible: don't check for capital letter in meta directories it's expected to have capital letters in roles/*/meta/main.yml so let's exclude this path in git_diff_to_head function. Signed-off-by: Guillaume Abrioux --- diff --git a/ceph-ansible-pr-syntax-check/build/build b/ceph-ansible-pr-syntax-check/build/build index a76f30943..371948382 100644 --- a/ceph-ansible-pr-syntax-check/build/build +++ b/ceph-ansible-pr-syntax-check/build/build @@ -50,7 +50,7 @@ function group_vars_check { function git_diff_to_head { # shellcheck disable=SC2154 # ghprbTargetBranch variable comes from jenkins's injectedEnvVars - git diff origin/"${ghprbTargetBranch}"..HEAD + git diff origin/"${ghprbTargetBranch}"..HEAD -- . ':(exclude)roles/*/meta/*' } function match_file {