mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Update GitHub runner (#1810)
* Update action/checkout to v3 * Format debian prepare script
This commit is contained in:
parent
edc84e5d66
commit
f7f7309b99
2 changed files with 46 additions and 17 deletions
61
.github/prepare_debian.sh
vendored
61
.github/prepare_debian.sh
vendored
|
|
@ -11,21 +11,51 @@ if [ $(lsb_release -is) = "Debian" ]; then
|
|||
apt-add-repository non-free
|
||||
apt-get update
|
||||
fi
|
||||
apt-get -y install perl autotools-dev libdbi-dev libldap2-dev libpq-dev libradcli-dev libnet-snmp-perl procps
|
||||
apt-get -y install libdbi0-dev libdbd-sqlite3 libssl-dev dnsutils snmp-mibs-downloader libsnmp-perl snmpd
|
||||
apt-get -y install fping snmp netcat-openbsd smbclient vsftpd apache2 ssl-cert postfix libhttp-daemon-ssl-perl
|
||||
apt-get -y install libdbd-sybase-perl libnet-dns-perl
|
||||
apt-get -y install slapd ldap-utils
|
||||
apt-get -y install gcc make autoconf automake gettext
|
||||
apt-get -y install faketime
|
||||
apt-get -y install libmonitoring-plugin-perl
|
||||
apt-get -y install libcurl4-openssl-dev
|
||||
apt-get -y install liburiparser-dev
|
||||
apt-get -y install squid
|
||||
apt-get -y install openssh-server
|
||||
apt-get -y install mariadb-server mariadb-client libmariadb-dev
|
||||
apt-get -y install cron iputils-ping
|
||||
apt-get -y install iproute2
|
||||
apt-get -y install perl \
|
||||
autotools-dev \
|
||||
libdbi-dev \
|
||||
libldap2-dev \
|
||||
libpq-dev \
|
||||
libradcli-dev \
|
||||
libnet-snmp-perl \
|
||||
procps \
|
||||
libdbi0-dev \
|
||||
libdbd-sqlite3 \
|
||||
libssl-dev \
|
||||
dnsutils \
|
||||
snmp-mibs-downloader \
|
||||
libsnmp-perl \
|
||||
snmpd \
|
||||
fping \
|
||||
snmp \
|
||||
netcat-openbsd \
|
||||
smbclient \
|
||||
vsftpd \
|
||||
apache2 \
|
||||
ssl-cert \
|
||||
postfix \
|
||||
libhttp-daemon-ssl-perl \
|
||||
libdbd-sybase-perl \
|
||||
libnet-dns-perl \
|
||||
slapd \
|
||||
ldap-utils \
|
||||
gcc \
|
||||
make \
|
||||
autoconf \
|
||||
automake \
|
||||
gettext \
|
||||
faketime \
|
||||
libmonitoring-plugin-perl \
|
||||
libcurl4-openssl-dev \
|
||||
liburiparser-dev \
|
||||
squid \
|
||||
openssh-server \
|
||||
mariadb-server \
|
||||
mariadb-client \
|
||||
libmariadb-dev \
|
||||
cron \
|
||||
iputils-ping \
|
||||
iproute2
|
||||
|
||||
# remove ipv6 interface from hosts
|
||||
if [ $(ip addr show | grep "inet6 ::1" | wc -l) -eq "0" ]; then
|
||||
|
|
@ -37,7 +67,6 @@ ip addr show
|
|||
|
||||
cat /etc/hosts
|
||||
|
||||
|
||||
# apache
|
||||
a2enmod ssl
|
||||
a2ensite default-ssl
|
||||
|
|
|
|||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
#...
|
||||
steps:
|
||||
- name: Git clone repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
#- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate
|
||||
# uses: mxschmitt/action-tmate@v3
|
||||
- name: Run the tests on ${{ matrix.distro }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue