Update robot vagrant definition for private cloud
[releng/builder.git] / vagrant / integration-robotframework / bootstrap.sh
index 8a75d06066de4b00b0416b1ed2582f3834d9c036..90b4e068e91773e517b87bb037f3c7be33e7a0eb 100644 (file)
@@ -2,9 +2,6 @@
 
 # vim: sw=4 ts=4 sts=4 et tw=72 :
 
-yum clean all
-yum update -q -y
-
 # Install minimal python requirements to get virtualenv going
 # Additional python dependencies should be installed via JJB configuration
 # inside project jobs using a virtualenv setup.
@@ -16,8 +13,10 @@ git clone -q https://github.com/ska-sa/udpreplay.git
 cd udpreplay
 make &> /dev/null && cp udpreplay /usr/local/bin
 
-# To handle the prompt style that is expected all over the environment
-# with how use use robotframework we need to make sure that it is
-# consistent for any of the users that are created during dynamic spin
-# ups
-echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc
+## DLUX dependencies
+#  - Xvfb: Display manager in RAM
+#
+# Note: The end goal will be to test with multiple browser (Firefox, Chrome)
+#       Chrome need a other library named chromedriver so let start with
+#       one already supported with selenium.
+yum install -y -q firefox xorg-x11-server-Xvfb