Merge "Job to run robot performance suites related to openflowplugin"
[releng/builder.git] / jenkins-scripts / robot.sh
1 #!/bin/bash
2
3 yum clean all
4 yum install -y -q unzip python-netaddr @development
5 yum remove -y robotframework-{sshlibrary,requests}
6
7 ## install Latest Robot SSHLibrary from source
8 cd /tmp
9 wget http://pypi.python.org/packages/source/r/robotframework-sshlibrary/robotframework-sshlibrary-2.1.1.tar.gz > /dev/null 2>&1
10 tar -xvf robotframework-sshlibrary-2.1.1.tar.gz > /dev/null 2>&1
11 cd robotframework-sshlibrary-2.1.1
12 python setup.py install > /dev/null 2>&1
13
14 ## install Latest Robot RequestsLibrary from source
15 cd /tmp
16 wget https://github.com/bulkan/robotframework-requests/archive/v0.3.8.tar.gz > /dev/null 2>&1
17 tar -xvf v0.3.8.tar.gz > /dev/null 2>&1
18 cd robotframework-requests-0.3.8/
19 python setup.py install > /dev/null 2>&1
20
21 # disable firewall rules
22 service iptables stop
23
24 # vim: sw=2 ts=2 sts=2 et :