]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
distro/tests: add Debian 11
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 19 Aug 2021 11:44:08 +0000 (13:44 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Tue, 31 Aug 2021 09:06:35 +0000 (11: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 e86f39efe3902d078ad024bba60a03707823cde1..a5378852d0d57718dee81a1b93829efaf147f9a3 100644 (file)
@@ -394,6 +394,12 @@ obs:debian10:x86_64:
     DISTROTEST_NAME: debian10
     DISTROTEST_REPO: Debian_10
 
+obs:debian11:x86_64:
+  <<: *distrotest
+  variables:
+    DISTROTEST_NAME: debian11
+    DISTROTEST_REPO: Debian_11
+
 obs:fedora34: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..ae6f7c3
--- /dev/null
@@ -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 (symlink)
index 0000000..f80698e
--- /dev/null
@@ -0,0 +1 @@
+../.ansible.cfg
\ No newline at end of file