diff options
author | Tomas Krizek <tomas.krizek@nic.cz> | 2018-10-24 14:35:12 +0200 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2018-10-24 14:51:32 +0200 |
commit | 2d22f4d99bf685b57db1e62e65866e1d6222ceb9 (patch) | |
tree | 99795ef8bd9f7e8b9c0e3ff73194064c1f569b9d /distro/tests | |
parent | doc: remove invalid reference (diff) | |
download | knot-2d22f4d99bf685b57db1e62e65866e1d6222ceb9.tar.xz knot-2d22f4d99bf685b57db1e62e65866e1d6222ceb9.zip |
distro/tests: add Ubuntu1810
Diffstat (limited to 'distro/tests')
-rw-r--r-- | distro/tests/knot-dns-test.yaml | 2 | ||||
-rw-r--r-- | distro/tests/ubuntu1810/Vagrantfile | 16 |
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 |