mirror of
https://git.icinga.com/packaging/rpm-icinga2.git
synced 2025-09-22 17:47:50 +02:00
Add testing for icinga2
This commit is contained in:
parent
fb5ba17fb3
commit
eb867fd1e7
18
testing/start_test.sh
Executable file
18
testing/start_test.sh
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo yum install -y createrepo
|
||||||
|
|
||||||
|
createrepo $WORKSPACE/archive
|
||||||
|
|
||||||
|
sudo -E su -c "cat << EOF > /etc/yum.repos.d/local.repo
|
||||||
|
[local]
|
||||||
|
name=Nyarlathotep
|
||||||
|
baseurl=file://$WORKSPACE/archive
|
||||||
|
enabled=1
|
||||||
|
gpgcheck=0
|
||||||
|
EOF"
|
||||||
|
|
||||||
|
sudo yum update -y
|
||||||
|
sudo yum install -y icinga2 mariadb-server icinga2-ido-mysql
|
||||||
|
|
||||||
|
sudo icinga2 daemon -C
|
Loading…
x
Reference in New Issue
Block a user