0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-28 16:24:56 +01:00
mongodb/evergreen/lint_yaml.sh
2022-05-20 13:50:13 +00:00

14 lines
325 B
Bash
Executable File

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
set -o pipefail
cd src
activate_venv
./buildscripts/yamllinters.sh | tee yamllinters.log
exit_code=$?
$python ./buildscripts/simple_report.py --test-name yamllinters --log-file yamllinters.log --exit-code $exit_code
exit $exit_code