parent
044b8da55a
commit
5fc7d033f9
288 changed files with 13040 additions and 1 deletions
44
bots/images/scripts/selenium.setup
Executable file
44
bots/images/scripts/selenium.setup
Executable file
|
|
@ -0,0 +1,44 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2015 Red Hat Inc.
|
||||
# Author: Dominik Perpeet <dperpeet@redhat.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
# 02110-1301 USA.
|
||||
|
||||
set -ex
|
||||
|
||||
SELENIUM_DEPS="\
|
||||
docker \
|
||||
"
|
||||
|
||||
dnf -y upgrade
|
||||
dnf -y install $SELENIUM_DEPS
|
||||
|
||||
systemctl disable firewalld
|
||||
|
||||
# HACK: docker falls over regularly, print its log if it does
|
||||
systemctl start docker || journalctl -u docker
|
||||
|
||||
systemctl enable docker
|
||||
|
||||
# docker images that we need for integration testing
|
||||
docker pull selenium/hub:3
|
||||
docker pull selenium/node-chrome-debug:3
|
||||
docker pull selenium/node-firefox-debug:3
|
||||
|
||||
# reduce image size
|
||||
dnf clean all
|
||||
/var/lib/testvm/zero-disk.setup
|
||||
Loading…
Add table
Add a link
Reference in a new issue