]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
distro/tests: add debian11
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 19 Aug 2021 11:33:09 +0000 (13:33 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 30 Aug 2021 13:06:01 +0000 (15:06 +0200)
.gitlab-ci.yml
distro/tests/ansible-roles/obs_repos/vars/Debian_11.yaml [new symlink]
distro/tests/debian11/Vagrantfile [new file with mode: 0644]
distro/tests/debian11/ansible.cfg [new symlink]

index 4538c6acce5782e82f9bf1d98c1d854e9a9067f5..7bfbba572a8caabcfcc3c2547514ab2b31c6f4c3 100644 (file)
@@ -646,6 +646,13 @@ obs:debian10:x86_64:
     DISTROTEST_NAME: debian10
     DISTROTEST_REPO: Debian_10
 
+obs:debian11:x86_64:
+  <<: *distrotest
+  variables:
+    OBS_REPO: knot-resolver-latest
+    DISTROTEST_NAME: debian11
+    DISTROTEST_REPO: Debian_11
+
 obs:fedora33:x86_64:
   <<: *distrotest
   variables:
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 (symlink)
index 0000000..4babdf4
--- /dev/null
@@ -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 (file)
index 0000000..1ca31a6
--- /dev/null
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# -*- 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-resolver"  do |machine|
+        machine.vm.provision "ansible" do |ansible|
+            ansible.playbook = "../knot-resolver-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 (symlink)
index 0000000..f80698e
--- /dev/null
@@ -0,0 +1 @@
+../.ansible.cfg
\ No newline at end of file