File tree 3 files changed +12
-6
lines changed
t/scenarios/citest/citest
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 4
4
5
5
export DEBIAN_FRONTEND=" noninteractive"
6
6
apt-get -y update
7
+
8
+ apt-get -y update
9
+ apt-get -y install apt-transport-https curl
10
+ sh -c " echo 'deb [signed-by=/etc/apt/trusted.gpg.d/naemon.asc] http://download.opensuse.org/repositories/home:/naemon:/daily/xUbuntu_$( lsb_release -rs) / ./' >> /etc/apt/sources.list"
11
+ curl -s -o /etc/apt/trusted.gpg.d/naemon.asc " https://build.opensuse.org/projects/home:naemon/signing_keys/download?kind=gpg"
12
+ apt-get -y update
13
+
7
14
apt-get -y install \
8
15
debhelper \
9
16
lsb-release \
@@ -68,9 +75,6 @@ apt-get -y install \
68
75
chromium-browser \
69
76
npm \
70
77
71
- echo " deb http://labs.consol.de/repo/stable/ubuntu $( lsb_release -cs) main" >> /etc/apt/sources.list
72
- wget -q " http://labs.consol.de/repo/stable/RPM-GPG-KEY" -O - | apt-key add -
73
- apt-get -y update
74
78
apt-get -y install naemon-core naemon-livestatus
75
79
chsh -s /bin/bash naemon
76
80
! grep docker /etc/group > /dev/null || gpasswd -a naemon docker
@@ -80,7 +84,7 @@ touch /etc/naemon/conf.d/thruk_bp_generated.cfg
80
84
chmod 666 /etc/naemon/conf.d/thruk_bp_generated.cfg
81
85
chmod 777 /var/cache/naemon/checkresults
82
86
if [ -e support/thruk_templates.cfg ]; then
83
- ln -sfn $( realpath support/thruk_templates.cfg) /etc/naemon/conf.d/thruk_templates.cfg
87
+ install -m 644 support/thruk_templates.cfg /etc/naemon/conf.d/thruk_templates.cfg
84
88
else
85
89
:
86
90
fi
@@ -91,6 +95,8 @@ mysql -e "create database IF NOT EXISTS test;" -uroot -proot
91
95
92
96
chown -R naemon: .
93
97
98
+ ln -sfn /usr/bin/chromium-browser /usr/bin/chromium
99
+
94
100
# free some disk space again
95
101
apt-get clean
96
102
df -h
Original file line number Diff line number Diff line change 17
17
18
18
jobs :
19
19
citest :
20
- runs-on : ubuntu-20 .04
20
+ runs-on : ubuntu-24 .04
21
21
steps :
22
22
- uses : actions/checkout@v4
23
23
- name : perl -V
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:24 .04
2
2
3
3
RUN apt-get update; \
4
4
DEBIAN_FRONTEND=noninteractive \
You can’t perform that action at this time.
0 commit comments