summaryrefslogtreecommitdiffstats
path: root/distro/tests
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2018-10-24 14:35:12 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2018-10-24 14:51:32 +0200
commit2d22f4d99bf685b57db1e62e65866e1d6222ceb9 (patch)
tree99795ef8bd9f7e8b9c0e3ff73194064c1f569b9d /distro/tests
parentdoc: remove invalid reference (diff)
downloadknot-2d22f4d99bf685b57db1e62e65866e1d6222ceb9.tar.xz
knot-2d22f4d99bf685b57db1e62e65866e1d6222ceb9.zip
distro/tests: add Ubuntu1810
Diffstat (limited to 'distro/tests')
-rw-r--r--distro/tests/knot-dns-test.yaml2
-rw-r--r--distro/tests/ubuntu1810/Vagrantfile16
2 files changed, 17 insertions, 1 deletions
diff --git a/distro/tests/knot-dns-test.yaml b/distro/tests/knot-dns-test.yaml
index 3c5077a3d..0b73e0ca9 100644
--- a/distro/tests/knot-dns-test.yaml
+++ b/distro/tests/knot-dns-test.yaml
@@ -57,7 +57,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
index 000000000..478417a3e
--- /dev/null
+++ b/distro/tests/ubuntu1810/Vagrantfile
@@ -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-dns" do |machine|
+ machine.vm.provision "ansible" do |ansible|
+ ansible.playbook = "../knot-dns-test.yaml"
+ end
+ end
+
+end