Auto-tools/Projects/Pulse/Exchanges: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
 
(29 intermediate revisions by 14 users not shown)
Line 1: Line 1:
This page is meant to be a list of exchanges available on <code>pulse.mozilla.org</code>. If exchanges you are publishing isn't listed here, please add them. Your description doesn't have to be long, this is just give an overview of which exchanges is available on pulse, so that people can build tools on top of them. If you have additional documentation available, this is also a good place to put a link.
This page is meant to be a list of exchanges available on <code>pulse.mozilla.org</code>. If exchanges you are publishing isn't listed here, please add them. Your description doesn't have to be long, this is just give an overview of which exchanges is available on pulse, so that people can build tools on top of them. If you have additional documentation available, this is also a good place to put a link.


'''Example entry'''
== Treeherder ==
 
=== New Result-Sets ===
;exchange(prod): [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Ftreeherder%2Fv1%2Fnew-result-set&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/treeherder/v1/new-result-set</code>]
;exchange(stage): [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Ftreeherder-stage%2Fv1%2Fnew-result-set&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/treeherder-stage/v1/new-result-set</code>]
;maintainer: mdoglio@mozilla.com
;description: Messages about new result-sets. These messages include the <code>revision_hash</code>, and can be used to add additional jobs to a treeherder result-set. The exchange for stage is operational as of writing.
 
=== Job Actions ===
;exchange(prod): [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Ftreeherder%2Fv1%2Fjob-actions&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/treeherder/v1/job-actions</code>]
;exchange(stage): [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Ftreeherder-stage%2Fv1%2Fjob-action&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/treeherder-stage/v1/job-actions</code>]
;maintainer: mdoglio@mozilla.com
;description: Messages about retrigger/cancel actions on jobs. Includes requester (an email address) and job_id/job_guid to fetch details about the job itself. The exchange for stage is operational as of writing.
 
=== Resultset Actions ===
;exchange(prod): [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Ftreeherder%2Fv1%2Fresultset-runnable-job-actions&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/treeherder/v1/resultset-runnable-job-actions</code>]
;exchange(stage): [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Ftreeherder-stage%2Fv1%2Fresultset-runnable-job-actions&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/treeherder-stage/v1/resultset-runnable-job-actions</code>]
;maintainer: mdoglio@mozilla.com
;description: Messages for a push (e.g. "add new jobs"). Sample:
 
NOTE: Beware, the following sample was copied from tc's pulse-inspector and I could not access to the raw value. I hand edited the structure.
<pre>
<pre>
== Notifications About Jonas' Lunch ==
{
;exchange: <code>exchange/jonasfj/lunch-notifications</code>
  u"requested_jobs": [u'0:desktop-test-linux64/opt-reftest-1', u'Windows 7 VM-GFX 32-bit try debug test mochitest-1'],
;maintainer: jonasfj@mozilla.com
  u"resultset_id": u"117941",
;description: Exchange where I publish JSON messages about my lunch every day.
  u"timestamp": 1471878682.08,
  u"project": u"try",
  u"version": 1,
  u"requester": "armenzg@mozilla.com",
  u"decisionTaskID": "OpXU-JkRRpW96DEgCoQo2g"
}
</pre>
</pre>
== Treeherder: New Result-Sets ==
;exchange: <code>exchange/treeherder/v1/new-result-set</code>
;maintainer: jonasfj@mozilla.com
;description: Messages about new result-sets. These messages include the <code>revision_hash</code>, and can be used to add additional jobs to a treeherder result-set. This exchange is not operational as of writing, but will be soon, see [https://bugzilla.mozilla.org/show_bug.cgi?id=1016117 bug 1016117] for details.


== Simple Bugzilla ==
== Simple Bugzilla ==
;exchange: <code>exchange/bugzilla/simple</code>
;exchange: [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Fbugzilla%2Fsimple&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/bugzilla/simple</code>]
;maintainer: mcote@mozilla.com
;maintainer: mcote@mozilla.com
;description: Notifications of Bugzilla bug updates.  See [[BMO/ChangeNotificationSystem]].
;description: Notifications of Bugzilla bug updates.  See [[BMO/ChangeNotificationSystem]].


== BuildBot ==
== hg.mozilla.org ==
;exchange: <code>exchange/build/</code>
;exchange: [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Fhgpushes%2Fv2&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/hgpushes/v2</code>]
;maintainer: catlee@mozilla.com
;maintainer: gps@Mozilla.com
;description: Notifications of builds and test runs.  See [[Auto-tools/Projects/Pulse#Consuming_buildbot_messages]].
;description: See [https://mozilla-version-control-tools.readthedocs.io/en/latest/hgmo/notifications.html v-c-t docs]
 
== TaskCluster ==
Taskcluster publishes events to pulse for just about everything that goes on.  For more details see the [https://docs.taskcluster.net/docs/reference Taskcluster Reference Docs].


== Normalized BuildBot ==
== Firefox Test Engineering ==
;exchange: <code>exchange/build/normalized</code>
;exchange: [https://tools.taskcluster.net/pulse-inspector?bindings%5B0%5D%5Bexchange%5D=exchange%2Ffxtesteng%2Fjobs&bindings%5B0%5D%5BroutingKeyPattern%5D=%23 <code>exchange/fxtesteng/jobs</code>]
;maintainer: jgriffin@mozilla.com
;maintainer: dhunt@mozilla.com
;description: See [[Auto-tools/Projects/Pulse#Consuming_buildbot_messages]].
;description: Treeherder consumable job information created from automated tests.

Latest revision as of 18:26, 10 May 2019

This page is meant to be a list of exchanges available on pulse.mozilla.org. If exchanges you are publishing isn't listed here, please add them. Your description doesn't have to be long, this is just give an overview of which exchanges is available on pulse, so that people can build tools on top of them. If you have additional documentation available, this is also a good place to put a link.

Treeherder

New Result-Sets

exchange(prod)
exchange/treeherder/v1/new-result-set
exchange(stage)
exchange/treeherder-stage/v1/new-result-set
maintainer
mdoglio@mozilla.com
description
Messages about new result-sets. These messages include the revision_hash, and can be used to add additional jobs to a treeherder result-set. The exchange for stage is operational as of writing.

Job Actions

exchange(prod)
exchange/treeherder/v1/job-actions
exchange(stage)
exchange/treeherder-stage/v1/job-actions
maintainer
mdoglio@mozilla.com
description
Messages about retrigger/cancel actions on jobs. Includes requester (an email address) and job_id/job_guid to fetch details about the job itself. The exchange for stage is operational as of writing.

Resultset Actions

exchange(prod)
exchange/treeherder/v1/resultset-runnable-job-actions
exchange(stage)
exchange/treeherder-stage/v1/resultset-runnable-job-actions
maintainer
mdoglio@mozilla.com
description
Messages for a push (e.g. "add new jobs"). Sample:

NOTE: Beware, the following sample was copied from tc's pulse-inspector and I could not access to the raw value. I hand edited the structure.

{
  u"requested_jobs": [u'0:desktop-test-linux64/opt-reftest-1', u'Windows 7 VM-GFX 32-bit try debug test mochitest-1'],
  u"resultset_id": u"117941",
  u"timestamp": 1471878682.08,
  u"project": u"try",
  u"version": 1,
  u"requester": "armenzg@mozilla.com",
  u"decisionTaskID": "OpXU-JkRRpW96DEgCoQo2g"
}

Simple Bugzilla

exchange
exchange/bugzilla/simple
maintainer
mcote@mozilla.com
description
Notifications of Bugzilla bug updates. See BMO/ChangeNotificationSystem.

hg.mozilla.org

exchange
exchange/hgpushes/v2
maintainer
gps@Mozilla.com
description
See v-c-t docs

TaskCluster

Taskcluster publishes events to pulse for just about everything that goes on. For more details see the Taskcluster Reference Docs.

Firefox Test Engineering

exchange
exchange/fxtesteng/jobs
maintainer
dhunt@mozilla.com
description
Treeherder consumable job information created from automated tests.