Updating to use the new graph server URL

Don't need to skip talos-rev2 machines any more

Support having per-branch email notification lists, and update TraceMonkey to not send to the dev-tree-management list any more.

--HG--
branch : 1.0
This commit is contained in:
Chris AtLee 2009-07-07 08:24:47 -04:00
Родитель b4de33edd0
Коммит de715138fa
3 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -1,6 +1,6 @@
[main] [main]
base_hg_url = http://hg.mozilla.org base_hg_url = http://hg.mozilla.org
base_graph_url = http://graphs-new.mozilla.org base_graph_url = http://graphs.mozilla.org
warning_history = warning_history.json warning_history = warning_history.json
pushdates = pushdates.json pushdates = pushdates.json
method = graphapi method = graphapi
@ -34,3 +34,4 @@ repo_path = releases/mozilla-1.9.1
[TraceMonkey] [TraceMonkey]
repo_path = tracemonkey repo_path = tracemonkey
regression_emails = catlee@mozilla.com, rsayre@mozilla.com

Просмотреть файл

@ -75,10 +75,6 @@ class GraphAPISource:
if "GFX" in test_name: if "GFX" in test_name:
continue continue
# Skip talos-rev2 slaves
if "talos-rev2" in machine_name:
continue
series = TestSeries(branch_id, branch_info['name'], series = TestSeries(branch_id, branch_info['name'],
os_id, os_info['name'], os_id, os_info['name'],
test_id, test_name) test_id, test_name)

Просмотреть файл

@ -323,8 +323,12 @@ class AnalysisRunner:
def emailWarning(self, series, d, state, last_good): def emailWarning(self, series, d, state, last_good):
addresses = [] addresses = []
if state == 'regression' and self.config.has_option('main', 'regression_emails'): if state == 'regression':
addresses.extend(self.config.get('main', 'regression_emails').split(",")) branch = series.branch_name
if self.config.has_option(branch, 'regression_emails'):
addresses.extend(self.config.get(branch, 'regression_emails').split(","))
elif self.config.has_option('main', 'regression_emails'):
addresses.extend(self.config.get('main', 'regression_emails').split(","))
if state == 'machine' and self.config.has_option('main', 'machine_emails'): if state == 'machine' and self.config.has_option('main', 'machine_emails'):
addresses.extend(self.config.get('main', 'machine_emails').split(",")) addresses.extend(self.config.get('main', 'machine_emails').split(","))