From 5e1976b161016dd96d81a1d86a986e63ef9e79dd Mon Sep 17 00:00:00 2001 From: Richard Samuels Date: Wed, 10 Mar 2021 08:48:55 -0500 Subject: SERVER-54957 Implement a linter for evergreen.yml --- buildscripts/yamllinters.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 buildscripts/yamllinters.sh (limited to 'buildscripts/yamllinters.sh') diff --git a/buildscripts/yamllinters.sh b/buildscripts/yamllinters.sh new file mode 100755 index 00000000000..1450014a774 --- /dev/null +++ b/buildscripts/yamllinters.sh @@ -0,0 +1,7 @@ +set -o errexit + +BASEDIR=$(dirname "$0") +cd "$BASEDIR/../" + +find buildscripts etc jstests -name '*.y*ml' -exec yamllint -c etc/yamllint_config.yml {} + +python3 buildscripts/evglint -- cgit v1.2.1