OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # FIXME: Master name is deprecated. Remove it once all the bots have stopped | 5 # FIXME: Master name is deprecated. Remove it once all the bots have stopped |
6 # uploading with that name. | 6 # uploading with that name. |
7 # | 7 # |
8 # FIXME: The concept of groups is being deprecated. Once it's removed from | 8 # FIXME: The concept of groups is being deprecated. Once it's removed from |
9 # the flakiness dashboard, this whole map can go away. | 9 # the flakiness dashboard, this whole map can go away. |
10 _masters = { | 10 _masters = { |
(...skipping 16 matching lines...) Expand all Loading... |
27 'chromium.linux': { | 27 'chromium.linux': { |
28 'name': 'ChromiumLinux', | 28 'name': 'ChromiumLinux', |
29 'groups': ['@ToT Chromium'] | 29 'groups': ['@ToT Chromium'] |
30 }, | 30 }, |
31 'chromium.mac': { | 31 'chromium.mac': { |
32 'name': 'ChromiumMac', | 32 'name': 'ChromiumMac', |
33 'groups': ['@ToT Chromium'] | 33 'groups': ['@ToT Chromium'] |
34 }, | 34 }, |
35 'chromium.webkit': { | 35 'chromium.webkit': { |
36 'name': 'ChromiumWebkit', | 36 'name': 'ChromiumWebkit', |
37 'groups': ['@ToT Chromium'], | 37 'groups': ['@ToT Chromium', '@ToT Blink'], |
38 }, | 38 }, |
39 'chromium.win': { | 39 'chromium.win': { |
40 'name': 'ChromiumWin', | 40 'name': 'ChromiumWin', |
41 'groups': ['@ToT Chromium'] | 41 'groups': ['@ToT Chromium'] |
42 }, | 42 }, |
43 'tryserver.chromium.gpu': { | 43 'tryserver.chromium.gpu': { |
44 'name': 'GpuTryServer', | 44 'name': 'GpuTryServer', |
45 'groups': ['TryServers'] | 45 'groups': ['TryServers'] |
46 }, | 46 }, |
47 'client.v8': { | 47 'client.v8': { |
(...skipping 14 matching lines...) Expand all Loading... |
62 | 62 |
63 def getMasterByMasterName(master_name): | 63 def getMasterByMasterName(master_name): |
64 url_name = _master_name_to_url_name.get(master_name) | 64 url_name = _master_name_to_url_name.get(master_name) |
65 if url_name: | 65 if url_name: |
66 return getMaster(url_name) | 66 return getMaster(url_name) |
67 return None | 67 return None |
68 | 68 |
69 def getAllMasters(): | 69 def getAllMasters(): |
70 for master in _masters: | 70 for master in _masters: |
71 yield getMaster(master) | 71 yield getMaster(master) |
OLD | NEW |