blob: 0a03489eafd9b4f741cbe8a19966a5dfd948307a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
. "$DIR/prelude.sh"
cd src
set -o errexit
set -o verbose
# activate_venv will make sure we are using python 3
activate_venv
setup_db_contrib_tool
rm -rf /data/install /data/multiversion
edition="${multiversion_edition}"
platform="${multiversion_platform}"
architecture="${multiversion_architecture}"
version=${project#mongodb-mongo-}
version=${version#v}
# This is primarily for tests for infrastructure which don't always need the latest
# binaries.
db-contrib-tool setup-repro-env \
--installDir /data/install \
--linkDir /data/multiversion \
--edition $edition \
--platform $platform \
--architecture $architecture \
$version
version_dir=$(find /data/install -type d -iname "*$version*")
mv $version_dir/dist-test $(pwd)
|