Commit graph

53 commits

Author SHA1 Message Date
Jakub Ružička
965f21b485 CI: add packaging tests using apkg
Tests in distro/pkg/deb/tests/ are symlinked into distro/tests/.

A single templated tests control file distro/tests/extra/all/control
is used to describe test deps on different platforms.

Run tests with:

    apkg test

See distro/tests/README.md for more info.

New CI pkg stage tests

    apkg install --build-dep
    apkg test --test-dep

on apkg CI images.

A single pkg:make-archive job creates archive shared in all pkg jobs.
2022-08-29 19:32:09 +02:00
Jakub Ružička
ca27b51314 distro/tests: share autopkgtests with Debian
Symlink distro/pkg/deb/tests to distro/tests to enable

    apkg test

shared with Debian autopkgtests.

Once per-distro changes are needed, the symlink needs to be replaced
with a directory with a custom control file, see apkg docs:

https://pkg.labs.nic.cz/pages/apkg/test/
2022-08-23 13:11:55 +02:00
Jakub Ružička
078c42c82e distro/tests: remove ansible/vagrant tests
in favor of shared autopkgtests using `apkg test`.
2022-08-23 13:11:48 +02:00
Tomas Krizek
7ff35526f6
distro/tests: use rocky8 instead of centos8 2022-03-07 10:33:55 +01:00
Tomas Krizek
391d4de4b8
distro/tests: add Rocky support 2022-03-07 10:32:31 +01:00
Daniel Salzman
9e66c45647 ci: remove no longer supported Debian 9 2022-02-15 16:05:29 +01:00
Josh Soref
43db89b880 spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-11-24 12:55:47 +01:00
Tomas Krizek
75dbfe765d
ci/distrotests: add new fedora,ubuntu 2021-11-08 18:39:56 +01:00
Tomas Krizek
fb5bd4bb6e
distro/test: update CA certificates for CentOS
On CentOS 7, the base image has an outdated LetsEncrypt certificate.
2021-10-04 13:48:41 +02:00
Tomas Krizek
c6158a9d80
distro/tests: add Debian 11 2021-08-26 13:31:18 +02:00
Tomas Krizek
f2ad804259
distro/tests: update fedora, ubuntu releases
fedora32 -> fedora34
ubuntu2010 -> ubuntu2104
remove ubuntu1604
2021-05-03 12:08:07 +02:00
Tomas Krizek
e8f5fa5c5a distro/tests: uncomment default listen configuration 2021-04-28 08:49:29 +02:00
Jakub Ružička
a0f0eb669e distro/tests: add tests for modules
Make sure knot can be restarted with module packages installed.
2021-01-14 18:11:41 +01:00
Tomas Krizek
6ec9d18056
distro/tests: update distributions
- update fedora to 33
- add ubunut:groovy
2020-10-30 17:14:14 +01:00
Tomas Krizek
a5e83d9d15
distro/tests: fix file permissions set by ansible
Ansible switched default file perm to 600 from more permissive 666.
Add file mode explicitly to avoid issues.
2020-08-17 14:20:54 +02:00
Daniel Salzman
dfdb69bb15 Update links to gitlab.nic.cz 2020-07-28 16:41:05 +02:00
Tomas Krizek
e15f47bf9e distro/tests: add centos 8 2020-05-20 15:30:10 +02:00
Tomas Krizek
a1c5925ccd distro/tests: update to ubuntu 20.04 2020-05-20 15:30:10 +02:00
Tomas Krizek
f965f576e8 distro/tests: update to f32 2020-05-20 15:30:10 +02:00
Tomas Krizek
2cbda4ff19
distro/tests: add ubuntu1910 2019-11-11 10:57:03 +01:00
Tomas Krizek
44030d32e8
distro/tests: use fedora31 2019-11-11 10:57:03 +01:00
Tomas Krizek
f0162462e0
distro/tests: use generic/opensuse15 box 2019-11-11 10:57:03 +01:00
Tomas Krizek
b8bc8b53fd
distro/tests: make ansible debug output readable 2019-11-11 10:57:03 +01:00
Daniel Salzman
9f7e1f27b7 distro/tests: remove files for openSUSE_Tumbleweed
'make dist' complained of "file name is too long (max 99)"
2019-10-07 14:10:45 +02:00
Tomas Krizek
e347e08f8c
distro/tests: use upstream leap15 box
Leap15 box was (allegedly temporarily) removed from vagrantcloud.
This is official upstream box generated by openSUSE that should be the
same as the one that used to be available on vagrantcloud.
2019-09-09 15:00:19 +02:00
Tomas Krizek
a66c860faf
ci: add distrotest:debian10 2019-07-18 17:12:48 +02:00
Tomas Krizek
dc66b1f360
distro/tests: refactor ansible playbook 2019-06-28 12:49:24 +02:00
Tomas Krizek
8340d86a44
distro/tests: support more OBS repos in test-distro.sh 2019-06-28 12:49:23 +02:00
Tomas Krizek
14502c4060
distro/tests: support test-distro.sh exec from any directory 2019-06-28 12:49:23 +02:00
Tomas Krizek
b081fa2220
distro/tests: adjust VM resources 2019-06-28 12:49:23 +02:00
Tomas Krizek
7942763a59
distro/tests: add new distros 2019-06-28 12:49:23 +02:00
Tomas Krizek
f28dd3f901
distro/tests: remove obsolete distros 2019-06-28 12:49:22 +02:00
Tomas Krizek
ae51598dd1
distro/tests: remove rolling release distros 2019-06-28 12:49:22 +02:00
Tomas Krizek
deb36cbcc0
distro/tests: fix fedora packaging tests 2019-02-28 15:56:00 +01:00
Tomas Krizek
d063aa711d
distro/tests: select corect Python interpreter for ansible 2019-01-07 16:24:05 +01:00
Tomas Krizek
b8d34f852d
distro/tests: script nitpicks 2019-01-07 16:24:04 +01:00
Tomas Krizek
3b66eb4c9a
distro/tests: switch fedora to generic boxes (more recent packages) 2019-01-07 16:24:04 +01:00
Tomas Krizek
176ea05f3b
distro/tests: turn off shell warning when using pkg manager commands 2019-01-07 16:24:04 +01:00
Tomas Krizek
974d3d6d61
distro/tests: don't wait for confirmation during vagrant destroy 2019-01-07 16:24:04 +01:00
Tomas Krizek
c5b2ad8306
distro/tests: remove Fedora27 2018-11-02 14:39:11 +01:00
Tomas Krizek
7f8118cedd
distro/tests: add Fedora29 2018-11-02 14:38:54 +01:00
Tomas Krizek
7d97307b91
distro/tests: fix openSUSE repo automation 2018-10-24 14:51:33 +02:00
Tomas Krizek
2d22f4d99b
distro/tests: add Ubuntu1810 2018-10-24 14:51:32 +02:00
Tomas Krizek
dcd4f80be6
distro/tests: add test for openSUSE Leap 15 2018-08-10 14:56:17 +02:00
Tomas Krizek
a549ab8f1b
distro/tests: add knot-dns-testing repo 2018-08-10 13:32:49 +02:00
Tomas Krizek
c988e0c4fb
distro/tests: add new distros 2018-06-29 14:29:29 +02:00
Tomas Krizek
354c12f92f
distro/tests: support different distro versions 2018-06-29 14:29:29 +02:00
Tomas Krizek
d66b271823
distro/tests: make tests compatible with openSUSE 2018-03-28 16:23:41 +02:00
Tomas Krizek
edf7fa2a8d
distro/tests: improve VM names to avoid collisions with knot-resolver 2018-03-28 16:23:41 +02:00
Tomas Krizek
3a7850d125
distro/tests: add openSUSE VM 2018-03-28 16:23:41 +02:00