BugzillaAutoLanding: Difference between revisions

Line 101: Line 101:
| [[BugzillaAutoLanding#HgPusher|Details]]  
| [[BugzillaAutoLanding#HgPusher|Details]]  
| Monday May 23rd
| Monday May 23rd
| Monday June 20th
| Friday June 10th
| style="background: none repeat scroll 0% 0% rgb(144, 238, 144);" | Yes
| style="background: none repeat scroll 0% 0% rgb(144, 238, 144);" | Yes
|-
|-
Line 114: Line 114:
| BugCommenter
| BugCommenter
| {{bug|#}}
| {{bug|#}}
| tbd
| Lukas
| [[BugzillaAutoLanding#BugCommenter|Details]]  
| [[BugzillaAutoLanding#BugCommenter|Details]]  
| tbd
| Monday June 13th
| tbd
| Friday June 24th
| style="background: none repeat scroll 0% 0% rgb(255, 255, 255);" | TBD
| style="background: none repeat scroll 0% 0% rgb(255, 255, 255);" | TBD
|-
|-
| AutolandDB
| AutolandDB
| {{bug|#}}
| {{bug|#}}
| tbd
| Marc
| [[BugzillaAutoLanding#AutolandDB|Details]]  
| [[BugzillaAutoLanding#AutolandDB|Details]]  
| tbd
| Monday May 23rd
| tbd
| Friday June 24th
| style="background: none repeat scroll 0% 0% rgb(255, 255, 255);" | TBD
| style="background: none repeat scroll 0% 0% rgb(255, 255, 255);" | TBD
|-
|-
| MessageQueue
| MessageQueue
| {{bug|#}}
| {{bug|#}}
| tbd
| Marc
| [[BugzillaAutoLanding#MessageQueue|Details]]  
| [[BugzillaAutoLanding#MessageQueue|Details]]  
| tbd
| Monday June 13th
| tbd
| Friday July 8th
| style="background: none repeat scroll 0% 0% rgb(255, 255, 255);" | TBD
| style="background: none repeat scroll 0% 0% rgb(255, 255, 255);" | TBD
|-
|-
Line 141: Line 141:
===HgPusher===
===HgPusher===
Accepts a branch, patch id(s) and can clone the branch, apply the patches and report back with results of push (success == revision or FAIL).  Also can handle special casing to do a backout on a branch.
Accepts a branch, patch id(s) and can clone the branch, apply the patches and report back with results of push (success == revision or FAIL).  Also can handle special casing to do a backout on a branch.
* Input(s): Bugzilla Messages, command line
* Output(s): BugCommenter, hg.mozilla.org, AutolandDB, stdout


===SchedulerDBPoller===
===SchedulerDBPoller===
Line 146: Line 148:
* if try syntax is present (and branch is try) check for a --post-to-bug flag and trigger BugCommenter if flag and bug number(s) are present
* if try syntax is present (and branch is try) check for a --post-to-bug flag and trigger BugCommenter if flag and bug number(s) are present
* run that revision against the AutolandDB to see if that revision was triggered by landing automation.  If yes, then PUT the results & trigger the BugCommenter otherwise ditch the completed revision
* run that revision against the AutolandDB to see if that revision was triggered by landing automation.  If yes, then PUT the results & trigger the BugCommenter otherwise ditch the completed revision
* Input(s): command line, AutolandDB
* Output(s): BugCommenter, stdout


===BugCommenter===
===BugCommenter===
* When called with a bug number and a comment, posts to the bug and returns the commentID as well as a result (SUCCESS/FAIL) -- should handle a few retries in case of network issues
When called with a bug number and a comment, posts to the bug and returns the commentID as well as a result (SUCCESS/FAIL) -- should handle a few retries in case of network issues -- write to a log file that is watched by Nagios?
* Input(s): HgPusher, SchedulerDBPoller
* Output(s): Bugzilla, stdout


===MessageQueue===
===MessageQueue===
'''To-Do''' - Read up on [http://www.rabbitmq.com/ RabbitMQ] and [http://en.wikipedia.org/wiki/Message_queue Message Queue]
'''To-Do''' - Read up on [http://www.rabbitmq.com/ RabbitMQ] and [http://en.wikipedia.org/wiki/Message_queue Message Queue]
* Listens to messages from BugzillaScraper (or Pulse Events?)
Listens to messages from BugzillaScraper (or Pulse Events?) broadcasts information to HgPusher, BugCommenter, AutolandDB
* Broadcasts information to HgPusher, BugCommenter, AutolandDB


===AutolandDB===
===AutolandDB===
Keep track of the state of an autoland-triggered push
Keep track of the state of an autoland-triggered push from start to finish.


=Notes=
=Notes=
Confirmed users
4,467

edits