summaryrefslogtreecommitdiffstats
path: root/distro/tests
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2021-08-19 13:44:08 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2021-08-26 13:31:18 +0200
commitc6158a9d80af534b45571ddca8fd40d8f353b9fb (patch)
treed61ff2ac3578290e1700e05bfb4f9835a9dce808 /distro/tests
parentMerge branch 'master_serial_set' into 'master' (diff)
downloadknot-c6158a9d80af534b45571ddca8fd40d8f353b9fb.tar.xz
knot-c6158a9d80af534b45571ddca8fd40d8f353b9fb.zip
distro/tests: add Debian 11
Diffstat (limited to 'distro/tests')
l---------distro/tests/ansible-roles/obs_repos/vars/Debian_11.yaml1
-rw-r--r--distro/tests/debian11/Vagrantfile26
l---------distro/tests/debian11/ansible.cfg1
3 files changed, 28 insertions, 0 deletions
diff --git a/distro/tests/ansible-roles/obs_repos/vars/Debian_11.yaml b/distro/tests/ansible-roles/obs_repos/vars/Debian_11.yaml
new file mode 120000
index 000000000..4babdf4e3
--- /dev/null
+++ b/distro/tests/ansible-roles/obs_repos/vars/Debian_11.yaml
@@ -0,0 +1 @@
+Debian_10.yaml \ No newline at end of file
diff --git a/distro/tests/debian11/Vagrantfile b/distro/tests/debian11/Vagrantfile
new file mode 100644
index 000000000..ae6f7c3c3
--- /dev/null
+++ b/distro/tests/debian11/Vagrantfile
@@ -0,0 +1,26 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+#
+
+Vagrant.configure(2) do |config|
+
+ config.vm.box = "generic/debian11"
+ config.vm.synced_folder ".", "/vagrant", disabled: true
+
+ config.vm.define "debian11_knot-dns" do |machine|
+ machine.vm.provision "ansible" do |ansible|
+ ansible.playbook = "../knot-dns-pkgtest.yaml"
+ end
+ end
+
+ config.vm.provider :libvirt do |libvirt|
+ libvirt.cpus = 1
+ libvirt.memory = 1024
+ end
+
+ config.vm.provider :virtualbox do |vbox|
+ vbox.cpus = 1
+ vbox.memory = 1024
+ end
+
+end
diff --git a/distro/tests/debian11/ansible.cfg b/distro/tests/debian11/ansible.cfg
new file mode 120000
index 000000000..f80698e88
--- /dev/null
+++ b/distro/tests/debian11/ansible.cfg
@@ -0,0 +1 @@
+../.ansible.cfg \ No newline at end of file