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

From MozillaWiki
Jump to navigation Jump to search
(adding partial documentation for the taskcluster-initiated pushlog pulse messages)
(Use grouping by endpoint)
Line 9: Line 9:
</pre>
</pre>


== Treeherder: New Result-Sets ==
== Treeherder ==
 
=== New Result-Sets ===
;exchange(prod): <code>exchange/treeherder/v1/new-result-set</code>
;exchange(prod): <code>exchange/treeherder/v1/new-result-set</code>
;exchange(stage): <code>exchange/treeherder-stage/v1/new-result-set</code>
;exchange(stage): <code>exchange/treeherder-stage/v1/new-result-set</code>
Line 15: Line 17:
;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.
;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.


== Treeherder: Job Actions ==
=== Job Actions ===
;exchange(prod): <code>exchange/treeherder/v1/job-actions</code>
;exchange(prod): <code>exchange/treeherder/v1/job-actions</code>
;exchange(stage): <code>exchange/treeherder-stage/v1/job-actions</code>
;exchange(stage): <code>exchange/treeherder-stage/v1/job-actions</code>
;maintainer: mdoglio@mozilla.com
;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.
;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.


== Pulse Test ==
== Pulse Test ==
Line 42: Line 43:
;description: See [[Auto-tools/Projects/Pulse#Consuming_Buildbot_messages]].
;description: See [[Auto-tools/Projects/Pulse#Consuming_Buildbot_messages]].


== TaskCluster Queue: Task Defined ==
== TaskCluster ==
=== Queue: Task Defined ===
;exchange: <code>exchange/taskcluster-queue/v1/task-defined</code>
;exchange: <code>exchange/taskcluster-queue/v1/task-defined</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of new task definitions, for details see [http://docs.taskcluster.net/queue/exchanges/#taskDefined official documentation]
;description: Notifications of new task definitions, for details see [http://docs.taskcluster.net/queue/exchanges/#taskDefined official documentation]


== TaskCluster Queue: Task Pending ==
=== Queue: Task Pending ===
;exchange: <code>exchange/taskcluster-queue/v1/task-pending</code>
;exchange: <code>exchange/taskcluster-queue/v1/task-pending</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of pending tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskPending official documentation]
;description: Notifications of pending tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskPending official documentation]


== TaskCluster Queue: Task Running ==
=== Queue: Task Running ===
;exchange: <code>exchange/taskcluster-queue/v1/task-running</code>
;exchange: <code>exchange/taskcluster-queue/v1/task-running</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of running tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskRunning official documentation]
;description: Notifications of running tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskRunning official documentation]


== TaskCluster Queue: Artifact Creation ==
=== Queue: Artifact Creation ===
;exchange: <code>exchange/taskcluster-queue/v1/artifact-created</code>
;exchange: <code>exchange/taskcluster-queue/v1/artifact-created</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of new artifacts, for details see [http://docs.taskcluster.net/queue/exchanges/#artifactCreated official documentation]
;description: Notifications of new artifacts, for details see [http://docs.taskcluster.net/queue/exchanges/#artifactCreated official documentation]


== TaskCluster Queue: Task Completed ==
=== Queue: Task Completed ===
;exchange: <code>exchange/taskcluster-queue/v1/task-completed</code>
;exchange: <code>exchange/taskcluster-queue/v1/task-completed</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of completed tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskCompleted official documentation]
;description: Notifications of completed tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskCompleted official documentation]


== TaskCluster Queue: Task Failed ==
=== Queue: Task Failed ===
;exchange: <code>exchange/taskcluster-queue/v1/task-failed</code>
;exchange: <code>exchange/taskcluster-queue/v1/task-failed</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of failed tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskFailed official documentation]
;description: Notifications of failed tasks, for details see [http://docs.taskcluster.net/queue/exchanges/#taskFailed official documentation]


== TaskCluster Queue: Task Exception ==
=== Queue: Task Exception ===
;exchange: <code>exchange/taskcluster-queue/v1/task-exception</code>
;exchange: <code>exchange/taskcluster-queue/v1/task-exception</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of tasks that could not run, for details see [http://docs.taskcluster.net/queue/exchanges/#taskException official documentation]
;description: Notifications of tasks that could not run, for details see [http://docs.taskcluster.net/queue/exchanges/#taskException official documentation]


== TaskCluster Scheduler: Task-Graph Running ==
=== Scheduler: Task-Graph Running ===
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-running</code>
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-running</code>
;maintainer: jonasfj@mozilla.com
;maintainer: jonasfj@mozilla.com
;description: Notifications of new task-graphs, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphRunning official documentation]
;description: Notifications of new task-graphs, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphRunning official documentation]


== TaskCluster Scheduler: Task-Graph Extended ==
=== Scheduler: Task-Graph Extended ===
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-extended
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-extended
</code>
</code>
Line 88: Line 90:
;description: Notifications of task-graph extensions, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphExtended official documentation]
;description: Notifications of task-graph extensions, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphExtended official documentation]


== TaskCluster Scheduler: Task-Graph Blocked ==
=== Scheduler: Task-Graph Blocked ===
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-blocked
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-blocked
</code>
</code>
Line 94: Line 96:
;description: Notifications of blocked task-graphs, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphBlocked official documentation]
;description: Notifications of blocked task-graphs, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphBlocked official documentation]


== TaskCluster Scheduler: Task-Graph Finished ==
=== Scheduler: Task-Graph Finished ===
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-finished  
;exchange: <code>exchange/taskcluster-scheduler/v1/task-graph-finished  
</code>
</code>
Line 100: Line 102:
;description: Notifications of finished task-graphs, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphFinished official documentation]
;description: Notifications of finished task-graphs, for details see [http://docs.taskcluster.net/scheduler/events/#taskGraphFinished official documentation]


== Taskcluster Mozilla: Push detected ==
=== Mozilla: Push detected ===
;exchange: <code>exchange/push</code>
;exchange: <code>exchange/push</code>
;maintainer: selena@mozilla.com (for now)
;maintainer: selena@mozilla.com (for now)
;description: Notifications of pushes detected by mozilla-taskcluster, still filling in details by reverse engineering
;description: Notifications of pushes detected by mozilla-taskcluster, still filling in details by reverse engineering

Revision as of 14:05, 14 August 2015

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.

Example entry

== Notifications About Jonas' Lunch ==
;exchange: <code>exchange/jonasfj/lunch-notifications</code>
;maintainer: jonasfj@mozilla.com
;description: Exchange where I publish JSON messages about my lunch every day.

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.

Pulse Test

exchange
exchange/pulse/test
maintainer
mcote@mozilla.com
description
A simple heartbeat message published every minute. This can be used to test if your client is working, although subscribing to any high-traffic exchange (e.g. BuildBot) would work as well. Note that this is currently broken (bug 1091042).

Simple Bugzilla

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

BuildBot

exchange
exchange/build/
maintainer
catlee@mozilla.com
description
Notifications of builds and test runs. See Auto-tools/Projects/Pulse#Consuming_Buildbot_messages.

Normalized BuildBot

exchange
exchange/build/normalized
maintainer
jgriffin@mozilla.com
description
See Auto-tools/Projects/Pulse#Consuming_Buildbot_messages.

TaskCluster

Queue: Task Defined

exchange
exchange/taskcluster-queue/v1/task-defined
maintainer
jonasfj@mozilla.com
description
Notifications of new task definitions, for details see official documentation

Queue: Task Pending

exchange
exchange/taskcluster-queue/v1/task-pending
maintainer
jonasfj@mozilla.com
description
Notifications of pending tasks, for details see official documentation

Queue: Task Running

exchange
exchange/taskcluster-queue/v1/task-running
maintainer
jonasfj@mozilla.com
description
Notifications of running tasks, for details see official documentation

Queue: Artifact Creation

exchange
exchange/taskcluster-queue/v1/artifact-created
maintainer
jonasfj@mozilla.com
description
Notifications of new artifacts, for details see official documentation

Queue: Task Completed

exchange
exchange/taskcluster-queue/v1/task-completed
maintainer
jonasfj@mozilla.com
description
Notifications of completed tasks, for details see official documentation

Queue: Task Failed

exchange
exchange/taskcluster-queue/v1/task-failed
maintainer
jonasfj@mozilla.com
description
Notifications of failed tasks, for details see official documentation

Queue: Task Exception

exchange
exchange/taskcluster-queue/v1/task-exception
maintainer
jonasfj@mozilla.com
description
Notifications of tasks that could not run, for details see official documentation

Scheduler: Task-Graph Running

exchange
exchange/taskcluster-scheduler/v1/task-graph-running
maintainer
jonasfj@mozilla.com
description
Notifications of new task-graphs, for details see official documentation

Scheduler: Task-Graph Extended

exchange
exchange/taskcluster-scheduler/v1/task-graph-extended

maintainer
jonasfj@mozilla.com
description
Notifications of task-graph extensions, for details see official documentation

Scheduler: Task-Graph Blocked

exchange
exchange/taskcluster-scheduler/v1/task-graph-blocked

maintainer
jonasfj@mozilla.com
description
Notifications of blocked task-graphs, for details see official documentation

Scheduler: Task-Graph Finished

exchange
exchange/taskcluster-scheduler/v1/task-graph-finished

maintainer
jonasfj@mozilla.com
description
Notifications of finished task-graphs, for details see official documentation

Mozilla: Push detected

exchange
exchange/push
maintainer
selena@mozilla.com (for now)
description
Notifications of pushes detected by mozilla-taskcluster, still filling in details by reverse engineering