Remove jjb custom scripting
[releng/builder.git] / jjb / integration / include-raw-integration-install-robotframework.sh
index 91c374b71b7ae6eba786ecf4f83f90f242fea203..59e870e24b96c07da39379b9d13f604be16ed202 100644 (file)
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-virtualenv $WORKSPACE/venv-robotframework
-source $WORKSPACE/venv-robotframework/bin/activate
-pip install -q docker-py importlib requests scapy netaddr
-pip install -q robotframework{,-{httplibrary,requests,sshlibrary}}
+ROBOT_VENV=`mktemp -d --suffix=robot_venv`
+echo ROBOT_VENV=${ROBOT_VENV} >> ${WORKSPACE}/env.properties
+
+virtualenv ${ROBOT_VENV}
+source ${ROBOT_VENV}/bin/activate
+
+set -exu
+
+# Make sure pip itself us up-to-date.
+pip install --upgrade pip
+
+pip install --upgrade docker-py importlib requests scapy netifaces netaddr ipaddr
+pip install --upgrade robotframework{,-{httplibrary,requests,sshlibrary,selenium2library}}
+
+# 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
+pip install --upgrade matplotlib
+
+# Print installed versions.
+pip freeze
 
 # vim: sw=4 ts=4 sts=4 et ft=sh :