Script for performing Koji tasks periodically. The current available task
is to run regen-repo
on tags matching one or more globs.
- Clone the repository into
/usr/local/src/kojicron
. - Create
/etc/kojicron
. - Put
kojicron.conf
into/etc/kojicron/kojicron.conf
. Edit the parameters as desired. - Set up the
kojicron
user:- Create a
.pem
file (a concatenated cert+key) for the user, and put it into/etc/kojicron/kojicron.pem
, owned byroot:root
,0600
. - Create a
kojicron
user in Koji, authenticated by SSL. - Grant the
kojicron
userrepo
permission.
- Create a
- Copy
kojicron.service
andkojicron.timer
into/etc/systemd/system/
. Edit the files as desired. - Run:
systemctl daemon-reload
systemctl enable --now kojicron.timer