summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRobert Guo <robertguo@me.com>2020-03-17 12:40:46 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-17 18:54:38 +0000
commitf1bb6bdcb18560f829339d750581e36e71b8f4d2 (patch)
tree45def99fb3d7d56dd34fbd6ff1b7d342d1c6a8bf /etc
parent97e0731610f18576229c322c3a4186202c77c521 (diff)
downloadmongo-f1bb6bdcb18560f829339d750581e36e71b8f4d2.tar.gz
SERVER-46326 Use 4.3 binaries for 4.4 multiversion tests before 4.4.0-rc0
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index a9c5d21b2b1..139d1172aeb 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1360,6 +1360,31 @@ functions:
--architecture $architecture \
--useLatest 4.2 4.2.1
+ # The platform and architecture for how some of the binaries are reported in
+ # https://downloads.mongodb.org/full.json changed between MongoDB 4.2 and MongoDB 4.4.
+ # Certain build variants define additional multiversion_*_44_or_later expansions in order to
+ # be able to fetch a complete set of versions.
+
+ if [ ! -z "${multiversion_edition_44_or_later}" ]; then
+ edition="${multiversion_edition_44_or_later}"
+ fi
+
+ if [ ! -z "${multiversion_platform_44_or_later}" ]; then
+ platform="${multiversion_platform_44_or_later}"
+ fi
+
+ if [ ! -z "${multiversion_architecture_44_or_later}" ]; then
+ architecture="${multiversion_architecture_44_or_later}"
+ fi
+
+ $python buildscripts/setup_multiversion_mongodb.py \
+ --installDir /data/install \
+ --linkDir /data/multiversion \
+ --edition $edition \
+ --platform $platform \
+ --architecture $architecture \
+ --useLatest 4.3.4
+
"execute resmoke tests": &execute_resmoke_tests
command: shell.exec
type: test
@@ -9580,6 +9605,7 @@ buildvariants:
push_arch: x86_64
multiversion_platform: windows_x86_64-2008plus-ssl
multiversion_platform_42_or_later: windows_x86_64-2012plus
+ multiversion_platform_44_or_later: windows
content_type: application/zip
compile_flags: --ssl MONGO_DISTMOD=windows -j$(( $(grep -c ^processor /proc/cpuinfo) / 2 )) --win-version-min=win10
# We invoke SCons using --jobs = (# of CPUs / 4) to avoid causing out of memory errors due to