check-compose is a simple script for running various informational checks
on a Fedora release or 'compose'. It will check for expected images that
are missing, compare the images in the compose to those in the 'previous'
compose (if it can), and check for openQA test jobs for the compose and
print some information on their status, if the system where the check is
running is correctly configured to talk to an openQA server. Two fedmsg
consumers that listen for 'compose complete' messages and run check-compose
on the new composes are also included, one for production, one for testing.
If openqa_client is not available, openQA job checking will not be done. If fedmsg is not available, you will not be able to use the fedmsg consumer.
Install the required external Python libraries, then run
python setup.py install. The fedmsg consumer config keys are
The test consumer listens for
prod messages and does not
validate signatures (so it will consume messages sent by
and does not send email regardless of what the
says; the report is printed to console, so if you run
fedmsg-hub at a
terminal you will see the report there, if you run it as a system service
it should appear in the system logs (under
fedmsg-hub service). The
production consumer listens for
prod messages and will respect the
check-compose configuration file settings (so it will send out emails
if you have
check-compose will read configuration from
~/.config/check-compose.conf (with the latter taking priority if both
check-compose.conf.sample for information on what you can
set there. These and other options can also be set with command line
arguments: arguments override config file settings, if passed.
check-compose is released under the GPL, version 3 or later. See
and the header of