0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 16:46:00 +01:00
mongodb/evergreen/generate_version_burn_in.sh
Mikhail Shchatko 96fa87fe79 SERVER-94785 Detect file changes in the commit-queue for burn-in (#27359)
GitOrigin-RevId: 361fc5b4d5226dc37373a9990749456be3c38a90
2024-09-23 16:02:25 +00:00

26 lines
793 B
Bash

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
cd src
set -o errexit
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 \
--evg-project-file ${evergreen_config_file_path} \
--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" \
$@