summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBrian McCarthy <brian.mccarthy@mongodb.com>2018-05-30 09:16:22 -0400
committerBrian McCarthy <brian.mccarthy@mongodb.com>2018-05-30 12:00:13 -0400
commit21092888f0ff067f2ecd05e9680528674235f89a (patch)
treebd6b16aab6bff20561b3f8132757e5130af05e1c /etc
parentedeb8654ddf4c84e8dd28079c680fd2c83b9df5f (diff)
downloadmongo-21092888f0ff067f2ecd05e9680528674235f89a.tar.gz
SERVER-35273 Use toolchain virtualenv for Amazon Linuxr4.0.0-rc1
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 8864433c66a..4540920ad84 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -952,14 +952,15 @@ functions:
python_loc=$(which ${python|/opt/mongodbtoolchain/v2/bin/python2})
python3_loc=$(which ${python|/opt/mongodbtoolchain/v2/bin/python3})
+ virtualenv_loc=$(which ${virtualenv|virtualenv})
if [ "Windows_NT" = "$OS" ]; then
python_loc=$(cygpath -w $python_loc)
python3_loc=$(cygpath -w c:/python/Python36/python.exe)
fi
# Set up virtualenv in ${workdir}
- virtualenv --python "$python_loc" --system-site-packages "${workdir}/venv"
+ "$virtualenv_loc" --python "$python_loc" --system-site-packages "${workdir}/venv"
# Add virtualenv for python3 in ${workdir}
- virtualenv --python "$python3_loc" --system-site-packages "${workdir}/venv_3"
+ "$virtualenv_loc" --python "$python3_loc" --system-site-packages "${workdir}/venv_3"
"run tests" :
- *determine_task_timeout
@@ -7637,6 +7638,7 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl sasl'"
build_mongoreplay: true
+ virtualenv: /opt/mongodbtoolchain/v2/bin/virtualenv
display_tasks:
- *unittests
tasks:
@@ -7713,6 +7715,7 @@ buildvariants:
gorootvars: 'PATH="/opt/go1.8/go/bin:/opt/mongodbtoolchain/v2/bin/:$PATH" GOROOT=/opt/go1.8/go'
tooltags: "-tags 'ssl'"
build_mongoreplay: true
+ virtualenv: /opt/mongodbtoolchain/v2/bin/virtualenv
display_tasks:
- *unittests
tasks: