]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
distro/tests: add Ubuntu 18.10
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 24 Oct 2018 11:45:10 +0000 (13:45 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 2 Nov 2018 13:46:21 +0000 (14:46 +0100)
distro/tests/knot-resolver-test.yaml
distro/tests/ubuntu1810/Vagrantfile [new file with mode: 0644]

index 82c04bfd7d9b56b4ea106f1088e1e6461dec1d08..3c9267a53ade1aa81015f718e75b942213a10824 100644 (file)
@@ -49,7 +49,7 @@
       raw: |
         yum install -y python2 python2-dnf libselinux-python || \
         pacman -Sy python2 --noconfirm || \
-        apt-get install -y python || \
+        (apt-get update && apt-get install -y python) || \
         :
       ignore_errors: true
     - name: gather facts
diff --git a/distro/tests/ubuntu1810/Vagrantfile b/distro/tests/ubuntu1810/Vagrantfile
new file mode 100644 (file)
index 0000000..c763ea4
--- /dev/null
@@ -0,0 +1,16 @@
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+#
+
+Vagrant.configure(2) do |config|
+
+    config.vm.box = "generic/ubuntu1810"
+    config.vm.synced_folder ".", "/vagrant", disabled: true
+
+    config.vm.define "ubuntu1810_knot-resolver"  do |machine|
+        machine.vm.provision "ansible" do |ansible|
+            ansible.playbook = "../knot-resolver-test.yaml"
+        end
+    end
+
+end