thoth-station / graph-refresh-job

A job for scheduling solver to resolve dependency graphs of new packages
GNU General Public License v3.0
1 stars 9 forks source link
artificial-intelligence hacktoberfest thoth

Thoth Graph Refresh Job

.. image:: https://img.shields.io/github/v/tag/thoth-station/graph-refresh-job?style=plastic :target: https://github.com/thoth-station/graph-refresh-job/tags :alt: GitHub tag (latest by date)

.. image:: https://quay.io/repository/thoth-station/graph-refresh-job/status :target: https://quay.io/repository/thoth-station/graph-refresh-job?tab=tags :alt: Quay - Build

A job for scheduling solver to resolve dependency graphs and package-analyzer to gather digests and ABI of new packages or packages not analyzed yet.

Running the job locally

You can run this job locally. Run a faust consumer and then run the faust producer with help of app.sh. The steps to run the consumer is well documented here - link <https://github.com/thoth-station/messaging/#development-and-testing>_. You can run the producer as - faust -A producer main

Notes on configuring producer.

The producer currently produces three types of messages i.e. solver, revsolver and unanalyzed-si messages. These can be disabled by passing the respective env variables -

Insights to graph-refresh job

The job is run periodically as OpenShift's CronJob. It can be also triggered automatically by Thoth's monitoring system when there is no workload happening in Thoth's middletier namespace.

.. note::

Packages which are not resolved yet might be coming from: