telegraf/tools/package_incus_test
Sven Rebhan a3bea89509
chore(internal): Handle ranges in type-conversion and add missing types (#14618)
2024-01-24 06:47:51 -07:00
..
README.md chore: Switch from lxd to incus (#14495) 2024-01-17 08:10:05 -07:00
container.go chore: Switch from lxd to incus (#14495) 2024-01-17 08:10:05 -07:00
incus.go chore: Switch from lxd to incus (#14495) 2024-01-17 08:10:05 -07:00
main.go chore: Switch from lxd to incus (#14495) 2024-01-17 08:10:05 -07:00

README.md

Test Package Files with LXD

Used to test the RPM and DEB packages using LXD across a variety of distributions.

The image will add the InfluxData repo, install Telegraf, and ensure the service is running. At that point the new package will get installed and ensure the service is still running.

Any issues or errors will cause the test to fail.

CLI

To test an RPM or DEB with a specific image:

./package-test-lxd --package telegraf_1.21.4-1_amd64.deb --image debian/bullseye

To test an RPM or a DEB with a whole set of images:

./package-test-lxd --package telegraf_1.21.4-1_amd64.deb