A system for managing CI data for Mozilla projects
Перейти к файлу
Ed Morley 6fca7fe4ac Bug 1134916 - Fix tests that depend on jobs API response order
Tests that are not aimed at the jobs API should not be dependant on the
order of jobs returned by get_job_list().

* test_tbpl.py does not even need to use get_job_list() since the only
  accessed property is the job_id, which we are better off hard-coding.
* test_note_apy.py should use the job_id found earlier in the test,
  rather than hard-coding a wrong value.
* In test_bug_job_map_api.py, there is no ORDER BY clause for the stored
  get_bug_job_map_list query. The current test only happens to pass
  since the bug_job_map table currently uses the InnoDB engine, which
  default to the order of the primary key. Were our test environment and
  production bug_job_map tables to use different engines, the behaviour
  would silently change, so it seems wrong for the test to give the
  illusion of a guaranteed order. If in the future we wanted to give
  such a guarantee, we should add an ORDER BY to the
  get_bug_job_map_list query & update the test accordingly.
2015-02-23 13:38:38 +00:00
bin Bug 1123479 - add startup script for a prefork-based log parser 2015-02-02 12:45:29 +00:00
deployment Bug 1119479 - Fix update script and puppet manifest 2015-02-10 11:34:56 -08:00
docs Bug 1135117 - Minor tweaks to readthedocs vagrant setup for clarity 2015-02-20 12:04:36 -05:00
puppet Bug 1125530 - Remove the TREEHERDER_DATABASE_PORT pref 2015-02-14 21:38:26 +00:00
requirements Bug 1125585 - Update datasource to 2f09c9cc87 2015-02-18 15:46:41 +00:00
schemas Bug 1113281 - Add pulse messages when after cancel/retrigger r=maurodoglio 2015-02-19 13:49:11 -08:00
tests Bug 1134916 - Fix tests that depend on jobs API response order 2015-02-23 13:38:38 +00:00
treeherder Bug 1134916 - Make jobs API return jobs sorted by push_timestamp again 2015-02-20 18:56:14 +00:00
vendor Bug 1119479 - Remove South 2015-02-10 11:34:07 -08:00
.coveragerc added some test coverage exclusions 2013-04-30 14:37:49 -07:00
.gitignore Bug 1066266 - Add some stage/prod specific files to gitignore 2015-02-13 18:38:46 +00:00
.landscape.yaml Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
.travis.yml Bug 1119479 - Remove python 2.6 testing 2015-02-10 11:34:07 -08:00
LICENSE.txt add license file 2013-06-07 13:51:52 -04:00
README.md Update README link to treeherder-node after its move to the Mozilla org 2014-11-18 18:02:07 +00:00
Vagrantfile Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
manage.py Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
runtests.sh Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
setup.cfg Bug 1133362 - flake8: Add explanation for the duplicated config 2015-02-16 21:10:10 +00:00
setup.py Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00

README.md

treeherder-service

Build Status Code Health

Description

Treeherder is a reporting dashboard for Mozilla checkins. It allows users to see the results of automatic builds and their respective tests. Treeherder-service manages the etl layer for data ingestion, web services, and the data model behind Treeherder.

Treeherder is comprised of this repo for providing those back end services, and several other component repos:

A treeherder-ui repo for the front end UI.

A treeherder-client for data submission.

A treeherder-node NodeJS interface.

Instances

Treeherder exists on three instances, dev for treeherder development, stage for pre-deployment validation, and production for actual use.

Installation

The steps to install the treeherder-service are provided here.

Visit our project tracking Wiki at:
https://wiki.mozilla.org/Auto-tools/Projects/Treeherder

Visit our readthedocs page for other setup and configuration at:
https://treeherder-service.readthedocs.org/en/latest/index.html

File any bugs you may encounter here.