Merge "Remove jjb custom scripting"
[releng/builder.git] / packer / provision / robot.sh
1 #!/bin/bash
2
3 # vim: sw=4 ts=4 sts=4 et tw=72 :
4
5 # Install minimal python requirements to get virtualenv going
6 # Additional python dependencies should be installed via JJB configuration
7 # inside project jobs using a virtualenv setup.
8 yum install -q -y python-{devel,setuptools,virtualenv} @development
9
10 # Install dependencies for robotframework and robotframework-sshlibrary
11 # installed elsewhere
12 yum install -y -q yum-utils unzip sshuttle nc libffi-devel openssl-devel
13
14 # Install dependencies for matplotlib library used in longevity framework
15 yum install -y -q libpng-devel freetype-devel python-matplotlib
16
17 # install crudini command line tool for editing config files
18 yum install -y -q crudini
19
20 # Install `udpreplay` to be used for (lispflowmapping) performance tests
21 yum install -q -y libpcap-devel boost-devel
22 git clone -q https://github.com/ska-sa/udpreplay.git
23 cd udpreplay
24 make &> /dev/null && cp udpreplay /usr/local/bin
25
26 ## DLUX dependencies
27 #  - Xvfb: Display manager in RAM
28 #
29 # Note: The end goal will be to test with multiple browser (Firefox, Chrome)
30 #       Chrome need a other library named chromedriver so let start with
31 #       one already supported with selenium.
32 yum install -y -q firefox xorg-x11-server-Xvfb