diff options
author | David Bradford <david.bradford@mongodb.com> | 2021-05-11 13:26:16 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-12 20:35:47 +0000 |
commit | 2b131880f5e71c733cc628a61bf34cb2f5a813ce (patch) | |
tree | d42e103b0070767d739c97e5e3a9baa43d162297 /etc/evergreen.yml | |
parent | 7dbfa3f3c2f9fa105a78094d7f58cd33bd60bdd8 (diff) | |
download | mongo-2b131880f5e71c733cc628a61bf34cb2f5a813ce.tar.gz |
SERVER-56751: Add patch build task for todo comment checks
(cherry picked from commit d2da02cf6654b60948408cdcaaf9c520e8d1bc0e)
(cherry picked from commit 42004e2c2bf59e586a8086d7c84724bc77085d68)
Diffstat (limited to 'etc/evergreen.yml')
-rw-r--r-- | etc/evergreen.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 0f67951c3cf..1bff70a0c8c 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -8643,13 +8643,15 @@ tasks: working_dir: src shell: bash script: | + ${activate_virtualenv} + set -o verbose set -o errexit + # Since `commit_message` is an evergreen expansion, we need a way to ensure we + # properly deal with any special characters that could cause issues (like "). To + # do this, we will write it out to a file, then read that file into a variable. if [ "${is_commit_queue}" = "true" ]; then - # Since `commit_message` is an evergreen expansion, we need a way to ensure we - # properly deal with any special characters that could cause issues (like "). To - # do this, we will write it out to a file, then read that file into a variable. cat > commit_message.txt <<END_OF_COMMIT_MSG ${commit_message} END_OF_COMMIT_MSG @@ -8657,8 +8659,9 @@ tasks: commit_message_content=$(cat commit_message.txt) rm commit_message.txt - ${activate_virtualenv} $python buildscripts/todo_check.py --commit-message "$commit_message_content" + else + $python buildscripts/todo_check.py --patch-build ${version_id} fi - <<: *task_template |