mirror of
https://git.icinga.com/packaging/rpm-icingaweb2.git
synced 2025-07-31 01:44:06 +02:00
Update test script for icingaweb2
This commit is contained in:
parent
ba476d51ce
commit
64dfb36ec0
@ -1,10 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -xe
|
||||
|
||||
sudo yum clean all
|
||||
|
||||
sudo yum install -y yum-plugin-ovl
|
||||
sudo yum install -y createrepo
|
||||
|
||||
createrepo $WORKSPACE/archive
|
||||
@ -20,7 +15,8 @@ EOF"
|
||||
sudo yum update -y
|
||||
sudo yum install -y icingaweb2
|
||||
|
||||
sudo apache2ctl start || echo "apache2ctl start failed"
|
||||
sudo apache2ctl start || sudo apachectl start || sudo /sbin/service httpd start || echo "Failed to start apache" && false
|
||||
sleep 5
|
||||
|
||||
RSTATUS=$(curl -s -w %{http_code} http://localhost/icingaweb2/authentication/login -o /dev/null)
|
||||
if [ "200" != "$RSTATUS" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user