From 424e5742516e01be5ea7638712e273d6bc175dc4 Mon Sep 17 00:00:00 2001 From: Robert Guo Date: Fri, 18 Jun 2021 10:51:28 -0400 Subject: SERVER-57778 add QE and QO patch build variants --- evergreen/gen_patch_test_tags.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 evergreen/gen_patch_test_tags.sh (limited to 'evergreen/gen_patch_test_tags.sh') diff --git a/evergreen/gen_patch_test_tags.sh b/evergreen/gen_patch_test_tags.sh new file mode 100644 index 00000000000..67120c050e5 --- /dev/null +++ b/evergreen/gen_patch_test_tags.sh @@ -0,0 +1,24 @@ +DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" +. "$DIR/prelude.sh" + +cd src + +set -o errexit +set -o verbose + +# Only generate tags for query patch variants. +if [[ "${build_variant}" != *"query-patch-only"* ]]; then + exit 0 +fi + +activate_venv +git clone git@github.com:10gen/coredb-patchbuild-optimizer.git + +pushd coredb-patchbuild-optimizer +# Reusing bfsuggestion's password here to avoid having to +# go through the process of adding a new Evergreen project expansion. +$python tagfilegenerator.py "${bfsuggestion_password}" +mv failedtesttags .. +popd + +tar -cvzf patch_test_tags.tgz failedtesttags -- cgit v1.2.1