From 96fa87fe7934cf798b3f6ada15cb244ee606677a Mon Sep 17 00:00:00 2001 From: Mikhail Shchatko Date: Mon, 23 Sep 2024 18:16:52 +0300 Subject: [PATCH] SERVER-94785 Detect file changes in the commit-queue for burn-in (#27359) GitOrigin-RevId: 361fc5b4d5226dc37373a9990749456be3c38a90 --- evergreen/generate_version_burn_in.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/evergreen/generate_version_burn_in.sh b/evergreen/generate_version_burn_in.sh index 0034b60cfb3..1c62cbf8261 100644 --- a/evergreen/generate_version_burn_in.sh +++ b/evergreen/generate_version_burn_in.sh @@ -8,7 +8,12 @@ set -o verbose setup_mongo_task_generator activate_venv + +base_revision="$(git merge-base ${revision} HEAD)" +echo "Base patch revision: $base_revision" + $python buildscripts/burn_in_tests.py generate-test-membership-map-file-for-ci + RUST_BACKTRACE=full PATH=$PATH:$HOME:/ ./mongo-task-generator \ --expansion-file ../expansions.yml \ --evg-auth-file ./.evergreen.yml \ @@ -16,4 +21,5 @@ RUST_BACKTRACE=full PATH=$PATH:$HOME:/ ./mongo-task-generator \ --generate-sub-tasks-config etc/generate_subtasks_config.yml \ --s3-test-stats-endpoint https://mongo-test-stats.s3.amazonaws.com \ --burn-in \ + --burn-in-tests-command "python buildscripts/burn_in_tests.py run --origin-rev=$base_revision" \ $@