From 4a25fb2bb046cfbe3067f5a8dd58882f40ae8a43 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 28 Sep 2018 15:06:18 +0200 Subject: [PATCH] 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 --- ceph-ansible-pr-syntax-check/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-ansible-pr-syntax-check/build/build b/ceph-ansible-pr-syntax-check/build/build index a76f3094..37194838 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 { -- 2.39.5