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