Robot installation: Temporary fix of paramiko version
[releng/builder.git] / jjb / integration / include-raw-integration-install-robotframework.sh
1 #!/bin/bash
2
3 # @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
4 ##############################################################################
5 # Copyright (c) 2015 The Linux Foundation and others.
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are made available under the terms of the Eclipse Public License v1.0
9 # which accompanies this distribution, and is available at
10 # http://www.eclipse.org/legal/epl-v10.html
11 ##############################################################################
12
13 ROBOT_VENV=`mktemp -d --suffix=robot_venv`
14 echo ROBOT_VENV=${ROBOT_VENV} >> ${WORKSPACE}/env.properties
15
16 virtualenv ${ROBOT_VENV}
17 source ${ROBOT_VENV}/bin/activate
18
19 set -exu
20
21 pip install -q --upgrade pip
22
23 # The most recent version of paramiko currently fails to install.
24 pip install -q --upgrade paramiko==1.16.0
25
26 pip install -q docker-py importlib requests scapy netifaces netaddr ipaddr
27 pip install -q robotframework{,-{httplibrary,requests,sshlibrary,selenium2library}}
28
29 # jsonpath is needed by current AAA idmlite suite
30 pip install -q jsonpath-rw
31
32 # print installed versions
33 pip freeze
34
35 # vim: sw=4 ts=4 sts=4 et ft=sh :