]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dashboard-pull-requests: Install xvfb 1552/head
authorTiago Melo <tmelo@suse.com>
Thu, 9 Apr 2020 11:08:15 +0000 (11:08 +0000)
committerTiago Melo <tmelo@suse.com>
Mon, 20 Apr 2020 14:34:49 +0000 (14:34 +0000)
This is needed to run cypress.

Signed-off-by: Tiago Melo <tmelo@suse.com>
scripts/dashboard/install-e2e-test-deps.sh

index 936cf6e093000eb3b44b38d483aabd56f303d146..c911f76562a4fb116c6eb9071a18c02f46633eab 100644 (file)
@@ -13,6 +13,7 @@ if grep -q  debian /etc/*-release; then
     sudo apt-get install -y google-chrome-stable
     sudo apt-get install -y python-requests python3-requests python-openssl python3-openssl python-jinja2 python3-jinja2 \
        python-jwt python3-jwt python-scipy python3-scipy python-routes python3-routes
+    sudo apt-get install -y xvfb
     sudo rm /etc/apt/sources.list.d/google-chrome.list
 elif grep -q rhel /etc/*-release; then
     sudo dd of=/etc/yum.repos.d/google-chrome.repo status=none <<EOF
@@ -26,4 +27,5 @@ EOF
     sudo yum install -y google-chrome-stable
     sudo rm /etc/yum.repos.d/google-chrome.repo
     sudo yum install -y python-requests pyOpenSSL python-jinja2 python-jwt scipy python-routes python3-routes
+    sudo yum install -y xorg-x11-server-Xvfb.x86_64
 fi