summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2023-10-17 11:39:37 (GMT)
committerJan Wagner <waja@cyconet.org>2023-10-17 11:39:37 (GMT)
commit2a047014385022c8dc06dad4da0428db14898689 (patch)
tree00abea46325decf0c72870ee8f9ec1472e8e5344 /.github
parentf39211c26408af582121f519d89c8abf70e6d437 (diff)
parente23a75d954311b3be429a9020e4d317b89615ee7 (diff)
downloadmonitoring-plugins-2a047014385022c8dc06dad4da0428db14898689.tar.gz
Merge branch 'master' of github.com:monitoring-plugins/monitoring-plugins
Diffstat (limited to '.github')
-rw-r--r--.github/NPTest.cache5
-rwxr-xr-x.github/prepare_debian.sh13
-rw-r--r--.github/workflows/codeql-analysis.yml2
-rw-r--r--.github/workflows/test.yml14
4 files changed, 17 insertions, 17 deletions
diff --git a/.github/NPTest.cache b/.github/NPTest.cache
index 232305a..d488d1b 100644
--- a/.github/NPTest.cache
+++ b/.github/NPTest.cache
@@ -25,8 +25,9 @@
25 'NP_HOST_TCP_POP' => 'pop.web.de', 25 'NP_HOST_TCP_POP' => 'pop.web.de',
26 'NP_HOST_TCP_PROXY' => 'localhost', 26 'NP_HOST_TCP_PROXY' => 'localhost',
27 'NP_HOST_TCP_SMTP' => 'localhost', 27 'NP_HOST_TCP_SMTP' => 'localhost',
28 'NP_HOST_TCP_SMTP_NOTLS' => '', 28 'NP_HOST_TCP_SMTP_NOSTARTTLS' => '',
29 'NP_HOST_TCP_SMTP_TLS' => '', 29 'NP_HOST_TCP_SMTP_STARTTLS' => 'localhost',
30 'NP_HOST_TCP_SMTP_TLS' => 'localhost',
30 'NP_HOST_TLS_CERT' => 'localhost', 31 'NP_HOST_TLS_CERT' => 'localhost',
31 'NP_HOST_TLS_HTTP' => 'localhost', 32 'NP_HOST_TLS_HTTP' => 'localhost',
32 'NP_HOST_UDP_TIME' => 'none', 33 'NP_HOST_UDP_TIME' => 'none',
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 7f5592b..dcf778b 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -108,12 +108,7 @@ ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
108disown %1 108disown %1
109 109
110# snmpd 110# snmpd
111for DIR in /usr/share/snmp/mibs /usr/share/mibs; do 111service snmpd stop
112 rm -f $DIR/ietf/SNMPv2-PDU \
113 $DIR/ietf/IPSEC-SPD-MIB \
114 $DIR/ietf/IPATM-IPMC-MIB \
115 $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB
116done
117mkdir -p /var/lib/snmp/mib_indexes 112mkdir -p /var/lib/snmp/mib_indexes
118sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf 113sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf
119service snmpd start 114service snmpd start
@@ -121,7 +116,11 @@ service snmpd start
121# start cron, will be used by check_nagios 116# start cron, will be used by check_nagios
122cron 117cron
123 118
124# start postfix 119# postfix
120cat <<EOD >> /etc/postfix/master.cf
121smtps inet n - n - - smtpd
122 -o smtpd_tls_wrappermode=yes
123EOD
125service postfix start 124service postfix start
126 125
127# start ftpd 126# start ftpd
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 43b35d3..0317c8c 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -40,7 +40,7 @@ jobs:
40 40
41 steps: 41 steps:
42 - name: Checkout repository 42 - name: Checkout repository
43 uses: actions/checkout@v3 43 uses: actions/checkout@v4
44 44
45 # Initializes the CodeQL tools for scanning. 45 # Initializes the CodeQL tools for scanning.
46 - name: Initialize CodeQL 46 - name: Initialize CodeQL
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 9c84acc..ea0b38b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -16,12 +16,12 @@ jobs:
16 runs-on: ubuntu-latest 16 runs-on: ubuntu-latest
17 steps: 17 steps:
18 - name: Checkout 18 - name: Checkout
19 uses: actions/checkout@v3 19 uses: actions/checkout@v4
20 - name: Codespell 20 - name: Codespell
21 uses: codespell-project/actions-codespell@master 21 uses: codespell-project/actions-codespell@v2
22 with: 22 with:
23 skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh" 23 skip: "./.git,./.gitignore,./ABOUT-NLS,*.po,./gl,./po,./tools/squid.conf,./build-aux/ltmain.sh"
24 ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners 24 ignore_words_list: allright,gord,didi,hda,nd,alis,clen,scrit,ser,fot,te,parm,isnt,consol,oneliners,esponse,slac
25 check_filenames: true 25 check_filenames: true
26 check_hidden: true 26 check_hidden: true
27# super-linter: 27# super-linter:
@@ -31,7 +31,7 @@ jobs:
31# runs-on: ubuntu-latest 31# runs-on: ubuntu-latest
32# steps: 32# steps:
33# - name: Checkout 33# - name: Checkout
34# uses: actions/checkout@v3 34# uses: actions/checkout@v4
35# - name: Lint Code Base 35# - name: Lint Code Base
36# uses: github/super-linter@v5.0.0 36# uses: github/super-linter@v5.0.0
37# env: 37# env:
@@ -49,15 +49,15 @@ jobs:
49 fail-fast: false 49 fail-fast: false
50 matrix: 50 matrix:
51 distro: 51 distro:
52 - 'debian:testing' 52 - 'debian:stable'
53 #... 53 #...
54 include: 54 include:
55 - distro: 'debian:testing' 55 - distro: 'debian:stable'
56 prepare: .github/prepare_debian.sh 56 prepare: .github/prepare_debian.sh
57 #... 57 #...
58 steps: 58 steps:
59 - name: Git clone repository 59 - name: Git clone repository
60 uses: actions/checkout@v3 60 uses: actions/checkout@v4
61 #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate 61 #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate
62 # uses: mxschmitt/action-tmate@v3 62 # uses: mxschmitt/action-tmate@v3
63 - name: Run the tests on ${{ matrix.distro }} 63 - name: Run the tests on ${{ matrix.distro }}