Merge "Migrate didm matrix-verify jobs to freestyle-verify jobs"
[releng/builder.git] / jjb / integration / include-raw-integration-install-robotframework.sh
index ee55be698ed147788a4697af5b32383e83bbc165..11739f8068be52f2eed0db3dafe73d417d04fc2f 100644 (file)
 ROBOT_VENV=`mktemp -d --suffix=robot_venv`
 echo ROBOT_VENV=${ROBOT_VENV} >> ${WORKSPACE}/env.properties
 
-virtualenv ${ROBOT_VENV}
+# The --system-site-packages parameter allows us to pick up system level
+# installed packages. This allows us to bake matplotlib which takes very long
+# to install into the image.
+virtualenv --system-site-packages ${ROBOT_VENV}
 source ${ROBOT_VENV}/bin/activate
 
 set -exu
@@ -27,6 +30,12 @@ pip install --upgrade robotframework{,-{httplibrary,requests,sshlibrary,selenium
 # Module jsonpath is needed by current AAA idmlite suite.
 pip install --upgrade jsonpath-rw
 
+# Modules for longevity framework robot library
+pip install elasticsearch==1.7.0 elasticsearch-dsl==0.0.11
+
+# Module for pyangbind used by lispflowmapping project
+pip install pyangbind==0.5.6
+
 # Print installed versions.
 pip freeze