Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 4 # Copyright (c) 2012 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 # READ THIS: | 8 # READ THIS: |
| 9 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 9 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
| 10 | 10 |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 626 | 626 |
| 627 b_naclports_presubmit = { | 627 b_naclports_presubmit = { |
| 628 'name': 'naclports-presubmit', | 628 'name': 'naclports-presubmit', |
| 629 'slavebuilddir': 'naclports', | 629 'slavebuilddir': 'naclports', |
| 630 'factory': | 630 'factory': |
| 631 m_annotator.BaseFactory('run_presubmit', {'repo_name': 'naclports'}), | 631 m_annotator.BaseFactory('run_presubmit', {'repo_name': 'naclports'}), |
| 632 'slavenames': GetSlaveNames(['precise64']) | 632 'slavenames': GetSlaveNames(['precise64']) |
| 633 } | 633 } |
| 634 c['builders'].append(b_naclports_presubmit) | 634 c['builders'].append(b_naclports_presubmit) |
| 635 | 635 |
| 636 b_gyp_presubmit = { | |
| 637 'name': 'gyp-presubmit', | |
| 638 'slavebuilddir': 'gyp', | |
| 639 'factory': | |
| 640 m_annotator.BaseFactory('run_presubmit', {'repo_name': 'gyp'}), | |
| 641 'slavenames': GetSlaveNames(['precise64']) | |
| 642 } | |
| 643 c['builders'].append(b_gyp_presubmit) | |
| 644 | |
|
nodir
2015/06/12 17:11:12
Can't review this part
| |
| 645 # Set "root" build property to "native_client" in all nacl-* builders. | 636 # Set "root" build property to "native_client" in all nacl-* builders. |
|
Sam Clegg
2015/06/12 16:55:46
Update the comment.
bradn
2015/06/12 17:05:08
Done.
| |
| 646 for b in c['builders']: | 637 for b in c['builders']: |
| 647 if b['name'].startswith('nacl-'): | 638 if b['name'].startswith('nacl-'): |
| 648 b.setdefault('properties', {})['root'] = 'native_client' | 639 b.setdefault('properties', {})['root'] = 'native_client' |
| 640 else: | |
| 641 b.setdefault('properties', {})['root'] = 'src' | |
|
Sam Clegg
2015/06/12 16:55:46
How does this work on other waterfalls?
bradn
2015/06/12 17:05:08
Unclear, my impression is that for many others a r
nodir
2015/06/12 17:11:12
this part lgtm
nodir
2015/06/12 17:11:12
Other waterfalls use recipes. Recipes simply do no
| |
| 649 | 642 |
| 650 ####### BUILDSLAVES | 643 ####### BUILDSLAVES |
| 651 | 644 |
| 652 # The 'slaves' list defines the set of allowable buildslaves. List all the | 645 # The 'slaves' list defines the set of allowable buildslaves. List all the |
| 653 # slaves registered to a builder. Remove dupes. | 646 # slaves registered to a builder. Remove dupes. |
| 654 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], | 647 c['slaves'] = master_utils.AutoSetupSlaves(c['builders'], |
| 655 config.Master.GetBotPassword()) | 648 config.Master.GetBotPassword()) |
| 656 | 649 |
| 657 | 650 |
| 658 ####### SCHEDULERS | 651 ####### SCHEDULERS |
| 659 | 652 |
| 660 # Configure the Schedulers; | 653 # Configure the Schedulers; |
| 661 # Main Tryscheduler for the try queue. groups is defined in the loop above. | 654 # Main Tryscheduler for the try queue. groups is defined in the loop above. |
| 662 c['schedulers'] = [] | 655 c['schedulers'] = [] |
| 663 | 656 |
| 664 code_review_sites = { | 657 code_review_sites = { |
| 665 'nacl': ActiveMaster.code_review_site, | 658 'nacl': ActiveMaster.code_review_site, |
| 666 'nacl-toolchain': ActiveMaster.code_review_site, | 659 'nacl-toolchain': ActiveMaster.code_review_site, |
| 667 'gyp': ActiveMaster.code_review_site, | |
| 668 'naclports': ActiveMaster.code_review_site, | 660 'naclports': ActiveMaster.code_review_site, |
| 669 } | 661 } |
| 670 c['schedulers'].append(TryJobHTTP( | 662 c['schedulers'].append(TryJobHTTP( |
| 671 name='try_job_http', | 663 name='try_job_http', |
| 672 port=ActiveMaster.try_job_port, | 664 port=ActiveMaster.try_job_port, |
| 673 code_review_sites=code_review_sites, | 665 code_review_sites=code_review_sites, |
| 674 pools=pools)) | 666 pools=pools)) |
| 675 | 667 |
| 676 if ActiveMaster.svn_url: | 668 if ActiveMaster.svn_url: |
| 677 c['schedulers'].append(TryJobSubversion( | 669 c['schedulers'].append(TryJobSubversion( |
| 678 name='try_job_svn', | 670 name='try_job_svn', |
| 679 svn_url=ActiveMaster.svn_url, | 671 svn_url=ActiveMaster.svn_url, |
| 680 code_review_sites=code_review_sites, | 672 code_review_sites=code_review_sites, |
| 681 pools=pools)) | 673 pools=pools)) |
| 682 | 674 |
| 683 if LISTEN_TO_RIETVELD: | 675 if LISTEN_TO_RIETVELD: |
| 684 c['schedulers'].append(TryJobRietveld( | 676 c['schedulers'].append(TryJobRietveld( |
| 685 name='try_job_rietveld_nacl', | 677 name='try_job_rietveld_nacl', |
| 686 pools=pools, | 678 pools=pools, |
| 687 code_review_sites=code_review_sites, | 679 code_review_sites=code_review_sites, |
| 688 project='nacl', | 680 project='nacl', |
| 689 filter_master=True)) | 681 filter_master=True)) |
| 690 c['schedulers'].append(TryJobRietveld( | 682 c['schedulers'].append(TryJobRietveld( |
| 691 name='try_job_rietveld_gyp', | |
| 692 pools=pools, | |
| 693 code_review_sites=code_review_sites, | |
| 694 project='gyp', | |
| 695 filter_master=True)) | |
| 696 c['schedulers'].append(TryJobRietveld( | |
| 697 name='try_job_rietveld_naclports', | 683 name='try_job_rietveld_naclports', |
| 698 pools=pools, | 684 pools=pools, |
| 699 code_review_sites=code_review_sites, | 685 code_review_sites=code_review_sites, |
| 700 project='naclports', | 686 project='naclports', |
| 701 filter_master=True)) | 687 filter_master=True)) |
| 702 | 688 |
| 703 for mode in ['opt_panda', 'perf_panda']: | 689 for mode in ['opt_panda', 'perf_panda']: |
| 704 s = Triggerable( | 690 s = Triggerable( |
| 705 name='arm_%s_hw_tests' % mode, | 691 name='arm_%s_hw_tests' % mode, |
| 706 builderNames=['nacl-arm_hw_%s' % mode]) | 692 builderNames=['nacl-arm_hw_%s' % mode]) |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 754 c['eventHorizon'] = 100 | 740 c['eventHorizon'] = 100 |
| 755 # Must be at least 2x the number of on-going builds. | 741 # Must be at least 2x the number of on-going builds. |
| 756 c['buildCacheSize'] = 100 | 742 c['buildCacheSize'] = 100 |
| 757 | 743 |
| 758 | 744 |
| 759 ####### PROJECT IDENTITY | 745 ####### PROJECT IDENTITY |
| 760 | 746 |
| 761 # The 'projectURL' string will be used to provide a link | 747 # The 'projectURL' string will be used to provide a link |
| 762 # from buildbot HTML pages to your project's home page. | 748 # from buildbot HTML pages to your project's home page. |
| 763 c['projectURL'] = 'http://go/ChromeTryServer' | 749 c['projectURL'] = 'http://go/ChromeTryServer' |
| OLD | NEW |