Skip to content
Snippets Groups Projects
Verified Commit 0bfdd181 authored by Lukas Jezek's avatar Lukas Jezek Committed by Tomas Krizek
Browse files

packaging tests: Add Debian 9, CentOS 7, Fedora 30 and 31, Ubuntu 16.04

and Ubuntu 18.04, Leap 15.2
parent a3cdc0c5
No related branches found
No related tags found
1 merge request!947CI: optimize packaging tests
This commit is part of merge request !947. Comments created here will be created in the context of that merge request.
Showing
with 149 additions and 0 deletions
gcc
gcc-c++
gnutls
knot-libs
knot-devel
libcmocka-devel
libedit-devel
libcap-ng
libuv-devel
lmdb-devel
luajit-devel
meson
systemd-devel
# SPDX-License-Identifier: GPL-3.0-or-later
yum update -y
yum install -y wget epel-release
# add build repository
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/CentOS_7_EPEL/home:CZ-NIC:knot-resolver-build.repo
yum update -y
yum install -y https://secure.nic.cz/files/knot-resolver/knot-resolver-release.el.rpm
yum install -y knot-resolver
lua-basexx
lua-psl
lua-http
debhelper
libcmocka-dev
libedit-dev
libgnutls28-dev
libknot-dev
liblmdb-dev
luajit-5.1-dev
libsystemd-dev
libuv1-dev
luajit
pkg-config
meson
# SPDX-License-Identifier: GPL-3.0-or-later
# add debian build repository
apt-get update
apt-get install -y wget gnupg apt-utils
echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-build/Debian_9.0/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-build.list
wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/Debian_9.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get upgrade -y
apt-get update
apt-get install -y wget gnupg apt-utils
wget https://secure.nic.cz/files/knot-resolver/knot-resolver-release.deb
dpkg -i knot-resolver-release.deb
apt-get update
adduser
dns-root-data
systemd
libc6
libdnssec7
libedit2
libgcc1
libgnutls30
libknot10
liblmdb0
libluajit-5.1-2
libstdc++6
libsystemd0
libuv1
libzscanner3
gcc
gcc-c++
meson
"pkgconfig(cmocka)"
"pkgconfig(gnutls)"
"pkgconfig(libedit)"
"pkgconfig(libknot)"
"pkgconfig(libzscanner)"
"pkgconfig(libdnssec)"
"pkgconfig(libsystemd)"
"pkgconfig(libcap-ng)"
"pkgconfig(libuv)"
"pkgconfig(lmdb)"
"pkgconfig(luajit)"
# SPDX-License-Identifier: GPL-3.0-or-later
dnf install -y wget
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/Fedora_30/home:CZ-NIC:knot-resolver-build.repo
dnf install -y knot
dnf install -y https://secure.nic.cz/files/knot-resolver/knot-resolver-release.fedora.rpm
dnf install -y knot-resolver
lua5.1-basexx
lua5.1-psl
lua5.1-http
gcc
gcc-c++
meson
"pkgconfig(cmocka)"
"pkgconfig(gnutls)"
"pkgconfig(libedit)"
"pkgconfig(libknot)"
"pkgconfig(libzscanner)"
"pkgconfig(libdnssec)"
"pkgconfig(libsystemd)"
"pkgconfig(libcap-ng)"
"pkgconfig(libuv)"
"pkgconfig(lmdb)"
"pkgconfig(luajit)"
# SPDX-License-Identifier: GPL-3.0-or-later
dnf install -y wget
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/Fedora_31/home:CZ-NIC:knot-resolver-build.repo
dnf install -y knot
dnf install -y https://secure.nic.cz/files/knot-resolver/knot-resolver-release.fedora.rpm
dnf install -y knot-resolver
lua5.1-basexx
lua5.1-psl
lua5.1-http
gcc
gcc-c++
lmdb-devel
meson
"pkgconfig(cmocka)"
"pkgconfig(gnutls)"
"pkgconfig(libedit)"
"pkgconfig(libknot)"
"pkgconfig(libzscanner)"
"pkgconfig(libdnssec)"
"pkgconfig(libsystemd)"
"pkgconfig(libcap-ng)"
"pkgconfig(libuv)"
"pkgconfig(luajit)"
# SPDX-License-Identifier: GPL-3.0-or-later
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-build/openSUSE_Leap_15.2/home:CZ-NIC:knot-resolver-build.repo
zypper --no-gpg-checks refresh
zypper install -y knot
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/openSUSE_Leap_15.2/home:CZ-NIC:knot-resolver-latest.repo
zypper --no-gpg-checks refresh
zypper install -y knot-resolver
opensuse/leap
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