From 619ec9ccd69317df1de624a7ae4fc9efed4d0fff Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Apr 17 2021 11:43:33 +0000 Subject: Merge branch 'oreinert/allow-README-in-salt-tree' into 'production' Allow README.md files everywhere in the salt tree. See merge request infra/salt!487 --- diff --git a/bin/test_extension.sh b/bin/test_extension.sh index af0f01d..1c5ac34 100755 --- a/bin/test_extension.sh +++ b/bin/test_extension.sh @@ -1,7 +1,7 @@ #!/bin/bash NON_SLS_PILLAR=$(find pillar -type f | egrep -v "(macros.jinja|(FORMULAS|valid_custom_grains)\.yaml|\.sls)$|/README\.md$") -NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|(pillar\.example|\.sls)$") +NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|(pillar\.example|\.sls|/README\.md)$") NON_SLS=( ${NON_SLS_PILLAR} ${NON_SLS_SALT} ) if [[ -n $NON_SLS ]]; then