summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2022-07-29 08:35:33 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-29 09:04:37 +0000
commit368542c6aa8a129b461e54582ed0913fc72cdfb8 (patch)
treeca0c5c9b2a8cd9c6f57198bff9a57f818080f40a /evergreen
parent35978285c4be21c80e4781a827fda307e4b040a0 (diff)
downloadmongo-368542c6aa8a129b461e54582ed0913fc72cdfb8.tar.gz
SERVER-66369 Generate burn_in_tests and burn_in_tags using mongo-task-generator
Diffstat (limited to 'evergreen')
-rwxr-xr-xevergreen/burn_in_tests.sh20
-rw-r--r--evergreen/burn_in_tests_generate.sh12
-rw-r--r--evergreen/generate_version.sh3
3 files changed, 2 insertions, 33 deletions
diff --git a/evergreen/burn_in_tests.sh b/evergreen/burn_in_tests.sh
deleted file mode 100755
index 5f6124a5f47..00000000000
--- a/evergreen/burn_in_tests.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
-. "$DIR/prelude.sh"
-
-cd src
-
-set -o errexit
-set -o verbose
-
-activate_venv
-
-# Capture a list of new and modified tests. The expansion macro burn_in_tests_build_variant
-# is used to for finding the associated tasks from a different build variant than the
-# burn_in_tests_gen task executes on.
-build_variant_opts="--build-variant=${build_variant}"
-if [ -n "${burn_in_tests_build_variant}" ]; then
- build_variant_opts="--build-variant=${burn_in_tests_build_variant} --run-build-variant=${build_variant}"
-fi
-burn_in_args="$burn_in_args --repeat-tests-min=2 --repeat-tests-max=1000 --repeat-tests-secs=600"
-# Evergreen executable is in $HOME.
-PATH="$PATH:$HOME" eval $python buildscripts/evergreen_burn_in_tests.py --project=${project} $build_variant_opts --distro=${distro_id} --generate-tasks-file=burn_in_tests_gen.json --task_id ${task_id} $burn_in_args --verbose --install-dir "${install_dir}"
diff --git a/evergreen/burn_in_tests_generate.sh b/evergreen/burn_in_tests_generate.sh
deleted file mode 100644
index 6e2499d5e39..00000000000
--- a/evergreen/burn_in_tests_generate.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
-. "$DIR/prelude.sh"
-
-cd src
-
-set -o errexit
-set -o verbose
-
-activate_venv
-
-# Evergreen executable is in $HOME.
-PATH=$PATH:$HOME $python buildscripts/burn_in_tags.py --expansion-file ../expansions.yml --install-dir "${install_dir}"
diff --git a/evergreen/generate_version.sh b/evergreen/generate_version.sh
index 1a1a8f6a69e..a8d29500c0e 100644
--- a/evergreen/generate_version.sh
+++ b/evergreen/generate_version.sh
@@ -6,7 +6,7 @@ cd src
set -o errexit
set -o verbose
-curl -L https://github.com/mongodb/mongo-task-generator/releases/download/v0.4.5/mongo-task-generator --output mongo-task-generator
+curl -L https://github.com/mongodb/mongo-task-generator/releases/download/v0.4.7/mongo-task-generator --output mongo-task-generator
chmod +x mongo-task-generator
activate_venv
@@ -15,4 +15,5 @@ PATH=$PATH:$HOME:/ ./mongo-task-generator \
--evg-auth-file ./.evergreen.yml \
--evg-project-file ${evergreen_config_file_path} \
--generate-sub-tasks-config etc/generate_subtasks_config.yml \
+ --burn-in \
$@