infra-docs-fpo/modules/sysadmin_guide/pages/simple_koji_ci.adoc
Michal Konečný d9f401815e Review simple_koji_ci SOP
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2021-09-10 14:59:18 +02:00

48 lines
1.3 KiB
Text

= simple-koji-ci
_simple-koji-ci_ is a small service running in our infra cloud that
listens for fedmsg messages coming from pagure on dist-git about new
pull-requests. It then creates a SRPM based on the content of each
pull-request, kicks off a scratch build in koji and reports the outcome
of that build on the pull-request.
== Contact Information
Owner::
Fedora Infrastructure Team
Contact::
#fedora-admin, #fedora-apps
Persons::
pingou
Location::
the cloud ☁
Servers::
* simple-koji-ci-dev.fedorainfracloud.org
* simple-koji-ci-prod.fedorainfracloud.org
Purpose::
Performs scratch builds for pull-request opened on dist-git
== Hosts
The current deployment is made in a single host:
* `simple-koji-ci-prod.fedorainfracloud.org` for prod
* `simple-koji-ci-dev.fedorainfracloud.org` for stagging
== Service
_simple-koji-ci_ is a fedmsg-based service, so it can be turned on or off
via the `fedmsg-hub` service.
It interacts with koji via a keytab created by the `keytab/service` role
in ansible.
The configuration of the service (including the weight of the builds
kicked off in koji) is located at `/etc/fedmsg.d/simple_koji_ci.py`.
One can monitor the service using: `journalctl -lfu fedmsg-hub`.
== Impact
This service is purely informative, nothing does nor should rely on it.
If anything goes wrong, there are no consequences for stopping it.