19 lines
829 B
ReStructuredText
19 lines
829 B
ReStructuredText
.. _current_implementation_badge_issuer_scripts:
|
|
|
|
Badge issuer scripts
|
|
====================
|
|
|
|
In addition to manually granting a badge in the web interface, and the messages consumer
|
|
granting badges, the third way badges are granted are by a collection of scripts that
|
|
live on the badges-backend01 server.
|
|
|
|
These scripts run periodically using cron, and are used for badges that aren't triggered
|
|
by an incoming message on the messaging bus.
|
|
|
|
A good example of this is the "lifecycle" badges, that award people for having a Fedora
|
|
Account for a period of time. There is no message sent when a Fedora Account turns a
|
|
certain age, so this is done using a script.
|
|
|
|
- Source repository:
|
|
https://pagure.io/fedora-infra/ansible/blob/main/f/roles/badges/backend/files/cron
|
|
- Production location: badges-backend01.iad2.fedoraproject.org
|