telegraf/tools/package_incus_test
Sven Rebhan df8920738d
chore: Fix nightly build (#16698)
2025-03-31 12:00:20 +01:00
..
README.md chore: Switch from lxd to incus (#14495) 2024-01-17 08:10:05 -07:00
container.go chore: Fix nightly build (#16698) 2025-03-31 12:00:20 +01:00
incus.go chore: Fix linter findings for `revive:unused-receiver` in `agent`, `cmd`, `config`, `internal`, `metric`, `migrations`, `models`, `testutils` and `tools` (#16340) 2025-01-15 20:58:58 +01:00
main.go test: Update fedora image for nightly test (#16675) 2025-03-21 15:43:16 +00: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