Testing packaging which targets multiple distributions?
I am working on creating deb/rpm packages for an OSS tool I use. So far, I have been manually testing each deb/rpm in a virtualbox live cd version of that OS but it's tedious to do that for every release. This is a GUI tool, I basically just need to confirm that the apt install goes correctly and the program can actually launch. There is a systemd service associated with it I'd also like to check the existence/status of. In the future, we may make a flatpak as well.
Are there any tools to automate this process? Or maybe if it can't test the GUI functionality it can at least install and take a screenshot and I can review the screenshot?
You are viewing a single comment
I think there would be a way to test it with docker, you could find a image that has systemd installed and use something like distrobox to test it with the GUI.
Docker doesn't like systemd for some reason, podman is the way in this case: https://developers.redhat.com/blog/2019/04/24/how-to-run-systemd-in-a-container#
Podman + distrobox might be the fastest way to get up and running.
https://github.com/89luca89/distrobox/blob/main/docs/useful_tips.md#using-init-system-inside-a-distrobox