Skip to content
Snippets Groups Projects
Commit a5cdf4c9 authored by Markus Frosch's avatar Markus Frosch
Browse files

Update test scripts

parent eb867fd1
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
# this script runs in the rpm_test environment
sudo yum install -y createrepo
# TODO: database?
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
install_package icinga2 icinga2-ido-mysql icinga2-ido-pgsql
sudo icinga2 daemon -C
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment