telegraf/tools/package_lxd_test
Paweł Żak f7949ca68a
chore: Fix linter findings for errorlint (part1) (#12701)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:57:53 +01:00
..
README.md test: add nightly package testing to amd64/linux (#11377) 2022-06-29 07:15:56 -06:00
container.go chore: Fix linter findings for errorlint (part1) (#12701) 2023-02-22 12:57:53 +01:00
lxd.go chore: Fix linter findings for errorlint (part1) (#12701) 2023-02-22 12:57:53 +01:00
main.go chore: update package testing from f35 to f37 (#12548) 2023-01-25 07:42:10 -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