mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-08 13:18:04 +08:00
Update documentation about messaging
This commit is contained in:
committed by
Nils Philippsen
parent
43f80e181c
commit
03831262e4
@@ -347,12 +347,12 @@ Message Topic
|
||||
The suffix for message topics concerning changes in module state is
|
||||
``module.state.change``. Currently, it is expected that these messages are sent
|
||||
from koji or ridad, i.e. the topic is prefixed with ``*.buildsys.`` or
|
||||
``*.ridad.``, respectively.
|
||||
``*.rida.``, respectively.
|
||||
|
||||
Message Body
|
||||
------------
|
||||
|
||||
The message body (``msg['msg']``) is a dictionary with these fields:
|
||||
The message body is a dictionary with these fields:
|
||||
|
||||
``state``
|
||||
~~~~~~~~~
|
||||
|
||||
@@ -212,8 +212,8 @@ class GenericBuilder:
|
||||
|
||||
The artifact_name parameter is used in koji add-pkg (and it's actually
|
||||
the only reason why we need to pass it). We don't really limit source
|
||||
types. The actual source is usually delivered as an SCM URL in
|
||||
fedmsg['msg']['scmurl'] (currently only SCM URLs work).
|
||||
types. The actual source is usually delivered as an SCM URL from
|
||||
fedmsg.
|
||||
|
||||
Example
|
||||
.build("bash", "git://someurl/bash#damn") #build from SCM URL
|
||||
|
||||
Reference in New Issue
Block a user