knot-dns/distro/tests
Tomas Krizek 6ec9d18056
distro/tests: update distributions
- update fedora to 33
- add ubunut:groovy
2020-10-30 17:14:14 +01:00
..
ansible-roles distro/tests: fix file permissions set by ansible 2020-08-17 14:20:54 +02:00
centos7 distro/tests: refactor ansible playbook 2019-06-28 12:49:24 +02:00
centos8 distro/tests: add centos 8 2020-05-20 15:30:10 +02:00
debian9 distro/tests: refactor ansible playbook 2019-06-28 12:49:24 +02:00
debian10 ci: add distrotest:debian10 2019-07-18 17:12:48 +02:00
fedora32 distro/tests: update to f32 2020-05-20 15:30:10 +02:00
fedora33 distro/tests: update distributions 2020-10-30 17:14:14 +01:00
leap15 distro/tests: use generic/opensuse15 box 2019-11-11 10:57:03 +01:00
ubuntu1604 distro/tests: refactor ansible playbook 2019-06-28 12:49:24 +02:00
ubuntu1804 distro/tests: refactor ansible playbook 2019-06-28 12:49:24 +02:00
ubuntu2004 distro/tests: update to ubuntu 20.04 2020-05-20 15:30:10 +02:00
ubuntu2010 distro/tests: update distributions 2020-10-30 17:14:14 +01:00
.ansible.cfg distro/tests: make ansible debug output readable 2019-11-11 10:57:03 +01:00
knot-dns-pkgtest.yaml distro/tests: refactor ansible playbook 2019-06-28 12:49:24 +02:00
README.md distro/tests: update to f32 2020-05-20 15:30:10 +02:00
repos.yaml packaging: tests - explicitly specify repository for testing 2018-03-19 20:30:44 +01:00
test-distro.sh distro/tests: support more OBS repos in test-distro.sh 2019-06-28 12:49:23 +02:00

Requirements

  • ansible
  • vagrant
  • libvirt (+vagrant-libvirt) / virtualbox

Usage

vagrant up command is configured to trigger ansible provisioning which configures OBS repository, installs the knot package, creates a zone and config file, starts the knot.service and attempts to resolve the entry from created zone file.

By default, the knot-dns-devel repo is used. To test the knot-dns-latest or knot-dns-testing repo, set it in repos.yaml (or use the test-distro.sh script which overwrites this file). If you're running tests in parallel, they all HAVE TO use the same repo.

Run the following command for every distro (aka directory with Vagrantfile):

./test-distro.sh knot-dns-devel debian9

or

./test-distro.sh knot-dns-testing debian9

or

./test-distro.sh knot-dns-latest debian9

At the end of the test, the package version that was tested is printed out. Make sure you're testing what you intended to.