telegraf/tools/package_incus_test
Joshua Powers 375caaa1d8
chore: Disable firewall during nightly package tests (#14652)
2024-01-30 10:25:15 -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: Disable firewall during nightly package tests (#14652) 2024-01-30 10:25:15 -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