Commit d66b2718 authored by Tomas Krizek's avatar Tomas Krizek

distro/tests: make tests compatible with openSUSE

parent edf7fa2a
......@@ -11,6 +11,8 @@
Ubuntu: dnsutils
Fedora: bind-utils
CentOS: bind-utils
openSUSE Leap: bind-utils
openSUSE Tumbleweed: bind-utils
Archlinux: bind-tools
configure_obs_repo:
Fedora: |
......@@ -28,17 +30,23 @@
wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/xUbuntu_16.04/Release.key -O Release.key &&
apt-key add - < Release.key &&
apt-get update
openSUSE Tumbleweed: |
zypper addrepo --no-gpgcheck https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/openSUSE_Tumbleweed/home:CZ-NIC:{{ item }}.repo &&
zypper refresh
openSUSE Leap: |
zypper addrepo --no-gpgcheck https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/openSUSE_Leap_42.3/home:CZ-NIC:{{ item }}.repo &&
zypper refresh
show_package_version:
Archlinux:
pacman -Qi knot | grep '^Version'
Fedora: |
rpm -qi knot | grep '^Version'
CentOS: |
Fedora: &pkg_version_rpm |
rpm -qi knot | grep '^Version'
Debian:
dpkg -s knot | grep '^Version'
Ubuntu: |
CentOS: *pkg_version_rpm
openSUSE Leap: *pkg_version_rpm
openSUSE Tumbleweed: *pkg_version_rpm
Debian: &pkg_version_dpkg |
dpkg -s knot | grep '^Version'
Ubuntu: *pkg_version_dpkg
vars_files:
- repos.yaml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment