Sheriffing/TBPL/ArchitectureAndDependencies: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "==Servers== * Tinderboxpushlog Server tbpl.mozilla.org * Tinderbox tinderbox.mozilla.org * Buildbot build.mozilla.org * Mercurial hg.mozilla.org * Mozilla FTP ftp.mozi...")
 
No edit summary
Line 1: Line 1:
==Modes==
# Traditional Tinderbox mode<br>Was used before bug 669000
# Transitory mode<br>Uses data from Buildbot or Tinderbox depending on usebuildbot=1 flag
# Future pure-Buildbot mode<br>Won't use data from Tinderbox any more. Not there yet.
==Servers==
==Servers==


* Tinderboxpushlog Server
* Tinderboxpushlog<br>tbpl.mozilla.org
  tbpl.mozilla.org
* Tinderbox<br>tinderbox.mozilla.org
* Tinderbox
* Buildbot<br>build.mozilla.org
  tinderbox.mozilla.org
* Mercurial<br>hg.mozilla.org
* Buildbot
* Mozilla FTP<br>ftp.mozilla.org
  build.mozilla.org
* Bugzilla API<br>api-dev.bugzilla.mozilla.org
* Mercurial
* War-on-orange elastic search database<br>elasticsearch1.metrics.sjc1.mozilla.com:9200<br>(only accessible from tbpl.mozilla.org)
  hg.mozilla.org
* Mozilla FTP
  ftp.mozilla.org
* Bugzilla
  bugzilla.mozilla.org
* War-on-orange elastic search database
  elasticsearch1.metrics.sjc1.mozilla.com
  (not publicly accessible, only from tbpl.mozilla.org)


And there's the client, i.e. the user's browser.
And there's the client, i.e. the user's browser.


==Modes==
==Dependencies==
 
===Inside the TBPL server===
 
# MongoDB needs to run
# TBPL PHP scripts need PHP 5.3 with access to MongoDB through MongoPHP driver
# TBPL Python script needs Python 2.6 with access to MongoDB through pymongo driver
 
===Between TBPL server and other servers===
 
tbpl.mozilla.org needs access to:
 
* tinderbox.mozilla.org
** from _/php/getTinderboxSummary.php_ to _/show_log.cgi_: build logs
** from _/leak-analysis/index.php_ to _/show_log.cgi_: build logs
* build.mozilla.org
** from _/dataimport/import-buildbot-data.py_ to _/builds/builds-...js.gz_: build data
* hg.mozilla.org
** from _/dataimport/import-buildbot-data.py_ to _/try/json-pushes?..._: pusher for revision
* ftp.mozilla.org
** from _/php/inc/RawGzLogDownloader.php_ to _/pub/mozilla.org/..._: build logs
* api-dev.bugzilla.mozilla.org
** from _/php/submitBugzillaComment.php_ to _/..._: automated commenting on starred orange bugs
* elasticsearch1.metrics.sjc1.mozilla.com:9200
** from _/php/starcomment.php_ to _/..._: Storing and retrieving build stars
 
===Between the client and other servers===


# Traditional Tinderbox mode
...
  Was used before bug 669000
# Transitory mode
  Uses data from Buildbot or Tinderbox depending on usebuildbot=1 flag
# Future pure-Buildbot mode
  Won't use data from Tinderbox any more. Not there yet.

Revision as of 16:48, 19 July 2011

Modes

  1. Traditional Tinderbox mode
    Was used before bug 669000
  2. Transitory mode
    Uses data from Buildbot or Tinderbox depending on usebuildbot=1 flag
  3. Future pure-Buildbot mode
    Won't use data from Tinderbox any more. Not there yet.

Servers

  • Tinderboxpushlog
    tbpl.mozilla.org
  • Tinderbox
    tinderbox.mozilla.org
  • Buildbot
    build.mozilla.org
  • Mercurial
    hg.mozilla.org
  • Mozilla FTP
    ftp.mozilla.org
  • Bugzilla API
    api-dev.bugzilla.mozilla.org
  • War-on-orange elastic search database
    elasticsearch1.metrics.sjc1.mozilla.com:9200
    (only accessible from tbpl.mozilla.org)

And there's the client, i.e. the user's browser.

Dependencies

Inside the TBPL server

  1. MongoDB needs to run
  2. TBPL PHP scripts need PHP 5.3 with access to MongoDB through MongoPHP driver
  3. TBPL Python script needs Python 2.6 with access to MongoDB through pymongo driver

Between TBPL server and other servers

tbpl.mozilla.org needs access to:

  • tinderbox.mozilla.org
    • from _/php/getTinderboxSummary.php_ to _/show_log.cgi_: build logs
    • from _/leak-analysis/index.php_ to _/show_log.cgi_: build logs
  • build.mozilla.org
    • from _/dataimport/import-buildbot-data.py_ to _/builds/builds-...js.gz_: build data
  • hg.mozilla.org
    • from _/dataimport/import-buildbot-data.py_ to _/try/json-pushes?..._: pusher for revision
  • ftp.mozilla.org
    • from _/php/inc/RawGzLogDownloader.php_ to _/pub/mozilla.org/..._: build logs
  • api-dev.bugzilla.mozilla.org
    • from _/php/submitBugzillaComment.php_ to _/..._: automated commenting on starred orange bugs
  • elasticsearch1.metrics.sjc1.mozilla.com:9200
    • from _/php/starcomment.php_ to _/..._: Storing and retrieving build stars

Between the client and other servers

...