Source code that parses pungi logs and opens issues against

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]$ 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 --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 PAGURE_TOKEN=<pagure_token>
kedge apply -f kedge.yaml

Development Environment

To run compose_tracker's tests on your local machine you need to create a virtual environment

$ python -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

Finally you can run the tests

(.venv) $ py.test -v