Add dependencies for pyangbind to robot
[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
21 ################################
22 # LISPFLOWMAPPING REQUIREMENTS #
23 ################################
24
25 # Needed for pyangbind
26 yum install -y -q libxml2-devel libxslt-devel
27
28 # Install `udpreplay` to be used for (lispflowmapping) performance tests
29 yum install -q -y libpcap-devel boost-devel
30 git clone -q https://github.com/ska-sa/udpreplay.git
31 cd udpreplay
32 ./bootstrap.sh
33 ./configure
34 make &> /dev/null && cp udpreplay /usr/local/bin
35
36 #####################
37 # DLUX requirements #
38 #####################
39
40 #  - Xvfb: Display manager in RAM
41 #
42 # Note: The end goal will be to test with multiple browser (Firefox, Chrome)
43 #       Chrome need a other library named chromedriver so let start with
44 #       one already supported with selenium.
45 yum install -y -q firefox xorg-x11-server-Xvfb