Commit f4c75d2b authored by Tomas Krizek's avatar Tomas Krizek

distro/tests: add openSUSE tests

parent 9721becf
......@@ -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,13 +30,20 @@
wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/xUbuntu_{{ ansible_distribution_version }}/Release.key -O Release.key &&
apt-key add - < Release.key &&
apt-get update
openSUSE Tumbleweed: |
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/openSUSE_Tumbleweed/home:CZ-NIC:{{ item }}.repo &&
zypper --gpg-auto-import-keys refresh
openSUSE Leap: |
zypper addrepo https://download.opensuse.org/repositories/home:CZ-NIC:{{ item }}/openSUSE_Leap_15.0/home:CZ-NIC:{{ item }}.repo &&
zypper --gpg-auto-import-keys refresh
show_package_version:
Archlinux:
pacman -Qi knot-resolver | grep '^Version'
Fedora: |
rpm -qi knot-resolver | grep '^Version'
CentOS: |
Fedora: &pkg_version_rpm |
rpm -qi knot-resolver | grep '^Version'
CentOS: *pkg_version_rpm
openSUSE Leap: *pkg_version_rpm
openSUSE Tumbleweed: *pkg_version_rpm
Debian:
dpkg -s knot-resolver | grep '^Version'
Ubuntu: |
......@@ -49,6 +58,7 @@
raw: |
yum install -y python2 python2-dnf libselinux-python || \
pacman -Sy python2 --noconfirm || \
(zypper --gpg-auto-import-keys refresh && zypper install -y python) || \
(apt-get update && apt-get install -y python) || \
:
ignore_errors: true
......
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
Vagrant.configure(2) do |config|
config.vm.box = "opensuse/openSUSE-15.0-x86_64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "leap15_knot-resolver" do |machine|
machine.vm.provision "ansible" do |ansible|
ansible.playbook = "../knot-resolver-test.yaml"
end
end
end
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
Vagrant.configure(2) do |config|
config.vm.box = "opensuse/openSUSE-Tumbleweed-x86_64"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "tumbleweed_knot-resolver" do |machine|
machine.vm.provision "ansible" do |ansible|
ansible.playbook = "../knot-resolver-test.yaml"
end
end
end
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