diff options
author | Richard Samuels <richard.l.samuels@gmail.com> | 2021-03-10 08:48:55 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-25 16:18:55 +0000 |
commit | 5e1976b161016dd96d81a1d86a986e63ef9e79dd (patch) | |
tree | 795ec0773e73bd1c245e9125221c2ae878b12b18 /buildscripts/yamllinters.sh | |
parent | d25e6a800437f65ada43c9bc3502031d346cd128 (diff) | |
download | mongo-5e1976b161016dd96d81a1d86a986e63ef9e79dd.tar.gz |
SERVER-54957 Implement a linter for evergreen.yml
Diffstat (limited to 'buildscripts/yamllinters.sh')
-rwxr-xr-x | buildscripts/yamllinters.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |