summaryrefslogtreecommitdiffstats
path: root/distro/tests
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2019-06-20 12:27:16 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2019-06-28 12:49:23 +0200
commit7942763a59ee0bf46643ab0685ad24da1e8eaa22 (patch)
treeb133f40fc8f5fde22acab6741d8f8e0510d0901e /distro/tests
parentdistro/tests: remove obsolete distros (diff)
downloadknot-7942763a59ee0bf46643ab0685ad24da1e8eaa22.tar.xz
knot-7942763a59ee0bf46643ab0685ad24da1e8eaa22.zip
distro/tests: add new distros
Diffstat (limited to 'distro/tests')
-rw-r--r--distro/tests/fedora30/Vagrantfile19
-rw-r--r--distro/tests/ubuntu1904/Vagrantfile19
2 files changed, 38 insertions, 0 deletions
diff --git a/distro/tests/fedora30/Vagrantfile b/distro/tests/fedora30/Vagrantfile
new file mode 100644
index 000000000..4fe2b2a8b
--- /dev/null
+++ b/distro/tests/fedora30/Vagrantfile
@@ -0,0 +1,19 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+#
+
+Vagrant.configure(2) do |config|
+
+ config.vm.box = "fedora/30-cloud-base"
+ config.vm.synced_folder ".", "/vagrant", disabled: true
+
+ config.vm.define "fedora30_knot-dns" do |machine|
+ machine.vm.provision "ansible" do |ansible|
+ ansible.playbook = "../knot-dns-test.yaml"
+ ansible.extra_vars = {
+ ansible_python_interpreter: "/usr/bin/python3"
+ }
+ end
+ end
+
+end
diff --git a/distro/tests/ubuntu1904/Vagrantfile b/distro/tests/ubuntu1904/Vagrantfile
new file mode 100644
index 000000000..f762c4d45
--- /dev/null
+++ b/distro/tests/ubuntu1904/Vagrantfile
@@ -0,0 +1,19 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+#
+
+Vagrant.configure(2) do |config|
+
+ config.vm.box = "generic/ubuntu1904"
+ config.vm.synced_folder ".", "/vagrant", disabled: true
+
+ config.vm.define "ubuntu1904_knot-dns" do |machine|
+ machine.vm.provision "ansible" do |ansible|
+ ansible.playbook = "../knot-dns-test.yaml"
+ ansible.extra_vars = {
+ ansible_python_interpreter: "/usr/bin/python3"
+ }
+ end
+ end
+
+end