OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 | 3 |
4 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
7 | 7 |
8 # This is the buildmaster config file for the 'chromium' bot. It must | 8 # This is the buildmaster config file for the 'chromium' bot. It must |
9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1777 exclusions = { } | 1777 exclusions = { } |
1778 forgiving_steps = ['update scripts', 'update', 'svnkill', 'taskkill', | 1778 forgiving_steps = ['update scripts', 'update', 'svnkill', 'taskkill', |
1779 'archived build', 'Start Crash Handler'] | 1779 'archived build', 'Start Crash Handler'] |
1780 c['status'].append(gatekeeper.GateKeeper( | 1780 c['status'].append(gatekeeper.GateKeeper( |
1781 fromaddr=ActiveMaster.from_address, | 1781 fromaddr=ActiveMaster.from_address, |
1782 categories_steps=categories_steps, | 1782 categories_steps=categories_steps, |
1783 exclusions=exclusions, | 1783 exclusions=exclusions, |
1784 relayhost=config.Master.smtp, | 1784 relayhost=config.Master.smtp, |
1785 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' | 1785 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' |
1786 'revision %(revision)s', | 1786 'revision %(revision)s', |
1787 extraRecipients=tuple(ActiveMaster.tree_closing_notification_recipients), | 1787 extraRecipients=ActiveMaster.tree_closing_notification_recipients, |
1788 lookup='google.com', | 1788 lookup='google.com', |
1789 forgiving_steps=forgiving_steps, | 1789 forgiving_steps=forgiving_steps, |
1790 tree_status_url=ActiveMaster.tree_status_url)) | 1790 tree_status_url=ActiveMaster.tree_status_url)) |
1791 | 1791 |
1792 if GOOD_REVISIONS: | 1792 if GOOD_REVISIONS: |
1793 import goodrevisions | 1793 import goodrevisions |
1794 # This is the list of builders with their respective list of critical steps | 1794 # This is the list of builders with their respective list of critical steps |
1795 # that all need to succeed to mark a revision as successful. A single failure | 1795 # that all need to succeed to mark a revision as successful. A single failure |
1796 # in any of the steps of any of the builders will mark the revision as failed. | 1796 # in any of the steps of any of the builders will mark the revision as failed. |
1797 good_revision_steps = { | 1797 good_revision_steps = { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1871 forgiving_steps = ['update scripts', 'update', 'svnkill', 'taskkill', | 1871 forgiving_steps = ['update scripts', 'update', 'svnkill', 'taskkill', |
1872 'archived build', 'Start Crash Handler'] | 1872 'archived build', 'Start Crash Handler'] |
1873 c['status'].append(chromium_notifier.ChromiumNotifier( | 1873 c['status'].append(chromium_notifier.ChromiumNotifier( |
1874 fromaddr=ActiveMaster.from_address, | 1874 fromaddr=ActiveMaster.from_address, |
1875 categories_steps=categories_steps, | 1875 categories_steps=categories_steps, |
1876 exclusions=exclusions, | 1876 exclusions=exclusions, |
1877 relayhost=config.Master.smtp, | 1877 relayhost=config.Master.smtp, |
1878 status_header='Perf alert on "%(builder)s":\n%(steps)s', | 1878 status_header='Perf alert on "%(builder)s":\n%(steps)s', |
1879 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' | 1879 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' |
1880 'revision %(revision)s', | 1880 'revision %(revision)s', |
1881 extraRecipients=tuple(['cmp@google.com']), | 1881 extraRecipients=['cmp@google.com'], |
1882 lookup='google.com', | 1882 lookup='google.com', |
1883 forgiving_steps=forgiving_steps)) | 1883 forgiving_steps=forgiving_steps)) |
1884 | 1884 |
1885 | 1885 |
1886 # Keep last build logs, the default is too low. | 1886 # Keep last build logs, the default is too low. |
1887 c['buildHorizon'] = 1000 | 1887 c['buildHorizon'] = 1000 |
1888 c['logHorizon'] = 500 | 1888 c['logHorizon'] = 500 |
1889 # Must be at least 2x the number of slaves. | 1889 # Must be at least 2x the number of slaves. |
1890 c['eventHorizon'] = 200 | 1890 c['eventHorizon'] = 200 |
1891 # Must be at least 1x the number of builds listed in console. | 1891 # Must be at least 1x the number of builds listed in console. |
(...skipping 30 matching lines...) Expand all Loading... |
1922 c['projectName'] = ActiveMaster.project_name | 1922 c['projectName'] = ActiveMaster.project_name |
1923 c['projectURL'] = config.Master.project_url | 1923 c['projectURL'] = config.Master.project_url |
1924 | 1924 |
1925 # the 'buildbotURL' string should point to the location where the buildbot's | 1925 # the 'buildbotURL' string should point to the location where the buildbot's |
1926 # internal web server (usually the html.Waterfall page) is visible. This | 1926 # internal web server (usually the html.Waterfall page) is visible. This |
1927 # typically uses the port number set in the Waterfall 'status' entry, but | 1927 # typically uses the port number set in the Waterfall 'status' entry, but |
1928 # with an externally-visible host name which the buildbot cannot figure out | 1928 # with an externally-visible host name which the buildbot cannot figure out |
1929 # without some help. | 1929 # without some help. |
1930 | 1930 |
1931 c['buildbotURL'] = 'http://build.chromium.org/buildbot/waterfall/' | 1931 c['buildbotURL'] = 'http://build.chromium.org/buildbot/waterfall/' |
OLD | NEW |