This is a task for taskotron. It runs the rpmgrill
tool on downloaded
packages and formats the results in YAML messages.
The rpmgrill
tool contains a number of plugins that each analyze some
different aspect of the built rpm. We perform one run of the tool, but report
multiple results back to resultsdb, one for each plugin.
While it can be run standalone, it is designed to be executed by the Taskotron.
Execute the following command as root (don't do this on a production machine!):
$ ansible-playbook tests.yml -e taskotron_item=<NVR>
and replace <NVR>
with a Koji build NVR.
For example:
$ ansible-playbook tests.yml -e taskotron_item=tlog-4-1.fc27
You can see the results in ./artifacts/
directory.
runtask --item tlog-4-1.fc27 --type koji_build task-rpmgrill/
Don't forget to use --ssh
or --libvirt
, otherwise you need to run this
as root (not recommended).