Source code that parses pungi logs and opens issues against https://pagure.io/releng/failed-composes
  • Python 96.4%
  • Dockerfile 3.6%
Find a file
Anton Medvedev 18f6983dc5 fix: migration from Pagure to Forgejo changes
Signed-off-by: Anton Medvedev <amedvede@redhat.com>
2025-12-11 23:31:46 +01:00
.gitignore update .gitignore 2022-06-16 15:04:16 +02:00
compose-tracker.toml fix: migration from Pagure to Forgejo changes 2025-12-11 23:31:46 +01:00
compose_tracker.py fix: migration from Pagure to Forgejo changes 2025-12-11 23:31:46 +01:00
Dockerfile Update python lib path to 3.11 2023-05-23 15:27:21 +02:00
kedge.yaml fix: migration from Pagure to Forgejo changes 2025-12-11 23:31:46 +01:00
LICENSE Add licensing information 2019-06-03 14:54:24 -04:00
README.md fix: migration from Pagure to Forgejo changes 2025-12-11 23:31:46 +01:00
requirements-test.txt Add a tox config to make running tests more convenient 2023-04-22 12:03:20 -07:00
requirements.txt Add a tox config to make running tests more convenient 2023-04-22 12:03:20 -07:00
test_consumer.py fix: migration from Pagure to Forgejo changes 2025-12-11 23:31:46 +01:00
tox.ini Add a tox config to make running tests more convenient 2023-04-22 12:03:20 -07:00

compose-tracker

Source code that parses pungi logs and opens issues against https://forge.fedoraproject.org/releng/compose-tracker-tickets

Deploying in Fedora

The files for deploying to Fedora's OpenShift Instance are:

The steps for deploying are documented in Fedora Infrastructure SOP document.

This mostly boils down to:

[localhost]$ ssh batcave01.phx2.fedoraproject.org
[batcave01]$ sudo rbac-playbook openshift-apps/compose-tracker.yml

Rough notes for deployment to another OpenShift instance:

Create a new project and build the container.

oc new-project compose-tracker
oc new-build --strategy=docker https://forge.fedoraproject.org/releng/compose-tracker --to compose-tracker-img

Export pagure token to use as an env var and then use kedge to get up and running in openshift:

export FORGEJO_TOKEN=<pagure_token>
kedge apply -f kedge.yaml

Development Environment

The easiest way to run compose_tracker's tests on your local machine is to use tox: just ensure it's installed, and run tox. Alternatively, you can manually set up a virtual environment:

$ python3 -m venv .venv
$ source .venv/bin/activate
(.venv) $

Then you can install the dependencies using the requirements.txt file

(.venv) $ pip install -r requirements.txt -r requirements-test.txt

Finally you can run the tests

(.venv) $ py.test test_consumer.py -v